v1alpha1

package
Version: v0.27.1 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2021 License: Apache-2.0 Imports: 4 Imported by: 10

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MetricLister added in v0.8.0

type MetricLister interface {
	// List lists all Metrics in the indexer.
	// Objects returned here must be treated as read-only.
	List(selector labels.Selector) (ret []*v1alpha1.Metric, err error)
	// Metrics returns an object that can list and get Metrics.
	Metrics(namespace string) MetricNamespaceLister
	MetricListerExpansion
}

MetricLister helps list Metrics. All objects returned here must be treated as read-only.

func NewMetricLister added in v0.8.0

func NewMetricLister(indexer cache.Indexer) MetricLister

NewMetricLister returns a new MetricLister.

type MetricListerExpansion added in v0.8.0

type MetricListerExpansion interface{}

MetricListerExpansion allows custom methods to be added to MetricLister.

type MetricNamespaceLister added in v0.8.0

type MetricNamespaceLister interface {
	// List lists all Metrics in the indexer for a given namespace.
	// Objects returned here must be treated as read-only.
	List(selector labels.Selector) (ret []*v1alpha1.Metric, err error)
	// Get retrieves the Metric from the indexer for a given namespace and name.
	// Objects returned here must be treated as read-only.
	Get(name string) (*v1alpha1.Metric, error)
	MetricNamespaceListerExpansion
}

MetricNamespaceLister helps list and get Metrics. All objects returned here must be treated as read-only.

type MetricNamespaceListerExpansion added in v0.8.0

type MetricNamespaceListerExpansion interface{}

MetricNamespaceListerExpansion allows custom methods to be added to MetricNamespaceLister.

type PodAutoscalerLister

type PodAutoscalerLister interface {
	// List lists all PodAutoscalers in the indexer.
	// Objects returned here must be treated as read-only.
	List(selector labels.Selector) (ret []*v1alpha1.PodAutoscaler, err error)
	// PodAutoscalers returns an object that can list and get PodAutoscalers.
	PodAutoscalers(namespace string) PodAutoscalerNamespaceLister
	PodAutoscalerListerExpansion
}

PodAutoscalerLister helps list PodAutoscalers. All objects returned here must be treated as read-only.

func NewPodAutoscalerLister

func NewPodAutoscalerLister(indexer cache.Indexer) PodAutoscalerLister

NewPodAutoscalerLister returns a new PodAutoscalerLister.

type PodAutoscalerListerExpansion

type PodAutoscalerListerExpansion interface{}

PodAutoscalerListerExpansion allows custom methods to be added to PodAutoscalerLister.

type PodAutoscalerNamespaceLister

type PodAutoscalerNamespaceLister interface {
	// List lists all PodAutoscalers in the indexer for a given namespace.
	// Objects returned here must be treated as read-only.
	List(selector labels.Selector) (ret []*v1alpha1.PodAutoscaler, err error)
	// Get retrieves the PodAutoscaler from the indexer for a given namespace and name.
	// Objects returned here must be treated as read-only.
	Get(name string) (*v1alpha1.PodAutoscaler, error)
	PodAutoscalerNamespaceListerExpansion
}

PodAutoscalerNamespaceLister helps list and get PodAutoscalers. All objects returned here must be treated as read-only.

type PodAutoscalerNamespaceListerExpansion

type PodAutoscalerNamespaceListerExpansion interface{}

PodAutoscalerNamespaceListerExpansion allows custom methods to be added to PodAutoscalerNamespaceLister.

Jump to

Keyboard shortcuts

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