Documentation ¶
Index ¶
- func NewDocumentInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, ...) cache.SharedIndexInformer
- func NewFilteredDocumentInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, ...) cache.SharedIndexInformer
- func NewFilteredIndexInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, ...) cache.SharedIndexInformer
- func NewIndexInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, ...) cache.SharedIndexInformer
- type DocumentInformer
- type IndexInformer
- type Interface
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 ¶
func New(f internalinterfaces.SharedInformerFactory, namespace string, tweakListOptions internalinterfaces.TweakListOptionsFunc) Interface
New returns a new Interface.