Documentation
¶
Index ¶
- func NewFilteredNamespaceInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, ...) cache.SharedIndexInformer
- func NewFilteredRetentionPolicyInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, ...) cache.SharedIndexInformer
- func NewNamespaceInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, ...) cache.SharedIndexInformer
- func NewRetentionPolicyInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, ...) cache.SharedIndexInformer
- type Interface
- type NamespaceInformer
- type RetentionPolicyInformer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFilteredNamespaceInformer ¶
func NewFilteredNamespaceInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) cache.SharedIndexInformer
NewFilteredNamespaceInformer constructs a new informer for Namespace 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 NewFilteredRetentionPolicyInformer ¶
func NewFilteredRetentionPolicyInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) cache.SharedIndexInformer
NewFilteredRetentionPolicyInformer constructs a new informer for RetentionPolicy 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 NewNamespaceInformer ¶
func NewNamespaceInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer
NewNamespaceInformer constructs a new informer for Namespace 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 NewRetentionPolicyInformer ¶
func NewRetentionPolicyInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer
NewRetentionPolicyInformer constructs a new informer for RetentionPolicy 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 Interface ¶
type Interface interface { // Namespaces returns a NamespaceInformer. Namespaces() NamespaceInformer // RetentionPolicies returns a RetentionPolicyInformer. RetentionPolicies() RetentionPolicyInformer }
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.
type NamespaceInformer ¶
type NamespaceInformer interface { Informer() cache.SharedIndexInformer Lister() v1alpha1.NamespaceLister }
NamespaceInformer provides access to a shared informer and lister for Namespaces.
type RetentionPolicyInformer ¶
type RetentionPolicyInformer interface { Informer() cache.SharedIndexInformer Lister() v1alpha1.RetentionPolicyLister }
RetentionPolicyInformer provides access to a shared informer and lister for RetentionPolicies.