v1alpha2

package
v0.8.3 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2021 License: Apache-2.0 Imports: 10 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFilteredNatsClusterInformer

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

NewFilteredNatsClusterInformer constructs a new informer for NatsCluster 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 NewFilteredNatsServiceRoleInformer

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

NewFilteredNatsServiceRoleInformer constructs a new informer for NatsServiceRole 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 NewNatsClusterInformer

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

NewNatsClusterInformer constructs a new informer for NatsCluster 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 NewNatsServiceRoleInformer

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

NewNatsServiceRoleInformer constructs a new informer for NatsServiceRole 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 {
	// NatsClusters returns a NatsClusterInformer.
	NatsClusters() NatsClusterInformer
	// NatsServiceRoles returns a NatsServiceRoleInformer.
	NatsServiceRoles() NatsServiceRoleInformer
}

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

func New

New returns a new Interface.

type NatsClusterInformer

type NatsClusterInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() v1alpha2.NatsClusterLister
}

NatsClusterInformer provides access to a shared informer and lister for NatsClusters.

type NatsServiceRoleInformer

type NatsServiceRoleInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() v1alpha2.NatsServiceRoleLister
}

NatsServiceRoleInformer provides access to a shared informer and lister for NatsServiceRoles.

Jump to

Keyboard shortcuts

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