package v1

import "k8s.io/client-go/informers/policy/v1"

Index

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

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.26.0-rc.1
Published
Nov 30, 2022
Platform
js/wasm
Imports
10 packages
Last checked
30 minutes ago

Tools for package owners.