v1alpha1

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDocumentInformer

func NewDocumentInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer

NewDocumentInformer constructs a new informer for Document type. Always prefer using an informer factory to get a shared informer instead of getting an independent one. This reduces memory footprint and number of connections to the server.

func NewFilteredDocumentInformer

func NewFilteredDocumentInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) cache.SharedIndexInformer

NewFilteredDocumentInformer constructs a new informer for Document type. Always prefer using an informer factory to get a shared informer instead of getting an independent one. This reduces memory footprint and number of connections to the server.

func NewFilteredIndexInformer

func NewFilteredIndexInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) cache.SharedIndexInformer

NewFilteredIndexInformer constructs a new informer for Index type. Always prefer using an informer factory to get a shared informer instead of getting an independent one. This reduces memory footprint and number of connections to the server.

func NewIndexInformer

func NewIndexInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer

NewIndexInformer constructs a new informer for Index type. Always prefer using an informer factory to get a shared informer instead of getting an independent one. This reduces memory footprint and number of connections to the server.

Types

type DocumentInformer

type DocumentInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() v1alpha1.DocumentLister
}

DocumentInformer provides access to a shared informer and lister for Documents.

type IndexInformer

type IndexInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() v1alpha1.IndexLister
}

IndexInformer provides access to a shared informer and lister for Indexes.

type Interface

type Interface interface {
	// Documents returns a DocumentInformer.
	Documents() DocumentInformer
	// Indexes returns a IndexInformer.
	Indexes() IndexInformer
}

Interface provides access to all the informers in this group version.

func New

New returns a new Interface.

Jump to

Keyboard shortcuts

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