k8s

package
v0.26.0 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultRuntimeEndpoints = []string{
	"unix:///var/run/dockershim.sock",
	"unix:///var/run/cri-dockerd.sock",
	"unix:///run/crio/crio.sock",
	"unix:///run/containerd/containerd.sock",
}

Functions

This section is empty.

Types

type MetaData

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

func NewMetaData

func NewMetaData(criRuntimeEndpoint string) (*MetaData, error)

func (*MetaData) GetPodByContainer

func (m *MetaData) GetPodByContainer(c types.Container) types.Pod

func (*MetaData) GetPodByName

func (m *MetaData) GetPodByName(ctx context.Context, name, namespace string) (p types.Pod)

Jump to

Keyboard shortcuts

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