Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SkipNamespaceFunc ¶ added in v0.2.105
type WatchHandler ¶
type WatchHandler struct {
// contains filtered or unexported fields
}
func NewWatchHandler ¶
func NewWatchHandler(k8sClient k8sclient.K8sClientInterface, storageClient spdxv1beta1.SpdxV1beta1Interface, skipNamespaceFunc SkipNamespaceFunc) *WatchHandler
func (*WatchHandler) AddAdaptor ¶
func (wh *WatchHandler) AddAdaptor(adaptor watcher.Adaptor)
func (*WatchHandler) EnableDynamicNamespaceFiltering ¶ added in v0.3.244
func (wh *WatchHandler) EnableDynamicNamespaceFiltering()
EnableDynamicNamespaceFiltering retains metadata for excluded namespaces. Monitoring remains gated by Config; metadata must be ready when a namespace is included later, even if its existing pods never emit another update. Call before Start.
func (*WatchHandler) Start ¶
func (wh *WatchHandler) Start(ctx context.Context)
func (*WatchHandler) Stop ¶
func (wh *WatchHandler) Stop(_ context.Context)
Click to show internal directories.
Click to hide internal directories.