Documentation
¶
Index ¶
Examples ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NewInformerFunc ¶
type NewInformerFunc func() cache.SharedIndexInformer
NewInformerFunc is a simple factory for creating a new informer
type SharedInformers ¶
type SharedInformers interface { // registered before, the given constructor function is called to construct the informer. InformerFor(runtime.Object, NewInformerFunc) cache.SharedIndexInformer WaitForCacheSync(context.Context) error Run(context.Context) error }
SharedInformers allows controllers to register informers that watch the Kubernetes API for changes in various API types and maintain a local cache of those objects.
func NewSharedInformers ¶
func NewSharedInformers() SharedInformers
NewSharedInformers creates an empty SharedInformers instance.
Click to show internal directories.
Click to hide internal directories.