kubemanager

package
v0.26.0 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	OperatorName       = "KubeManager"
	ParamContainerName = "containername"
	ParamSelector      = "selector"
	ParamAllNamespaces = "all-namespaces"
	ParamPodName       = "podname"
	ParamNamespace     = "namespace"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Attacher

type Attacher interface {
	AttachContainer(container *containercollection.Container) error
	DetachContainer(*containercollection.Container) error
}

type KubeManager

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

func (*KubeManager) CanOperateOn

func (k *KubeManager) CanOperateOn(gadget gadgets.GadgetDesc) bool

func (*KubeManager) Close

func (k *KubeManager) Close() error

func (*KubeManager) Dependencies

func (k *KubeManager) Dependencies() []string

func (*KubeManager) Description

func (k *KubeManager) Description() string

func (*KubeManager) GlobalParamDescs

func (k *KubeManager) GlobalParamDescs() params.ParamDescs

func (*KubeManager) Init

func (k *KubeManager) Init(params *params.Params) error

func (*KubeManager) Instantiate

func (k *KubeManager) Instantiate(gadgetContext operators.GadgetContext, gadgetInstance any, params *params.Params) (operators.OperatorInstance, error)

func (*KubeManager) Name

func (k *KubeManager) Name() string

func (*KubeManager) ParamDescs

func (k *KubeManager) ParamDescs() params.ParamDescs

func (*KubeManager) SetGadgetTracerMgr

func (k *KubeManager) SetGadgetTracerMgr(g *gadgettracermanager.GadgetTracerManager)

type KubeManagerInstance

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

func (*KubeManagerInstance) EnrichEvent

func (m *KubeManagerInstance) EnrichEvent(ev any) error

func (*KubeManagerInstance) Name

func (m *KubeManagerInstance) Name() string

func (*KubeManagerInstance) PostGadgetRun

func (m *KubeManagerInstance) PostGadgetRun() error

func (*KubeManagerInstance) PreGadgetRun

func (m *KubeManagerInstance) PreGadgetRun() error

type MountNsMapSetter

type MountNsMapSetter interface {
	SetMountNsMap(*ebpf.Map)
}

Jump to

Keyboard shortcuts

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