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
- func NewFilteredNamespacedPolicyViolationInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, ...) cache.SharedIndexInformer
- func NewNamespacedPolicyViolationInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, ...) cache.SharedIndexInformer
- type ClusterPolicyInformer
- type ClusterPolicyViolationInformer
- type Interface
- type NamespacedPolicyViolationInformer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewClusterPolicyInformer ¶
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 ¶
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 ¶
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 ¶
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.
func NewFilteredNamespacedPolicyViolationInformer ¶
func NewFilteredNamespacedPolicyViolationInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) cache.SharedIndexInformer
NewFilteredNamespacedPolicyViolationInformer constructs a new informer for NamespacedPolicyViolation 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 NewNamespacedPolicyViolationInformer ¶
func NewNamespacedPolicyViolationInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer
NewNamespacedPolicyViolationInformer constructs a new informer for NamespacedPolicyViolation 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 ¶
type ClusterPolicyInformer interface { Informer() cache.SharedIndexInformer Lister() v1.ClusterPolicyLister }
ClusterPolicyInformer provides access to a shared informer and lister for ClusterPolicies.
type ClusterPolicyViolationInformer ¶
type ClusterPolicyViolationInformer interface { Informer() cache.SharedIndexInformer Lister() v1.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 // NamespacedPolicyViolations returns a NamespacedPolicyViolationInformer. NamespacedPolicyViolations() NamespacedPolicyViolationInformer }
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 NamespacedPolicyViolationInformer ¶
type NamespacedPolicyViolationInformer interface { Informer() cache.SharedIndexInformer Lister() v1.NamespacedPolicyViolationLister }
NamespacedPolicyViolationInformer provides access to a shared informer and lister for NamespacedPolicyViolations.