kubernetes

package
v0.5.19 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2019 License: Apache-2.0 Imports: 24 Imported by: 2

Documentation

Index

Constants

View Source
const CriRuntime = "/var/run/cri.sock"

Variables

This section is empty.

Functions

func FindPidsInNS

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

Types

type CRIContainerProcess added in v0.2.1

type CRIContainerProcess struct{}

func NewContainerProcess added in v0.2.1

func NewContainerProcess() (*CRIContainerProcess, error)

func (*CRIContainerProcess) GetContainerInfo added in v0.2.1

func (c *CRIContainerProcess) GetContainerInfo(maincontext context.Context, attachment *v1.DebugAttachment) (*platforms.ContainerInfo, error)

func (*CRIContainerProcess) GetContainerInfoKube added in v0.3.0

func (c *CRIContainerProcess) GetContainerInfoKube(maincontext context.Context, ka *k8models.KubeAttachment) (*platforms.ContainerInfo, error)

type CRIContainerProcessAlphaV1 added in v0.3.1

type CRIContainerProcessAlphaV1 struct{}

func NewCRIContainerProcessAlphaV1 added in v0.3.1

func NewCRIContainerProcessAlphaV1() (*CRIContainerProcessAlphaV1, error)

func (*CRIContainerProcessAlphaV1) GetContainerInfo added in v0.3.1

func (c *CRIContainerProcessAlphaV1) GetContainerInfo(maincontext context.Context, attachment *squashv1.DebugAttachment) (*platforms.ContainerInfo, error)

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)

Directories

Path Synopsis
Package runtime is a generated protocol buffer package.
Package runtime is a generated protocol buffer package.

Jump to

Keyboard shortcuts

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