Documentation ¶
Index ¶
- func NewFilteredHorizontalPodAutoscalerClusterInformer(client clientset.ClusterInterface, resyncPeriod time.Duration, ...) kcpcache.ScopeableSharedIndexInformer
- func NewHorizontalPodAutoscalerClusterInformer(client clientset.ClusterInterface, resyncPeriod time.Duration, ...) kcpcache.ScopeableSharedIndexInformer
- type ClusterInterface
- type HorizontalPodAutoscalerClusterInformer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFilteredHorizontalPodAutoscalerClusterInformer ¶
func NewFilteredHorizontalPodAutoscalerClusterInformer(client clientset.ClusterInterface, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) kcpcache.ScopeableSharedIndexInformer
NewFilteredHorizontalPodAutoscalerClusterInformer constructs a new informer for HorizontalPodAutoscaler 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 NewHorizontalPodAutoscalerClusterInformer ¶
func NewHorizontalPodAutoscalerClusterInformer(client clientset.ClusterInterface, resyncPeriod time.Duration, indexers cache.Indexers) kcpcache.ScopeableSharedIndexInformer
NewHorizontalPodAutoscalerClusterInformer constructs a new informer for HorizontalPodAutoscaler 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 ClusterInterface ¶
type ClusterInterface interface { // HorizontalPodAutoscalers returns a HorizontalPodAutoscalerClusterInformer HorizontalPodAutoscalers() HorizontalPodAutoscalerClusterInformer }
func New ¶
func New(f internalinterfaces.SharedInformerFactory, tweakListOptions internalinterfaces.TweakListOptionsFunc) ClusterInterface
New returns a new ClusterInterface.
type HorizontalPodAutoscalerClusterInformer ¶
type HorizontalPodAutoscalerClusterInformer interface { Cluster(logicalcluster.Name) upstreamautoscalingv2beta2informers.HorizontalPodAutoscalerInformer Informer() kcpcache.ScopeableSharedIndexInformer Lister() autoscalingv2beta2listers.HorizontalPodAutoscalerClusterLister }
HorizontalPodAutoscalerClusterInformer provides access to a shared informer and lister for HorizontalPodAutoscalers.