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.
Click to show internal directories.
Click to hide internal directories.