v1alpha1

package
v1.6.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClusterThrottleInformer

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

NewClusterThrottleInformer constructs a new informer for ClusterThrottle 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 NewFilteredClusterThrottleInformer

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

NewFilteredClusterThrottleInformer constructs a new informer for ClusterThrottle 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 NewFilteredThrottleInformer

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

NewFilteredThrottleInformer constructs a new informer for Throttle 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 NewThrottleInformer

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

NewThrottleInformer constructs a new informer for Throttle 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 ClusterThrottleInformer

type ClusterThrottleInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() v1alpha1.ClusterThrottleLister
}

ClusterThrottleInformer provides access to a shared informer and lister for ClusterThrottles.

type Interface

type Interface interface {
	// ClusterThrottles returns a ClusterThrottleInformer.
	ClusterThrottles() ClusterThrottleInformer
	// Throttles returns a ThrottleInformer.
	Throttles() ThrottleInformer
}

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

func New

New returns a new Interface.

type ThrottleInformer

type ThrottleInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() v1alpha1.ThrottleLister
}

ThrottleInformer provides access to a shared informer and lister for Throttles.

Jump to

Keyboard shortcuts

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