Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewGenericInformers ¶
func NewGenericInformers(startFn func(stopCh <-chan struct{}), informers ...GenericResourceInformer) genericInformers
Types ¶
type GenericInternalResourceInformerFunc ¶
type GenericInternalResourceInformerFunc func(resource schema.GroupVersionResource) (informers.GenericInformer, error)
genericInternalResourceInformerFunc will return an internal informer for any resource matching its group resource, instead of the external version. Only valid for use where the type is accessed via generic interfaces, such as the garbage collector with ObjectMeta.
func (GenericInternalResourceInformerFunc) ForResource ¶
func (fn GenericInternalResourceInformerFunc) ForResource(resource schema.GroupVersionResource) (informers.GenericInformer, error)
func (GenericInternalResourceInformerFunc) Start ¶
func (fn GenericInternalResourceInformerFunc) Start(stopCh <-chan struct{})
this is a temporary condition until we rewrite enough of generation to auto-conform to the required interface and no longer need the internal version shim
type GenericResourceInformer ¶
type GenericResourceInformer interface { ForResource(resource schema.GroupVersionResource) (informers.GenericInformer, error) Start(stopCh <-chan struct{}) }
type GenericResourceInformerFunc ¶
type GenericResourceInformerFunc func(resource schema.GroupVersionResource) (informers.GenericInformer, error)
genericResourceInformerFunc will handle a cast to a matching type
func (GenericResourceInformerFunc) ForResource ¶
func (fn GenericResourceInformerFunc) ForResource(resource schema.GroupVersionResource) (informers.GenericInformer, error)
func (GenericResourceInformerFunc) Start ¶
func (fn GenericResourceInformerFunc) Start(stopCh <-chan struct{})
this is a temporary condition until we rewrite enough of generation to auto-conform to the required interface and no longer need the internal version shim
Click to show internal directories.
Click to hide internal directories.