v1alpha1

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: May 8, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

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 NewFilteredWorkerPoolInformer added in v0.5.0

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

NewFilteredWorkerPoolInformer constructs a new informer for WorkerPool 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.

func NewWorkerPoolInformer added in v0.5.0

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

NewWorkerPoolInformer constructs a new informer for WorkerPool 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 {
	// Triggers returns a TriggerInformer.
	Triggers() TriggerInformer
	// WorkerPools returns a WorkerPoolInformer.
	WorkerPools() WorkerPoolInformer
}

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() v1alpha1.TriggerLister
}

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

type WorkerPoolInformer added in v0.5.0

type WorkerPoolInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() v1alpha1.WorkerPoolLister
}

WorkerPoolInformer provides access to a shared informer and lister for WorkerPools.

Jump to

Keyboard shortcuts

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