Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewHorizontalPodAutoscalerLister ¶
func NewHorizontalPodAutoscalerLister(indexer cache.Indexer) listersautoscalingv2beta2.HorizontalPodAutoscalerLister
NewHorizontalPodAutoscalerLister returns a new HorizontalPodAutoscalerLister. We assume that the indexer: - is fed by a cross-workspace LIST+WATCH - uses kcpcache.MetaClusterNamespaceKeyFunc as the key function - has the kcpcache.ClusterIndex as an index - has the kcpcache.ClusterAndNamespaceIndex as an index
Types ¶
type HorizontalPodAutoscalerClusterLister ¶
type HorizontalPodAutoscalerClusterLister interface {
// List lists all HorizontalPodAutoscalers in the indexer.
// Objects returned here must be treated as read-only.
List(selector labels.Selector) (ret []*autoscalingv2beta2.HorizontalPodAutoscaler, err error)
// Cluster returns a lister that can list and get HorizontalPodAutoscalers in one workspace.
Cluster(clusterName logicalcluster.Name) listersautoscalingv2beta2.HorizontalPodAutoscalerLister
HorizontalPodAutoscalerClusterListerExpansion
}
HorizontalPodAutoscalerClusterLister helps list HorizontalPodAutoscalers across all workspaces, or scope down to a HorizontalPodAutoscalerLister for one workspace. All objects returned here must be treated as read-only.
func NewHorizontalPodAutoscalerClusterLister ¶
func NewHorizontalPodAutoscalerClusterLister(indexer cache.Indexer) HorizontalPodAutoscalerClusterLister
NewHorizontalPodAutoscalerClusterLister returns a new HorizontalPodAutoscalerClusterLister. We assume that the indexer: - is fed by a cross-workspace LIST+WATCH - uses kcpcache.MetaClusterNamespaceKeyFunc as the key function - has the kcpcache.ClusterIndex as an index - has the kcpcache.ClusterAndNamespaceIndex as an index
type HorizontalPodAutoscalerClusterListerExpansion ¶
type HorizontalPodAutoscalerClusterListerExpansion interface{}
HorizontalPodAutoscalerClusterListerExpansion allows custom methods to be added to HorizontalPodAutoscalerClusterLister.