kubernetes

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2018 License: Apache-2.0 Imports: 20 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindPidsInNS

func FindPidsInNS(inod uint64, ns string) ([]int, error)

func NewContainerProcess added in v0.2.1

func NewContainerProcess() platforms.ContainerProcess

Types

type CRIContainerProcess added in v0.2.1

type CRIContainerProcess struct {
}

func (*CRIContainerProcess) GetContainerInfo added in v0.2.1

func (c *CRIContainerProcess) GetContainerInfo(maincontext context.Context, attachment interface{}) (*platforms.ContainerInfo, error)

type KubeAttachment added in v0.2.0

type KubeAttachment struct {
	Namespace string `json:"namespace"`
	Pod       string `json:"pod"`
	Container string `json:"container"`
}

type KubeOperations

type KubeOperations struct {
	// contains filtered or unexported fields
}

func NewKubeOperations

func NewKubeOperations(ctx context.Context, config *rest.Config) (*KubeOperations, error)

func (*KubeOperations) Locate

func (s *KubeOperations) Locate(context context.Context, attachment interface{}) (interface{}, *platforms.Container, error)

Jump to

Keyboard shortcuts

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