Documentation ¶
Index ¶
- func NewClusterPolicyInformer(client versioned.Interface, resyncPeriod time.Duration, ...) cache.SharedIndexInformer
- func NewClusterPolicyViolationInformer(client versioned.Interface, resyncPeriod time.Duration, ...) cache.SharedIndexInformer
- func NewFilteredClusterPolicyInformer(client versioned.Interface, resyncPeriod time.Duration, ...) cache.SharedIndexInformer
- func NewFilteredClusterPolicyViolationInformer(client versioned.Interface, resyncPeriod time.Duration, ...) cache.SharedIndexInformer
- type ClusterPolicyInformer
- type ClusterPolicyViolationInformer
- type Interface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewClusterPolicyInformer ¶ added in v0.9.1
func NewClusterPolicyInformer(client versioned.Interface, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer
NewClusterPolicyInformer constructs a new informer for ClusterPolicy 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 NewClusterPolicyViolationInformer ¶ added in v0.9.1
func NewClusterPolicyViolationInformer(client versioned.Interface, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer
NewClusterPolicyViolationInformer constructs a new informer for ClusterPolicyViolation 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 NewFilteredClusterPolicyInformer ¶ added in v0.9.1
func NewFilteredClusterPolicyInformer(client versioned.Interface, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) cache.SharedIndexInformer
NewFilteredClusterPolicyInformer constructs a new informer for ClusterPolicy 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 NewFilteredClusterPolicyViolationInformer ¶ added in v0.9.1
func NewFilteredClusterPolicyViolationInformer(client versioned.Interface, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) cache.SharedIndexInformer
NewFilteredClusterPolicyViolationInformer constructs a new informer for ClusterPolicyViolation 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 ClusterPolicyInformer ¶ added in v0.9.1
type ClusterPolicyInformer interface { Informer() cache.SharedIndexInformer Lister() v1alpha1.ClusterPolicyLister }
ClusterPolicyInformer provides access to a shared informer and lister for ClusterPolicies.
type ClusterPolicyViolationInformer ¶ added in v0.9.1
type ClusterPolicyViolationInformer interface { Informer() cache.SharedIndexInformer Lister() v1alpha1.ClusterPolicyViolationLister }
ClusterPolicyViolationInformer provides access to a shared informer and lister for ClusterPolicyViolations.
type Interface ¶
type Interface interface { // ClusterPolicies returns a ClusterPolicyInformer. ClusterPolicies() ClusterPolicyInformer // ClusterPolicyViolations returns a ClusterPolicyViolationInformer. ClusterPolicyViolations() ClusterPolicyViolationInformer }
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.