v1

package
Version: v0.28.0 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewChannelInformer

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

NewChannelInformer constructs a new informer for Channel 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 NewFilteredChannelInformer

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

NewFilteredChannelInformer constructs a new informer for Channel 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 NewFilteredInMemoryChannelInformer

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

NewFilteredInMemoryChannelInformer constructs a new informer for InMemoryChannel 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 NewFilteredSubscriptionInformer

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

NewFilteredSubscriptionInformer constructs a new informer for Subscription 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 NewInMemoryChannelInformer

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

NewInMemoryChannelInformer constructs a new informer for InMemoryChannel 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 NewSubscriptionInformer

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

NewSubscriptionInformer constructs a new informer for Subscription 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 ChannelInformer

type ChannelInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() v1.ChannelLister
}

ChannelInformer provides access to a shared informer and lister for Channels.

type InMemoryChannelInformer

type InMemoryChannelInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() v1.InMemoryChannelLister
}

InMemoryChannelInformer provides access to a shared informer and lister for InMemoryChannels.

type Interface

type Interface interface {
	// Channels returns a ChannelInformer.
	Channels() ChannelInformer
	// InMemoryChannels returns a InMemoryChannelInformer.
	InMemoryChannels() InMemoryChannelInformer
	// Subscriptions returns a SubscriptionInformer.
	Subscriptions() SubscriptionInformer
}

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

func New

New returns a new Interface.

type SubscriptionInformer

type SubscriptionInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() v1.SubscriptionLister
}

SubscriptionInformer provides access to a shared informer and lister for Subscriptions.

Jump to

Keyboard shortcuts

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