informertest

package
v0.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 4, 2018 License: Apache-2.0 Imports: 8 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

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(gvk schema.GroupVersionKind) (*controllertest.FakeInformer, error)

FakeInformerForKind implements Informers

func (*FakeInformers) Get

Get implements Cache

func (*FakeInformers) GetInformer

GetInformer implements Informers

func (*FakeInformers) GetInformerForKind

GetInformerForKind implements Informers

func (*FakeInformers) IndexField

func (c *FakeInformers) IndexField(obj runtime.Object, field string, extractValue client.IndexerFunc) error

IndexField implements Cache

func (*FakeInformers) List

func (c *FakeInformers) List(ctx context.Context, opts *client.ListOptions, list runtime.Object) error

List implements Cache

func (*FakeInformers) Start

func (c *FakeInformers) Start(stopCh <-chan struct{}) error

Start implements Informers

func (*FakeInformers) WaitForCacheSync

func (c *FakeInformers) WaitForCacheSync(stop <-chan struct{}) bool

WaitForCacheSync implements Informers

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL