v1

package
v0.0.0-...-bf1c9b8 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFilteredPodDisruptionBudgetClusterInformer

func NewFilteredPodDisruptionBudgetClusterInformer(client clientset.ClusterInterface, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions internalinterfaces.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 clientset.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

New returns a new ClusterInterface.

type PodDisruptionBudgetClusterInformer

type PodDisruptionBudgetClusterInformer interface {
	Cluster(logicalcluster.Name) upstreampolicyv1informers.PodDisruptionBudgetInformer
	Informer() kcpcache.ScopeableSharedIndexInformer
	Lister() policyv1listers.PodDisruptionBudgetClusterLister
}

PodDisruptionBudgetClusterInformer provides access to a shared informer and lister for PodDisruptionBudgets.

Jump to

Keyboard shortcuts

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