v1

package
v0.36.7 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2023 License: Apache-2.0 Imports: 10 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewBrokerInformer

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

NewBrokerInformer constructs a new informer for Broker 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 NewFilteredBrokerInformer

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

NewFilteredBrokerInformer constructs a new informer for Broker 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 NewFilteredTriggerInformer

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

NewFilteredTriggerInformer constructs a new informer for Trigger 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 NewTriggerInformer

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

NewTriggerInformer constructs a new informer for Trigger 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 BrokerInformer

type BrokerInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() v1.BrokerLister
}

BrokerInformer provides access to a shared informer and lister for Brokers.

type Interface

type Interface interface {
	// Brokers returns a BrokerInformer.
	Brokers() BrokerInformer
	// Triggers returns a TriggerInformer.
	Triggers() TriggerInformer
}

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

func New

New returns a new Interface.

type TriggerInformer

type TriggerInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() v1.TriggerLister
}

TriggerInformer provides access to a shared informer and lister for Triggers.

Jump to

Keyboard shortcuts

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