localmanager

package
v0.27.0 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2024 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

View Source
const (
	OperatorName         = "LocalManager"
	Runtimes             = "runtimes"
	ContainerName        = "containername"
	Host                 = "host"
	DockerSocketPath     = "docker-socketpath"
	ContainerdSocketPath = "containerd-socketpath"
	CrioSocketPath       = "crio-socketpath"
	PodmanSocketPath     = "podman-socketpath"
	ContainerdNamespace  = "containerd-namespace"
	RuntimeProtocol      = "runtime-protocol"
)

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 LocalManager

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

func (*LocalManager) CanOperateOn

func (l *LocalManager) CanOperateOn(gadget gadgets.GadgetDesc) bool

func (*LocalManager) Close

func (l *LocalManager) Close() error

func (*LocalManager) Dependencies

func (l *LocalManager) Dependencies() []string

func (*LocalManager) Description

func (l *LocalManager) Description() string

func (*LocalManager) GlobalParamDescs

func (l *LocalManager) GlobalParamDescs() params.ParamDescs

func (*LocalManager) GlobalParams added in v0.27.0

func (l *LocalManager) GlobalParams() api.Params

func (*LocalManager) Init

func (l *LocalManager) Init(operatorParams *params.Params) error

func (*LocalManager) InstanceParams added in v0.27.0

func (l *LocalManager) InstanceParams() api.Params

func (*LocalManager) Instantiate

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

func (*LocalManager) InstantiateDataOperator added in v0.27.0

func (l *LocalManager) InstantiateDataOperator(gadgetCtx operators.GadgetContext, paramValues api.ParamValues) (
	operators.DataOperatorInstance, error,
)

func (*LocalManager) Name

func (l *LocalManager) Name() string

func (*LocalManager) ParamDescs

func (l *LocalManager) ParamDescs() params.ParamDescs

func (*LocalManager) Priority added in v0.27.0

func (l *LocalManager) Priority() int

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