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.
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.
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.
List(selector labels.Selector) (ret []*v1alpha1.Metric, err error)
// Get retrieves the Metric from the indexer for a given namespace and name.
Get(name string) (*v1alpha1.Metric, error)
MetricNamespaceListerExpansion
}
MetricNamespaceLister helps list and get Metrics.
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.
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.
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.
List(selector labels.Selector) (ret []*v1alpha1.PodAutoscaler, err error)
// Get retrieves the PodAutoscaler from the indexer for a given namespace and name.
Get(name string) (*v1alpha1.PodAutoscaler, error)
PodAutoscalerNamespaceListerExpansion
}
PodAutoscalerNamespaceLister helps list and get PodAutoscalers.
type PodAutoscalerNamespaceListerExpansion ¶
type PodAutoscalerNamespaceListerExpansion interface{}
PodAutoscalerNamespaceListerExpansion allows custom methods to be added to PodAutoscalerNamespaceLister.