Documentation ¶
Index ¶
- type FakeInformers
- func (c *FakeInformers) FakeInformerFor(obj runtime.Object) (*controllertest.FakeInformer, error)
- func (c *FakeInformers) FakeInformerForKind(ctx context.Context, gvk schema.GroupVersionKind) (*controllertest.FakeInformer, error)
- func (c *FakeInformers) Get(ctx context.Context, key client.ObjectKey, obj client.Object, ...) error
- func (c *FakeInformers) GetInformer(ctx context.Context, obj client.Object) (cache.Informer, error)
- func (c *FakeInformers) GetInformerForKind(ctx context.Context, gvk schema.GroupVersionKind) (cache.Informer, error)
- func (c *FakeInformers) IndexField(ctx context.Context, obj client.Object, field string, ...) error
- func (c *FakeInformers) List(ctx context.Context, list client.ObjectList, opts ...client.ListOption) error
- func (c *FakeInformers) Start(ctx context.Context) error
- func (c *FakeInformers) WaitForCacheSync(ctx context.Context) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeInformers ¶
type FakeInformers struct { InformersByGVK map[schema.GroupVersionKind]toolscache.SharedIndexInformer Scheme *runtime.Scheme Error error Synced *bool }
FakeInformers is a fake implementation of Informers.
func (*FakeInformers) FakeInformerFor ¶
func (c *FakeInformers) FakeInformerFor(obj runtime.Object) (*controllertest.FakeInformer, error)
FakeInformerFor implements Informers.
func (*FakeInformers) FakeInformerForKind ¶
func (c *FakeInformers) FakeInformerForKind(ctx context.Context, gvk schema.GroupVersionKind) (*controllertest.FakeInformer, error)
FakeInformerForKind implements Informers.
func (*FakeInformers) Get ¶
func (c *FakeInformers) Get(ctx context.Context, key client.ObjectKey, obj client.Object, opts ...client.GetOption) error
Get implements Cache.
func (*FakeInformers) GetInformer ¶
GetInformer implements Informers.
func (*FakeInformers) GetInformerForKind ¶
func (c *FakeInformers) GetInformerForKind(ctx context.Context, gvk schema.GroupVersionKind) (cache.Informer, error)
GetInformerForKind implements Informers.
func (*FakeInformers) IndexField ¶
func (c *FakeInformers) IndexField(ctx context.Context, obj client.Object, field string, extractValue client.IndexerFunc) error
IndexField implements Cache.
func (*FakeInformers) List ¶
func (c *FakeInformers) List(ctx context.Context, list client.ObjectList, opts ...client.ListOption) error
List implements Cache.
func (*FakeInformers) Start ¶
func (c *FakeInformers) Start(ctx context.Context) error
Start implements Informers.
func (*FakeInformers) WaitForCacheSync ¶
func (c *FakeInformers) WaitForCacheSync(ctx context.Context) bool
WaitForCacheSync implements Informers.
Click to show internal directories.
Click to hide internal directories.