Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Informer ¶
type Informer interface { // AddIndexers adds more indexers to this store. If you call this after you already have data // in the store, the results are undefined. AddIndexers(indexers cache.Indexers) error // GetIndexer returns the indexer used to watch and store this object. GetIndexer() cache.Indexer }
type Informers ¶
type Informers interface { // GetInformer fetches or constructs an informer for the given object that corresponds to a single // API kind and resource. GetInformer(ctx context.Context, obj any) (Informer, error) // GetInformerForKind is similar to GetInformer, except that it takes akind, instead // of the underlying object. GetInformerForKind(ctx context.Context, kind string) (Informer, error) }
Informers knows how to create or fetch informers for different kinds, and add indices to those informers. It's safe to call GetInformer from multiple threads.
Click to show internal directories.
Click to hide internal directories.