kubernetes

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2017 License: Apache-2.0 Imports: 23 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindFirstProcess

func FindFirstProcess(pids []int) (int, error)

func FindPidsInNS

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

func NewContainer2Pid

func NewContainer2Pid() platforms.Container2Pid

Types

type CRIContainer2Pid

type CRIContainer2Pid struct {
}

func (*CRIContainer2Pid) GetPid

func (c *CRIContainer2Pid) GetPid(maincontext context.Context, attachmentname string) (int, 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, containername string) (*platforms.Container, error)

func (*KubeOperations) WatchService

func (s *KubeOperations) WatchService(ctx context.Context, servicename string) (<-chan platforms.Container, error)

type Selector

type Selector map[string]string

Jump to

Keyboard shortcuts

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