v1alpha1

package
v0.1.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCircuitBreakerInformer

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

NewCircuitBreakerInformer constructs a new informer for CircuitBreaker 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 NewFilteredCircuitBreakerInformer

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

NewFilteredCircuitBreakerInformer constructs a new informer for CircuitBreaker 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 NewFilteredManagerStateInformer

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

NewFilteredManagerStateInformer constructs a new informer for ManagerState 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 NewFilteredShardingConfigInformer

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

NewFilteredShardingConfigInformer constructs a new informer for ShardingConfig 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 NewManagerStateInformer

func NewManagerStateInformer(client versioned.Interface, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer

NewManagerStateInformer constructs a new informer for ManagerState 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 NewShardingConfigInformer

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

NewShardingConfigInformer constructs a new informer for ShardingConfig 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 CircuitBreakerInformer

type CircuitBreakerInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() v1alpha1.CircuitBreakerLister
}

CircuitBreakerInformer provides access to a shared informer and lister for CircuitBreakers.

type Interface

type Interface interface {
	// CircuitBreakers returns a CircuitBreakerInformer.
	CircuitBreakers() CircuitBreakerInformer
	// ManagerStates returns a ManagerStateInformer.
	ManagerStates() ManagerStateInformer
	// ShardingConfigs returns a ShardingConfigInformer.
	ShardingConfigs() ShardingConfigInformer
}

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

func New

New returns a new Interface.

type ManagerStateInformer

type ManagerStateInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() v1alpha1.ManagerStateLister
}

ManagerStateInformer provides access to a shared informer and lister for ManagerStates.

type ShardingConfigInformer

type ShardingConfigInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() v1alpha1.ShardingConfigLister
}

ShardingConfigInformer provides access to a shared informer and lister for ShardingConfigs.

Jump to

Keyboard shortcuts

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