v2

package
v1.12.0-alpha.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 13, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAdmissionReportInformer

func NewAdmissionReportInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer

NewAdmissionReportInformer constructs a new informer for AdmissionReport 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 NewBackgroundScanReportInformer

func NewBackgroundScanReportInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer

NewBackgroundScanReportInformer constructs a new informer for BackgroundScanReport 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 NewCleanupPolicyInformer

func NewCleanupPolicyInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer

NewCleanupPolicyInformer constructs a new informer for CleanupPolicy 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 NewClusterAdmissionReportInformer

func NewClusterAdmissionReportInformer(client versioned.Interface, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer

NewClusterAdmissionReportInformer constructs a new informer for ClusterAdmissionReport 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 NewClusterBackgroundScanReportInformer

func NewClusterBackgroundScanReportInformer(client versioned.Interface, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer

NewClusterBackgroundScanReportInformer constructs a new informer for ClusterBackgroundScanReport 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 NewClusterCleanupPolicyInformer

func NewClusterCleanupPolicyInformer(client versioned.Interface, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer

NewClusterCleanupPolicyInformer constructs a new informer for ClusterCleanupPolicy 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 NewFilteredAdmissionReportInformer

func NewFilteredAdmissionReportInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) cache.SharedIndexInformer

NewFilteredAdmissionReportInformer constructs a new informer for AdmissionReport 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 NewFilteredBackgroundScanReportInformer

func NewFilteredBackgroundScanReportInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) cache.SharedIndexInformer

NewFilteredBackgroundScanReportInformer constructs a new informer for BackgroundScanReport 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 NewFilteredCleanupPolicyInformer

func NewFilteredCleanupPolicyInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) cache.SharedIndexInformer

NewFilteredCleanupPolicyInformer constructs a new informer for CleanupPolicy 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 NewFilteredClusterAdmissionReportInformer

func NewFilteredClusterAdmissionReportInformer(client versioned.Interface, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) cache.SharedIndexInformer

NewFilteredClusterAdmissionReportInformer constructs a new informer for ClusterAdmissionReport 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 NewFilteredClusterBackgroundScanReportInformer

func NewFilteredClusterBackgroundScanReportInformer(client versioned.Interface, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) cache.SharedIndexInformer

NewFilteredClusterBackgroundScanReportInformer constructs a new informer for ClusterBackgroundScanReport 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 NewFilteredClusterCleanupPolicyInformer

func NewFilteredClusterCleanupPolicyInformer(client versioned.Interface, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) cache.SharedIndexInformer

NewFilteredClusterCleanupPolicyInformer constructs a new informer for ClusterCleanupPolicy 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 NewFilteredPolicyExceptionInformer

func NewFilteredPolicyExceptionInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) cache.SharedIndexInformer

NewFilteredPolicyExceptionInformer constructs a new informer for PolicyException 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 NewFilteredUpdateRequestInformer

func NewFilteredUpdateRequestInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) cache.SharedIndexInformer

NewFilteredUpdateRequestInformer constructs a new informer for UpdateRequest 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 NewPolicyExceptionInformer

func NewPolicyExceptionInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer

NewPolicyExceptionInformer constructs a new informer for PolicyException 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 NewUpdateRequestInformer

func NewUpdateRequestInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer

NewUpdateRequestInformer constructs a new informer for UpdateRequest 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 AdmissionReportInformer

type AdmissionReportInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() v2.AdmissionReportLister
}

AdmissionReportInformer provides access to a shared informer and lister for AdmissionReports.

type BackgroundScanReportInformer

type BackgroundScanReportInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() v2.BackgroundScanReportLister
}

BackgroundScanReportInformer provides access to a shared informer and lister for BackgroundScanReports.

type CleanupPolicyInformer

type CleanupPolicyInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() v2.CleanupPolicyLister
}

CleanupPolicyInformer provides access to a shared informer and lister for CleanupPolicies.

type ClusterAdmissionReportInformer

type ClusterAdmissionReportInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() v2.ClusterAdmissionReportLister
}

ClusterAdmissionReportInformer provides access to a shared informer and lister for ClusterAdmissionReports.

type ClusterBackgroundScanReportInformer

type ClusterBackgroundScanReportInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() v2.ClusterBackgroundScanReportLister
}

ClusterBackgroundScanReportInformer provides access to a shared informer and lister for ClusterBackgroundScanReports.

type ClusterCleanupPolicyInformer

type ClusterCleanupPolicyInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() v2.ClusterCleanupPolicyLister
}

ClusterCleanupPolicyInformer provides access to a shared informer and lister for ClusterCleanupPolicies.

type Interface

type Interface interface {
	// AdmissionReports returns a AdmissionReportInformer.
	AdmissionReports() AdmissionReportInformer
	// BackgroundScanReports returns a BackgroundScanReportInformer.
	BackgroundScanReports() BackgroundScanReportInformer
	// CleanupPolicies returns a CleanupPolicyInformer.
	CleanupPolicies() CleanupPolicyInformer
	// ClusterAdmissionReports returns a ClusterAdmissionReportInformer.
	ClusterAdmissionReports() ClusterAdmissionReportInformer
	// ClusterBackgroundScanReports returns a ClusterBackgroundScanReportInformer.
	ClusterBackgroundScanReports() ClusterBackgroundScanReportInformer
	// ClusterCleanupPolicies returns a ClusterCleanupPolicyInformer.
	ClusterCleanupPolicies() ClusterCleanupPolicyInformer
	// PolicyExceptions returns a PolicyExceptionInformer.
	PolicyExceptions() PolicyExceptionInformer
	// UpdateRequests returns a UpdateRequestInformer.
	UpdateRequests() UpdateRequestInformer
}

Interface provides access to all the informers in this group version.

func New

New returns a new Interface.

type PolicyExceptionInformer

type PolicyExceptionInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() v2.PolicyExceptionLister
}

PolicyExceptionInformer provides access to a shared informer and lister for PolicyExceptions.

type UpdateRequestInformer

type UpdateRequestInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() v2.UpdateRequestLister
}

UpdateRequestInformer provides access to a shared informer and lister for UpdateRequests.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL