Documentation
¶
Index ¶
- func NewCustomCheckInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, ...) cache.SharedIndexInformer
- func NewFilteredCustomCheckInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, ...) cache.SharedIndexInformer
- func NewFilteredVulnerabilityReportInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, ...) cache.SharedIndexInformer
- func NewVulnerabilityReportInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, ...) cache.SharedIndexInformer
- type CustomCheckInformer
- type Interface
- type VulnerabilityReportInformer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCustomCheckInformer ¶
func NewCustomCheckInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer
NewCustomCheckInformer constructs a new informer for CustomCheck 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 NewFilteredCustomCheckInformer ¶
func NewFilteredCustomCheckInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) cache.SharedIndexInformer
NewFilteredCustomCheckInformer constructs a new informer for CustomCheck 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 NewFilteredVulnerabilityReportInformer ¶
func NewFilteredVulnerabilityReportInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) cache.SharedIndexInformer
NewFilteredVulnerabilityReportInformer constructs a new informer for VulnerabilityReport 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 NewVulnerabilityReportInformer ¶
func NewVulnerabilityReportInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer
NewVulnerabilityReportInformer constructs a new informer for VulnerabilityReport 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 CustomCheckInformer ¶
type CustomCheckInformer interface { Informer() cache.SharedIndexInformer Lister() v1alpha2.CustomCheckLister }
CustomCheckInformer provides access to a shared informer and lister for CustomChecks.
type Interface ¶
type Interface interface { // CustomChecks returns a CustomCheckInformer. CustomChecks() CustomCheckInformer // VulnerabilityReports returns a VulnerabilityReportInformer. VulnerabilityReports() VulnerabilityReportInformer }
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 VulnerabilityReportInformer ¶
type VulnerabilityReportInformer interface { Informer() cache.SharedIndexInformer Lister() v1alpha2.VulnerabilityReportLister }
VulnerabilityReportInformer provides access to a shared informer and lister for VulnerabilityReports.