client-gok8s.io/client-go/informers/policy/v1beta1 Index | Files

package v1beta1

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

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 NewFilteredPodSecurityPolicyInformer

func NewFilteredPodSecurityPolicyInformer(client kubernetes.Interface, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) cache.SharedIndexInformer

NewFilteredPodSecurityPolicyInformer constructs a new informer for PodSecurityPolicy 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.

func NewPodSecurityPolicyInformer

func NewPodSecurityPolicyInformer(client kubernetes.Interface, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer

NewPodSecurityPolicyInformer constructs a new informer for PodSecurityPolicy 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
	// PodSecurityPolicies returns a PodSecurityPolicyInformer.
	PodSecurityPolicies() PodSecurityPolicyInformer
}

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() v1beta1.PodDisruptionBudgetLister
}

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

type PodSecurityPolicyInformer

type PodSecurityPolicyInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() v1beta1.PodSecurityPolicyLister
}

PodSecurityPolicyInformer provides access to a shared informer and lister for PodSecurityPolicies.

Source Files

interface.go poddisruptionbudget.go podsecuritypolicy.go

Version
v0.23.8
Published
Jun 16, 2022
Platform
js/wasm
Imports
10 packages
Last checked
12 minutes ago

Tools for package owners.