Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Container ¶
type Container struct {
Name, Image, Node string
}
/ Minimal represntation of a container, containing only the data squash cares about - / The container's name, image and the node it runs on.
type Container2Pid ¶
type Container2Pid interface {
GetPid(context context.Context, attachment interface{}) (int, error)
}
/ Get the pid of a process that runs in the container. the pid should be in our pid namespace, / not in the container's namespace.
Click to show internal directories.
Click to hide internal directories.