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 NewConfigInformer

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

NewConfigInformer constructs a new informer for Config 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 NewDataLimitInformer added in v0.5.0

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

NewDataLimitInformer constructs a new informer for DataLimit 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 NewFilteredConfigInformer

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

NewFilteredConfigInformer constructs a new informer for Config 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 NewFilteredDataLimitInformer added in v0.5.0

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

NewFilteredDataLimitInformer constructs a new informer for DataLimit 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 NewFilteredInstanceInformer

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

NewFilteredInstanceInformer constructs a new informer for Instance 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 NewFilteredRuleInformer

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

NewFilteredRuleInformer constructs a new informer for Rule 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 NewInstanceInformer

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

NewInstanceInformer constructs a new informer for Instance 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 NewRuleInformer

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

NewRuleInformer constructs a new informer for Rule 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 ConfigInformer

type ConfigInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() v1alpha1.ConfigLister
}

ConfigInformer provides access to a shared informer and lister for Configs.

type DataLimitInformer added in v0.5.0

type DataLimitInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() v1alpha1.DataLimitLister
}

DataLimitInformer provides access to a shared informer and lister for DataLimits.

type InstanceInformer

type InstanceInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() v1alpha1.InstanceLister
}

InstanceInformer provides access to a shared informer and lister for Instances.

type Interface

type Interface interface {
	// Configs returns a ConfigInformer.
	Configs() ConfigInformer
	// DataLimits returns a DataLimitInformer.
	DataLimits() DataLimitInformer
	// Instances returns a InstanceInformer.
	Instances() InstanceInformer
	// Rules returns a RuleInformer.
	Rules() RuleInformer
}

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

func New

New returns a new Interface.

type RuleInformer

type RuleInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() v1alpha1.RuleLister
}

RuleInformer provides access to a shared informer and lister for Rules.

Jump to

Keyboard shortcuts

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