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 ContainerInfo ¶ added in v0.2.1
/ Runs in the squash client: / Information for the squash client to be able to connect debugger to the process
type ContainerLocator ¶
type ContainerLocator interface { /// Takes a platform specific attachment object, and returns an updated attachment object, and a Container object. /// The updated attachment object will eventually make its way to ContainerProcess.GetContainerInfo Locate(context context.Context, attachment interface{}) (interface{}, *Container, error) }
/ Get the container object from its attachment.
type ContainerProcess ¶ added in v0.2.1
type ContainerProcess interface { /// Take a platform specific attachment object and return the pid the host pid namespace of the process we want to debug. GetContainerInfo(context context.Context, attachment *v1.DebugAttachment) (*ContainerInfo, error) }
/ Get the information 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.