kubernetes/staging/src/k8s.io/client-go/informers/factory.go

type SharedInformerOption

type sharedInformerFactory

// WithCustomResyncConfig sets a custom resync period for the specified informer types.
func WithCustomResyncConfig(resyncConfig map[v1.Object]time.Duration) SharedInformerOption {}

// WithTweakListOptions sets a custom filter on all listers of the configured SharedInformerFactory.
func WithTweakListOptions(tweakListOptions internalinterfaces.TweakListOptionsFunc) SharedInformerOption {}

// WithNamespace limits the SharedInformerFactory to the specified namespace.
func WithNamespace(namespace string) SharedInformerOption {}

// WithTransform sets a transform on all informers.
func WithTransform(transform cache.TransformFunc) SharedInformerOption {}

// NewSharedInformerFactory constructs a new instance of sharedInformerFactory for all namespaces.
func NewSharedInformerFactory(client kubernetes.Interface, defaultResync time.Duration) SharedInformerFactory {}

// NewFilteredSharedInformerFactory constructs a new instance of sharedInformerFactory.
// Listers obtained via this SharedInformerFactory will be subject to the same filters
// as specified here.
// Deprecated: Please use NewSharedInformerFactoryWithOptions instead
func NewFilteredSharedInformerFactory(client kubernetes.Interface, defaultResync time.Duration, namespace string, tweakListOptions internalinterfaces.TweakListOptionsFunc) SharedInformerFactory {}

// NewSharedInformerFactoryWithOptions constructs a new instance of a SharedInformerFactory with additional options.
func NewSharedInformerFactoryWithOptions(client kubernetes.Interface, defaultResync time.Duration, options ...SharedInformerOption) SharedInformerFactory {}

func (f *sharedInformerFactory) Start(stopCh <-chan struct{}

func (f *sharedInformerFactory) Shutdown() {}

func (f *sharedInformerFactory) WaitForCacheSync(stopCh <-chan struct{}

// InformerFor returns the SharedIndexInformer for obj using an internal
// client.
func (f *sharedInformerFactory) InformerFor(obj runtime.Object, newFunc internalinterfaces.NewInformerFunc) cache.SharedIndexInformer {}

type SharedInformerFactory

func (f *sharedInformerFactory) Admissionregistration() admissionregistration.Interface {}

func (f *sharedInformerFactory) Internal() apiserverinternal.Interface {}

func (f *sharedInformerFactory) Apps() apps.Interface {}

func (f *sharedInformerFactory) Autoscaling() autoscaling.Interface {}

func (f *sharedInformerFactory) Batch() batch.Interface {}

func (f *sharedInformerFactory) Certificates() certificates.Interface {}

func (f *sharedInformerFactory) Coordination() coordination.Interface {}

func (f *sharedInformerFactory) Core() core.Interface {}

func (f *sharedInformerFactory) Discovery() discovery.Interface {}

func (f *sharedInformerFactory) Events() events.Interface {}

func (f *sharedInformerFactory) Extensions() extensions.Interface {}

func (f *sharedInformerFactory) Flowcontrol() flowcontrol.Interface {}

func (f *sharedInformerFactory) Networking() networking.Interface {}

func (f *sharedInformerFactory) Node() node.Interface {}

func (f *sharedInformerFactory) Policy() policy.Interface {}

func (f *sharedInformerFactory) Rbac() rbac.Interface {}

func (f *sharedInformerFactory) Resource() resource.Interface {}

func (f *sharedInformerFactory) Scheduling() scheduling.Interface {}

func (f *sharedInformerFactory) Storage() storage.Interface {}

func (f *sharedInformerFactory) Storagemigration() storagemigration.Interface {}