Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewSharedInformerFactory ¶
func NewSharedInformerFactory(mgr ctrl.Manager, defaultResync time.Duration) informers.SharedInformerFactory
NewSharedInformerFactory constructs a new instance of sharedInformerFactory for all namespaces.
func NewSharedInformerFactoryWithOptions ¶
func NewSharedInformerFactoryWithOptions(mgr ctrl.Manager, defaultResync time.Duration, options ...SharedInformerOption) informers.SharedInformerFactory
NewSharedInformerFactoryWithOptions constructs a new instance of a SharedInformerFactory with additional options.
Types ¶
type SharedInformerOption ¶
type SharedInformerOption func(*sharedInformerFactory) *sharedInformerFactory
SharedInformerOption defines the functional option type for SharedInformerFactory.
func WithCustomResyncConfig ¶
func WithCustomResyncConfig(resyncConfig map[v1.Object]time.Duration) SharedInformerOption
WithCustomResyncConfig sets a custom resync period for the specified informer types.
func WithNamespace ¶
func WithNamespace(namespace string) SharedInformerOption
WithNamespace limits the SharedInformerFactory to the specified namespace.
func WithTweakListOptions ¶
func WithTweakListOptions(tweakListOptions internalinterfaces.TweakListOptionsFunc) SharedInformerOption
WithTweakListOptions sets a custom filter on all listers of the configured SharedInformerFactory.
Click to show internal directories.
Click to hide internal directories.