Documentation ¶
Index ¶
- type RuleManagerClient
- type RuleManagerMock
- func (r *RuleManagerMock) ContainerCallback(_ containercollection.PubSubEvent)
- func (r *RuleManagerMock) HasApplicableRuleBindings(_, _ string) bool
- func (r *RuleManagerMock) HasFinalApplicationProfile(_ *v1.Pod) bool
- func (r *RuleManagerMock) IsContainerMonitored(_ string) bool
- func (r *RuleManagerMock) IsPodMonitored(_, _ string) bool
- func (r *RuleManagerMock) RegisterPeekFunc(_ func(mntns uint64) ([]string, error))
- func (r *RuleManagerMock) ReportEvent(_ utils.EventType, _ utils.K8sEvent)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RuleManagerClient ¶
type RuleManagerClient interface { ContainerCallback(notif containercollection.PubSubEvent) RegisterPeekFunc(peek func(mntns uint64) ([]string, error)) ReportEvent(eventType utils.EventType, event utils.K8sEvent) HasApplicableRuleBindings(namespace, name string) bool HasFinalApplicationProfile(pod *v1.Pod) bool IsContainerMonitored(k8sContainerID string) bool IsPodMonitored(namespace, pod string) bool }
type RuleManagerMock ¶
type RuleManagerMock struct { }
func CreateRuleManagerMock ¶
func CreateRuleManagerMock() *RuleManagerMock
func (*RuleManagerMock) ContainerCallback ¶
func (r *RuleManagerMock) ContainerCallback(_ containercollection.PubSubEvent)
func (*RuleManagerMock) HasApplicableRuleBindings ¶
func (r *RuleManagerMock) HasApplicableRuleBindings(_, _ string) bool
func (*RuleManagerMock) HasFinalApplicationProfile ¶
func (r *RuleManagerMock) HasFinalApplicationProfile(_ *v1.Pod) bool
func (*RuleManagerMock) IsContainerMonitored ¶
func (r *RuleManagerMock) IsContainerMonitored(_ string) bool
func (*RuleManagerMock) IsPodMonitored ¶
func (r *RuleManagerMock) IsPodMonitored(_, _ string) bool
func (*RuleManagerMock) RegisterPeekFunc ¶
func (r *RuleManagerMock) RegisterPeekFunc(_ func(mntns uint64) ([]string, error))
func (*RuleManagerMock) ReportEvent ¶ added in v0.2.145
func (r *RuleManagerMock) ReportEvent(_ utils.EventType, _ utils.K8sEvent)
Click to show internal directories.
Click to hide internal directories.