package internalversion

import "k8s.io/kubernetes/pkg/client/informers/informers_generated/internalversion/policy/internalversion"

Index

Functions

func NewPodDisruptionBudgetInformer

func NewPodDisruptionBudgetInformer(client internalclientset.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() internalversion.PodDisruptionBudgetLister
}

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

Source Files

interface.go poddisruptionbudget.go

Version
v1.8.7-beta.0
Published
Dec 21, 2017
Platform
js/wasm
Imports
9 packages
Last checked
9 minutes ago

Tools for package owners.