v1alpha2

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2019 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCustomMetricInformer

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

NewCustomMetricInformer constructs a new informer for CustomMetric 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 NewExternalMetricInformer

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

NewExternalMetricInformer constructs a new informer for ExternalMetric 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 NewFilteredCustomMetricInformer

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

NewFilteredCustomMetricInformer constructs a new informer for CustomMetric 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 NewFilteredExternalMetricInformer

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

NewFilteredExternalMetricInformer constructs a new informer for ExternalMetric 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 CustomMetricInformer

type CustomMetricInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() v1alpha2.CustomMetricLister
}

CustomMetricInformer provides access to a shared informer and lister for CustomMetrics.

type ExternalMetricInformer

type ExternalMetricInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() v1alpha2.ExternalMetricLister
}

ExternalMetricInformer provides access to a shared informer and lister for ExternalMetrics.

type Interface

type Interface interface {
	// CustomMetrics returns a CustomMetricInformer.
	CustomMetrics() CustomMetricInformer
	// ExternalMetrics returns a ExternalMetricInformer.
	ExternalMetrics() ExternalMetricInformer
}

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

func New

New returns a new Interface.

Jump to

Keyboard shortcuts

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