Documentation
¶
Index ¶
- func NewFilteredPodDisruptionBudgetClusterInformer(client kcpkubernetes.ClusterInterface, resyncPeriod time.Duration, ...) kcpcache.ScopeableSharedIndexInformer
- func NewPodDisruptionBudgetClusterInformer(client kcpkubernetes.ClusterInterface, resyncPeriod time.Duration, ...) kcpcache.ScopeableSharedIndexInformer
- type ClusterInterface
- type PodDisruptionBudgetClusterInformer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFilteredPodDisruptionBudgetClusterInformer ¶
func NewFilteredPodDisruptionBudgetClusterInformer(client kcpkubernetes.ClusterInterface, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions kcpinternalinterfaces.TweakListOptionsFunc) kcpcache.ScopeableSharedIndexInformer
NewFilteredPodDisruptionBudgetClusterInformer constructs a new informer for PodDisruptionBudget 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 NewPodDisruptionBudgetClusterInformer ¶
func NewPodDisruptionBudgetClusterInformer(client kcpkubernetes.ClusterInterface, resyncPeriod time.Duration, indexers cache.Indexers) kcpcache.ScopeableSharedIndexInformer
NewPodDisruptionBudgetClusterInformer constructs a new informer for PodDisruptionBudget 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 {
// PodDisruptionBudgets returns a PodDisruptionBudgetClusterInformer.
PodDisruptionBudgets() PodDisruptionBudgetClusterInformer
}
func New ¶
func New(f kcpinternalinterfaces.SharedInformerFactory, tweakListOptions kcpinternalinterfaces.TweakListOptionsFunc) ClusterInterface
New returns a new Interface.
type PodDisruptionBudgetClusterInformer ¶
type PodDisruptionBudgetClusterInformer interface {
Cluster(logicalcluster.Name) policyv1.PodDisruptionBudgetInformer
ClusterWithContext(context.Context, logicalcluster.Name) policyv1.PodDisruptionBudgetInformer
Informer() kcpcache.ScopeableSharedIndexInformer
Lister() kcpv1.PodDisruptionBudgetClusterLister
}
PodDisruptionBudgetClusterInformer provides access to a shared informer and lister for PodDisruptionBudgets.