Documentation ¶
Index ¶
- type FakeDynamicSharedInformerFactory
- func (d FakeDynamicSharedInformerFactory) ForResource(gvr schema.GroupVersionResource) informers.GenericInformer
- func (d FakeDynamicSharedInformerFactory) Start(stopCh <-chan struct{})
- func (d FakeDynamicSharedInformerFactory) WaitForCacheSync(stopCh <-chan struct{}) map[schema.GroupVersionResource]bool
- type FakeGenericInformer
- type FakeGenericLister
- type FakeNamespaceLister
- type FakeSharedIndexInformer
- func (s *FakeSharedIndexInformer) AddEventHandler(handler cache.ResourceEventHandler)
- func (s FakeSharedIndexInformer) AddEventHandlerWithResyncPeriod(handler cache.ResourceEventHandler, resyncPeriod time.Duration)
- func (s FakeSharedIndexInformer) AddIndexers(indexers cache.Indexers) error
- func (s FakeSharedIndexInformer) GetController() cache.Controller
- func (s FakeSharedIndexInformer) GetIndexer() cache.Indexer
- func (s FakeSharedIndexInformer) GetStore() cache.Store
- func (s FakeSharedIndexInformer) HasSynced() bool
- func (s FakeSharedIndexInformer) LastSyncResourceVersion() string
- func (s FakeSharedIndexInformer) Run(stopCh <-chan struct{})
- func (s FakeSharedIndexInformer) SetWatchErrorHandler(handler cache.WatchErrorHandler) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeDynamicSharedInformerFactory ¶
type FakeDynamicSharedInformerFactory struct {
}func NewFakeDynamicSharedInformerFactory ¶
func NewFakeDynamicSharedInformerFactory() *FakeDynamicSharedInformerFactory
func (FakeDynamicSharedInformerFactory) ForResource ¶
func (d FakeDynamicSharedInformerFactory) ForResource(gvr schema.GroupVersionResource) informers.GenericInformer
func (FakeDynamicSharedInformerFactory) Start ¶
func (d FakeDynamicSharedInformerFactory) Start(stopCh <-chan struct{})
func (FakeDynamicSharedInformerFactory) WaitForCacheSync ¶
func (d FakeDynamicSharedInformerFactory) WaitForCacheSync(stopCh <-chan struct{}) map[schema.GroupVersionResource]bool
type FakeGenericInformer ¶
type FakeGenericInformer struct { GenericLister *FakeGenericLister }
func NewFakeGenericInformer ¶
func NewFakeGenericInformer() *FakeGenericInformer
func (FakeGenericInformer) Informer ¶
func (s FakeGenericInformer) Informer() cache.SharedIndexInformer
func (FakeGenericInformer) Lister ¶
func (s FakeGenericInformer) Lister() cache.GenericLister
type FakeGenericLister ¶
type FakeGenericLister struct { ListErr error Objects []runtime.Object GetErr error Object runtime.Object NamespaceLister *FakeNamespaceLister }
func NewFakeGenericLister ¶
func NewFakeGenericLister() *FakeGenericLister
func (*FakeGenericLister) ByNamespace ¶
func (f *FakeGenericLister) ByNamespace(namespace string) cache.GenericNamespaceLister
ByNamespace will give you a GenericNamespaceLister for one namespace
type FakeNamespaceLister ¶
type FakeNamespaceLister struct { Namespace string ListErr error Objects []runtime.Object GetErr error Object runtime.Object }
GenericNamespaceLister is a lister skin on a generic Indexer
func NewFakeNamespaceLister ¶
func NewFakeNamespaceLister() *FakeNamespaceLister
type FakeSharedIndexInformer ¶
type FakeSharedIndexInformer struct {
}func NewFakeSharedIndexInformer ¶
func NewFakeSharedIndexInformer() *FakeSharedIndexInformer
func (*FakeSharedIndexInformer) AddEventHandler ¶
func (s *FakeSharedIndexInformer) AddEventHandler(handler cache.ResourceEventHandler)
func (FakeSharedIndexInformer) AddEventHandlerWithResyncPeriod ¶
func (s FakeSharedIndexInformer) AddEventHandlerWithResyncPeriod(handler cache.ResourceEventHandler, resyncPeriod time.Duration)
func (FakeSharedIndexInformer) AddIndexers ¶
func (s FakeSharedIndexInformer) AddIndexers(indexers cache.Indexers) error
func (FakeSharedIndexInformer) GetController ¶
func (s FakeSharedIndexInformer) GetController() cache.Controller
func (FakeSharedIndexInformer) GetIndexer ¶
func (s FakeSharedIndexInformer) GetIndexer() cache.Indexer
func (FakeSharedIndexInformer) GetStore ¶
func (s FakeSharedIndexInformer) GetStore() cache.Store
func (FakeSharedIndexInformer) HasSynced ¶
func (s FakeSharedIndexInformer) HasSynced() bool
func (FakeSharedIndexInformer) LastSyncResourceVersion ¶
func (s FakeSharedIndexInformer) LastSyncResourceVersion() string
func (FakeSharedIndexInformer) Run ¶
func (s FakeSharedIndexInformer) Run(stopCh <-chan struct{})
func (FakeSharedIndexInformer) SetWatchErrorHandler ¶
func (s FakeSharedIndexInformer) SetWatchErrorHandler(handler cache.WatchErrorHandler) error
Click to show internal directories.
Click to hide internal directories.