v1alpha1

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: May 8, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

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

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.

Jump to

Keyboard shortcuts

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