v1alpha1

package
v0.0.0-...-9aebcc3 Latest Latest
Warning

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

Go to latest
Published: May 15, 2019 License: Apache-2.0 Imports: 9 Imported by: 40

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewBackupInformer

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 NewBackupScheduleInformer

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

NewBackupScheduleInformer constructs a new informer for BackupSchedule 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 NewClusterInformer

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

NewClusterInformer constructs a new informer for Cluster 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

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 NewFilteredBackupScheduleInformer

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

NewFilteredBackupScheduleInformer constructs a new informer for BackupSchedule 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 NewFilteredClusterInformer

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

NewFilteredClusterInformer constructs a new informer for Cluster 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

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 NewRestoreInformer

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.

Types

type BackupInformer

type BackupInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() v1alpha1.BackupLister
}

BackupInformer provides access to a shared informer and lister for Backups.

type BackupScheduleInformer

type BackupScheduleInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() v1alpha1.BackupScheduleLister
}

BackupScheduleInformer provides access to a shared informer and lister for BackupSchedules.

type ClusterInformer

type ClusterInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() v1alpha1.ClusterLister
}

ClusterInformer provides access to a shared informer and lister for Clusters.

type Interface

type Interface interface {
	// Backups returns a BackupInformer.
	Backups() BackupInformer
	// BackupSchedules returns a BackupScheduleInformer.
	BackupSchedules() BackupScheduleInformer
	// Clusters returns a ClusterInformer.
	Clusters() ClusterInformer
	// Restores returns a RestoreInformer.
	Restores() RestoreInformer
}

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() v1alpha1.RestoreLister
}

RestoreInformer provides access to a shared informer and lister for Restores.

Jump to

Keyboard shortcuts

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