platforms

package
v0.3.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 8, 2018 License: Apache-2.0 Imports: 1 Imported by: 1

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

type ContainerInfo struct {
	Pids []int
	Name string
}

/ 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 interface{}) (*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.

Directories

Path Synopsis
alphav1
Package runtime is a generated protocol buffer package.
Package runtime is a generated protocol buffer package.
crd
crd/apis/squash/v1
+groupName=squash.solo.io
+groupName=squash.solo.io
crd/client/clientset/versioned
This package has the automatically generated clientset.
This package has the automatically generated clientset.
crd/client/clientset/versioned/fake
This package has the automatically generated fake clientset.
This package has the automatically generated fake clientset.
crd/client/clientset/versioned/scheme
This package contains the scheme of the automatically generated clientset.
This package contains the scheme of the automatically generated clientset.
crd/client/clientset/versioned/typed/squash/v1
This package has the automatically generated typed clients.
This package has the automatically generated typed clients.
crd/client/clientset/versioned/typed/squash/v1/fake
Package fake has the automatically generated clients.
Package fake has the automatically generated clients.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL