internalversion

package
v1.12.1-lite8 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2018 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFilteredPodDisruptionBudgetInformer

func NewFilteredPodDisruptionBudgetInformer(client internalclientset.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 internalclientset.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 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.

func NewPodSecurityPolicyInformer

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

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

type PodSecurityPolicyInformer

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

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

Jump to

Keyboard shortcuts

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