v1alpha2

package
v3.1.1 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFilteredServicePolicyInformer

func NewFilteredServicePolicyInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) cache.SharedIndexInformer

NewFilteredServicePolicyInformer constructs a new informer for ServicePolicy 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 NewFilteredStrategyInformer

func NewFilteredStrategyInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) cache.SharedIndexInformer

NewFilteredStrategyInformer constructs a new informer for Strategy 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 NewServicePolicyInformer

func NewServicePolicyInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer

NewServicePolicyInformer constructs a new informer for ServicePolicy 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 NewStrategyInformer

func NewStrategyInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer

NewStrategyInformer constructs a new informer for Strategy 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 {
	// ServicePolicies returns a ServicePolicyInformer.
	ServicePolicies() ServicePolicyInformer
	// Strategies returns a StrategyInformer.
	Strategies() StrategyInformer
}

Interface provides access to all the informers in this group version.

func New

New returns a new Interface.

type ServicePolicyInformer

type ServicePolicyInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() v1alpha2.ServicePolicyLister
}

ServicePolicyInformer provides access to a shared informer and lister for ServicePolicies.

type StrategyInformer

type StrategyInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() v1alpha2.StrategyLister
}

StrategyInformer provides access to a shared informer and lister for Strategies.

Jump to

Keyboard shortcuts

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