fake

package
v2.14.7+incompatible Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SharedInformerFactory

type SharedInformerFactory struct {
	kubeinformers.SharedInformerFactory
}

func NewFakeSharedInformerFactory

func NewFakeSharedInformerFactory(kubeClient kubernetes.Interface, namespace string) *SharedInformerFactory

NewFakeSharedInformerFactory returns a new factory

func (*SharedInformerFactory) AddFakeClusterRoleBindingInformer

func (f *SharedInformerFactory) AddFakeClusterRoleBindingInformer(clusterRoleBindingIndexer cache.Indexer)

AddFakeClusterRoleBindingInformer adds a dummy informer that returns items from clusterRoleBindingIndexer

func (*SharedInformerFactory) AddFakeClusterRoleInformer

func (f *SharedInformerFactory) AddFakeClusterRoleInformer(clusterRoleIndexer cache.Indexer)

AddFakeClusterRoleInformer adds a dummy informer that returns items from clusterRoleIndexer

func (*SharedInformerFactory) AddFakeRoleBindingInformer

func (f *SharedInformerFactory) AddFakeRoleBindingInformer(roleBindingIndexer cache.Indexer)

AddFakeRoleBindingInformer adds a dummy informer that returns items from roleBindingIndexer

func (*SharedInformerFactory) AddFakeRoleInformer

func (f *SharedInformerFactory) AddFakeRoleInformer(roleIndexer cache.Indexer)

AddFakeRoleInformer adds a dummy informer that returns items from roleIndexer

Jump to

Keyboard shortcuts

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