podfind

package
v0.0.0-...-d8e83ae Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2018 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MissingCGroup = iota
	MalformedCGroup
	UnknownCGroup
	DockerCGroup
)

Variables

This section is empty.

Functions

func FindContainerIDByCGroup

func FindContainerIDByCGroup(pid int32) (string, int)

Types

type PodResolver

type PodResolver struct {
	Debug bool
	// contains filtered or unexported fields
}

func NewPodResolver

func NewPodResolver(runtimeEndPoint string, timeout time.Duration) (*PodResolver, error)

func (*PodResolver) FindPodByPID

func (pr *PodResolver) FindPodByPID(pid int32) (string, error)

func (*PodResolver) Update

func (pr *PodResolver) Update() error

Jump to

Keyboard shortcuts

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