package v1
import "k8s.io/client-go/informers/policy/v1"
Index ¶
- func NewFilteredPodDisruptionBudgetInformer(client kubernetes.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) cache.SharedIndexInformer
- func NewPodDisruptionBudgetInformer(client kubernetes.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer
- type Interface
- type PodDisruptionBudgetInformer
Functions ¶
func NewFilteredPodDisruptionBudgetInformer ¶
func NewFilteredPodDisruptionBudgetInformer(client kubernetes.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) cache.SharedIndexInformer
NewFilteredPodDisruptionBudgetInformer 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 NewPodDisruptionBudgetInformer ¶
func NewPodDisruptionBudgetInformer(client kubernetes.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer
NewPodDisruptionBudgetInformer 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 Interface ¶
type Interface interface { // PodDisruptionBudgets returns a PodDisruptionBudgetInformer. PodDisruptionBudgets() PodDisruptionBudgetInformer }
Interface provides access to all the informers in this group version.
func New ¶
func New(f internalinterfaces.SharedInformerFactory, namespace string, tweakListOptions internalinterfaces.TweakListOptionsFunc) Interface
New returns a new Interface.
type PodDisruptionBudgetInformer ¶
type PodDisruptionBudgetInformer interface { Informer() cache.SharedIndexInformer Lister() v1.PodDisruptionBudgetLister }
PodDisruptionBudgetInformer provides access to a shared informer and lister for PodDisruptionBudgets.
Source Files ¶
interface.go poddisruptionbudget.go
- Version
- v0.23.4
- Published
- Feb 17, 2022
- Platform
- js/wasm
- Imports
- 10 packages
- Last checked
- 15 minutes ago –
Tools for package owners.