dynamicwatcher

package
v0.3.244 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 25, 2026 License: Apache-2.0 Imports: 18 Imported by: 1

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 SkipNamespaceFunc func(string) bool

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL