Documentation ¶
Index ¶
- func NewFilteredNatsClusterInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, ...) cache.SharedIndexInformer
- func NewFilteredNatsServiceRoleInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, ...) cache.SharedIndexInformer
- func NewNatsClusterInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, ...) cache.SharedIndexInformer
- func NewNatsServiceRoleInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, ...) cache.SharedIndexInformer
- type Interface
- type NatsClusterInformer
- type NatsServiceRoleInformer
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 ¶
func New(f internalinterfaces.SharedInformerFactory, namespace string, tweakListOptions internalinterfaces.TweakListOptionsFunc) Interface
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.