v1alpha1

package
v0.41.0-beta.1 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFilteredPublisherInformer

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

NewFilteredPublisherInformer constructs a new informer for Publisher 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 NewFilteredSubscriberInformer

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

NewFilteredSubscriberInformer constructs a new informer for Subscriber 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 NewPublisherInformer

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

NewPublisherInformer constructs a new informer for Publisher 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 NewSubscriberInformer

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

NewSubscriberInformer constructs a new informer for Subscriber 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 {
	// Publishers returns a PublisherInformer.
	Publishers() PublisherInformer
	// Subscribers returns a SubscriberInformer.
	Subscribers() SubscriberInformer
}

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

func New

New returns a new Interface.

type PublisherInformer

type PublisherInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() v1alpha1.PublisherLister
}

PublisherInformer provides access to a shared informer and lister for Publishers.

type SubscriberInformer

type SubscriberInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() v1alpha1.SubscriberLister
}

SubscriberInformer provides access to a shared informer and lister for Subscribers.

Jump to

Keyboard shortcuts

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