Documentation ¶
Index ¶
- func NewCommonNetworkPolicyInformer(client versioned.Interface, resyncPeriod time.Duration, ...) cache.SharedIndexInformer
- func NewFilteredCommonNetworkPolicyInformer(client versioned.Interface, resyncPeriod time.Duration, ...) cache.SharedIndexInformer
- type CommonNetworkPolicyInformer
- type Interface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCommonNetworkPolicyInformer ¶
func NewCommonNetworkPolicyInformer(client versioned.Interface, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer
NewCommonNetworkPolicyInformer constructs a new informer for CommonNetworkPolicy 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 NewFilteredCommonNetworkPolicyInformer ¶
func NewFilteredCommonNetworkPolicyInformer(client versioned.Interface, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) cache.SharedIndexInformer
NewFilteredCommonNetworkPolicyInformer constructs a new informer for CommonNetworkPolicy 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 CommonNetworkPolicyInformer ¶
type CommonNetworkPolicyInformer interface { Informer() cache.SharedIndexInformer Lister() v1alpha1.CommonNetworkPolicyLister }
CommonNetworkPolicyInformer provides access to a shared informer and lister for CommonNetworkPolicies.
type Interface ¶
type Interface interface { // CommonNetworkPolicies returns a CommonNetworkPolicyInformer. CommonNetworkPolicies() CommonNetworkPolicyInformer }
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.