Documentation ¶
Index ¶
- Constants
- type Attacher
- type LocalManager
- func (l *LocalManager) CanOperateOn(gadget gadgets.GadgetDesc) bool
- func (l *LocalManager) Close() error
- func (l *LocalManager) Dependencies() []string
- func (l *LocalManager) Description() string
- func (l *LocalManager) GlobalParamDescs() params.ParamDescs
- func (l *LocalManager) Init(operatorParams *params.Params) error
- func (l *LocalManager) Instantiate(gadgetContext operators.GadgetContext, gadgetInstance any, ...) (operators.OperatorInstance, error)
- func (l *LocalManager) Name() string
- func (l *LocalManager) ParamDescs() params.ParamDescs
- type MountNsMapSetter
Constants ¶
View Source
const ( OperatorName = "LocalManager" OperatorInstanceName = "LocalManagerTrace" Runtimes = "runtimes" ContainerName = "containername" Host = "host" DockerSocketPath = "docker-socketpath" ContainerdSocketPath = "containerd-socketpath" CrioSocketPath = "crio-socketpath" PodmanSocketPath = "podman-socketpath" ContainerdNamespace = "containerd-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 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) Instantiate ¶
func (l *LocalManager) Instantiate(gadgetContext operators.GadgetContext, gadgetInstance any, params *params.Params) (operators.OperatorInstance, error)
func (*LocalManager) Name ¶
func (l *LocalManager) Name() string
func (*LocalManager) ParamDescs ¶
func (l *LocalManager) ParamDescs() params.ParamDescs
type MountNsMapSetter ¶
Click to show internal directories.
Click to hide internal directories.