Documentation ¶
Index ¶
- func NewBackupInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, ...) cache.SharedIndexInformer
- func NewConfigInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, ...) cache.SharedIndexInformer
- func NewDownloadRequestInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, ...) cache.SharedIndexInformer
- func NewRestoreInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, ...) cache.SharedIndexInformer
- func NewScheduleInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, ...) cache.SharedIndexInformer
- type BackupInformer
- type ConfigInformer
- type DownloadRequestInformer
- type Interface
- type RestoreInformer
- type ScheduleInformer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewBackupInformer ¶ added in v0.6.0
func NewBackupInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer
NewBackupInformer constructs a new informer for Backup 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 NewConfigInformer ¶ added in v0.6.0
func NewConfigInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer
NewConfigInformer constructs a new informer for Config 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 NewDownloadRequestInformer ¶ added in v0.6.0
func NewDownloadRequestInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer
NewDownloadRequestInformer constructs a new informer for DownloadRequest 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 NewRestoreInformer ¶ added in v0.6.0
func NewRestoreInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer
NewRestoreInformer constructs a new informer for Restore 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 NewScheduleInformer ¶ added in v0.6.0
func NewScheduleInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer
NewScheduleInformer constructs a new informer for Schedule 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 BackupInformer ¶
type BackupInformer interface { Informer() cache.SharedIndexInformer Lister() v1.BackupLister }
BackupInformer provides access to a shared informer and lister for Backups.
type ConfigInformer ¶
type ConfigInformer interface { Informer() cache.SharedIndexInformer Lister() v1.ConfigLister }
ConfigInformer provides access to a shared informer and lister for Configs.
type DownloadRequestInformer ¶ added in v0.4.0
type DownloadRequestInformer interface { Informer() cache.SharedIndexInformer Lister() v1.DownloadRequestLister }
DownloadRequestInformer provides access to a shared informer and lister for DownloadRequests.
type Interface ¶
type Interface interface { // Backups returns a BackupInformer. Backups() BackupInformer // Configs returns a ConfigInformer. Configs() ConfigInformer // DownloadRequests returns a DownloadRequestInformer. DownloadRequests() DownloadRequestInformer // Restores returns a RestoreInformer. Restores() RestoreInformer // Schedules returns a ScheduleInformer. Schedules() ScheduleInformer }
Interface provides access to all the informers in this group version.
func New ¶
func New(f internalinterfaces.SharedInformerFactory) Interface
New returns a new Interface.
type RestoreInformer ¶
type RestoreInformer interface { Informer() cache.SharedIndexInformer Lister() v1.RestoreLister }
RestoreInformer provides access to a shared informer and lister for Restores.
type ScheduleInformer ¶
type ScheduleInformer interface { Informer() cache.SharedIndexInformer Lister() v1.ScheduleLister }
ScheduleInformer provides access to a shared informer and lister for Schedules.