v1

package
v0.8.3 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2018 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

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 NewDeleteBackupRequestInformer added in v0.8.0

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

NewDeleteBackupRequestInformer constructs a new informer for DeleteBackupRequest 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 NewFilteredBackupInformer added in v0.7.0

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

NewFilteredBackupInformer 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 NewFilteredConfigInformer added in v0.7.0

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

NewFilteredConfigInformer 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 NewFilteredDeleteBackupRequestInformer added in v0.8.0

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

NewFilteredDeleteBackupRequestInformer constructs a new informer for DeleteBackupRequest 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 NewFilteredDownloadRequestInformer added in v0.7.0

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

NewFilteredDownloadRequestInformer 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 NewFilteredRestoreInformer added in v0.7.0

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

NewFilteredRestoreInformer 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 NewFilteredScheduleInformer added in v0.7.0

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

NewFilteredScheduleInformer 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.

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 DeleteBackupRequestInformer added in v0.8.0

type DeleteBackupRequestInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() v1.DeleteBackupRequestLister
}

DeleteBackupRequestInformer provides access to a shared informer and lister for DeleteBackupRequests.

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
	// DeleteBackupRequests returns a DeleteBackupRequestInformer.
	DeleteBackupRequests() DeleteBackupRequestInformer
	// 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

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.

Jump to

Keyboard shortcuts

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