backupdriver

package
v1.1.1-rc1 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2021 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BackupDriverController

type BackupDriverController interface {
	// Run starts the controller.
	Run(ctx context.Context, workers int)
}

BackupDriverController is the interface for backup driver controller

func NewBackupDriverController

func NewBackupDriverController(
	name string,
	logger logrus.FieldLogger,
	backupdriverClient *backupdriverclientset.BackupdriverV1alpha1Client,
	datamoverclientset *datamoverclientset.DatamoverV1alpha1Client,
	svcBackupdriverClient *backupdriverclientset.BackupdriverV1alpha1Client,
	svcKubeConfig *rest.Config,
	svcNamespace string,
	resyncPeriod time.Duration,
	informerFactory informers.SharedInformerFactory,
	backupdriverInformerFactory backupdriverinformers.SharedInformerFactory,
	svcInformerFactory informers.SharedInformerFactory,
	svcBackupdriverInformerFactory backupdriverinformers.SharedInformerFactory,
	snapManager *snapshotmgr.SnapshotManager,
	rateLimiter workqueue.RateLimiter) BackupDriverController

NewBackupDriverController returns a BackupDriverController.

Jump to

Keyboard shortcuts

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