docker

package
v0.0.0-...-e5c01c1 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ContainerList

type ContainerList map[ContainerPid]*ContainerMetadata

func GetContainerList

func GetContainerList() (ContainerList, error)

func (ContainerList) ContainerMetadata

func (cl ContainerList) ContainerMetadata(pid uint32) (*ContainerMetadata, error)

func (ContainerList) GetPodInfo

func (cl ContainerList) GetPodInfo(pid uint32) (podNamespace, podName, podHostName string)

func (ContainerList) PrintAll

func (cl ContainerList) PrintAll()

type ContainerMetadata

type ContainerMetadata struct {
	Pid          uint32
	PodNamespace string
	PodName      string
	HostName     string
}

type ContainerPid

type ContainerPid uint32

Jump to

Keyboard shortcuts

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