Documentation ¶
Index ¶
- Constants
- type Attacher
- type KubeManager
- func (k *KubeManager) CanOperateOn(gadget gadgets.GadgetDesc) bool
- func (k *KubeManager) Close() error
- func (k *KubeManager) Dependencies() []string
- func (k *KubeManager) Description() string
- func (k *KubeManager) GlobalParamDescs() params.ParamDescs
- func (k *KubeManager) Init(params *params.Params) error
- func (k *KubeManager) Instantiate(gadgetContext operators.GadgetContext, gadgetInstance any, ...) (operators.OperatorInstance, error)
- func (k *KubeManager) Name() string
- func (k *KubeManager) ParamDescs() params.ParamDescs
- func (k *KubeManager) SetGadgetTracerMgr(g *gadgettracermanager.GadgetTracerManager)
- type KubeManagerInstance
- type MountNsMapSetter
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) 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 ¶
Click to show internal directories.
Click to hide internal directories.