Documentation ¶
Index ¶
- Constants
- func NewBroadcasterWrapper() record.EventBroadcaster
- type EventNotifier
- type Manager
- func (appMgr *Manager) AddNamespace(namespace string, cfgMapSelector labels.Selector, resyncPeriod time.Duration) error
- func (appMgr *Manager) AddNamespaceLabelInformer(labelSelector labels.Selector, resyncPeriod time.Duration) error
- func (appMgr *Manager) GetAllWatchedNamespaces() []string
- func (appMgr *Manager) GetWatchedNamespacesLockless() []string
- func (appMgr *Manager) IsNodePort() bool
- func (appMgr *Manager) ProcessNodeUpdate(obj interface{}, err error)
- func (appMgr *Manager) Run(stopCh <-chan struct{})
- func (appMgr *Manager) UseNodeInternal() bool
- type NPLAnnoations
- type NPLAnnotation
- type NamespaceEventNotifier
- type NamespaceEventNotifierMap
- type NewBroadcasterFunc
- type Node
- type Params
- type ProcessedHostPath
- type ResourceMap
- type WatchedNamespaces
Constants ¶
View Source
const ( Namespaces = "namespaces" Services = "services" Endpoints = "endpoints" Secrets = "secrets" Configmaps = "configmaps" Ingresses = "ingresses" IngressClasses = "ingressclasses" )
Variables ¶
This section is empty.
Functions ¶
func NewBroadcasterWrapper ¶
func NewBroadcasterWrapper() record.EventBroadcaster
Types ¶
type EventNotifier ¶
type EventNotifier struct {
// contains filtered or unexported fields
}
func NewEventNotifier ¶
func NewEventNotifier(bfunc NewBroadcasterFunc) *EventNotifier
func (*EventNotifier) CreateNotifierForNamespace ¶
func (en *EventNotifier) CreateNotifierForNamespace( namespace string, coreIntf corev1.CoreV1Interface, ) *NamespaceEventNotifier
Create a notifier for a namespace, or return the existing one
func (*EventNotifier) DeleteNotifierForNamespace ¶
func (en *EventNotifier) DeleteNotifierForNamespace(namespace string)
func (*EventNotifier) GetNotifierForNamespace ¶
func (en *EventNotifier) GetNotifierForNamespace( namespace string, ) *NamespaceEventNotifier
Get the notifier for a namespace
type Manager ¶
type Manager struct { DynamicNS bool AgentCIS cisAgent.CISAgentInterface WatchedNS WatchedNamespaces K8sVersion string // contains filtered or unexported fields }
func NewManager ¶
func (*Manager) AddNamespace ¶
func (*Manager) AddNamespaceLabelInformer ¶
func (*Manager) GetAllWatchedNamespaces ¶
func (*Manager) GetWatchedNamespacesLockless ¶
func (*Manager) IsNodePort ¶
func (*Manager) ProcessNodeUpdate ¶
func (*Manager) UseNodeInternal ¶
type NPLAnnoations ¶
type NPLAnnoations []NPLAnnotation
type NPLAnnotation ¶
type NamespaceEventNotifier ¶
type NamespaceEventNotifier struct {
// contains filtered or unexported fields
}
func (*NamespaceEventNotifier) RecordEvent ¶
func (nen *NamespaceEventNotifier) RecordEvent( obj runtime.Object, eventType, reason, message string, )
type NamespaceEventNotifierMap ¶
type NamespaceEventNotifierMap map[string]*NamespaceEventNotifier
type NewBroadcasterFunc ¶
type NewBroadcasterFunc func() record.EventBroadcaster
type ProcessedHostPath ¶
type ResourceMap ¶
type ResourceMap map[int32][]*ResourceConfig
type WatchedNamespaces ¶
Click to show internal directories.
Click to hide internal directories.