Documentation ¶
Index ¶
- func NewFilteredServicePolicyInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, ...) cache.SharedIndexInformer
- func NewFilteredStrategyInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, ...) cache.SharedIndexInformer
- func NewServicePolicyInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, ...) cache.SharedIndexInformer
- func NewStrategyInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, ...) cache.SharedIndexInformer
- type Interface
- type ServicePolicyInformer
- type StrategyInformer
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 ¶
func New(f internalinterfaces.SharedInformerFactory, namespace string, tweakListOptions internalinterfaces.TweakListOptionsFunc) Interface
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.