v1beta1

package
v0.17.1 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2020 License: Apache-2.0 Imports: 9 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFilteredPullSubscriptionInformer

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

NewFilteredPullSubscriptionInformer constructs a new informer for PullSubscription 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 NewFilteredTopicInformer

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

NewFilteredTopicInformer constructs a new informer for Topic 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 NewPullSubscriptionInformer

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

NewPullSubscriptionInformer constructs a new informer for PullSubscription 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 NewTopicInformer

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

NewTopicInformer constructs a new informer for Topic 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 {
	// PullSubscriptions returns a PullSubscriptionInformer.
	PullSubscriptions() PullSubscriptionInformer
	// Topics returns a TopicInformer.
	Topics() TopicInformer
}

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

func New

New returns a new Interface.

type PullSubscriptionInformer

type PullSubscriptionInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() v1beta1.PullSubscriptionLister
}

PullSubscriptionInformer provides access to a shared informer and lister for PullSubscriptions.

type TopicInformer

type TopicInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() v1beta1.TopicLister
}

TopicInformer provides access to a shared informer and lister for Topics.

Jump to

Keyboard shortcuts

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