Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewRestartableDeleteItemAction ¶ added in v1.10.0
func NewRestartableDeleteItemAction(name string, sharedPluginProcess process.RestartableProcess) *restartableDeleteItemAction
NewRestartableDeleteItemAction returns a new restartableDeleteItemAction.
func NewRestartableObjectStore ¶ added in v1.10.0
func NewRestartableObjectStore(name string, sharedPluginProcess process.RestartableProcess) *restartableObjectStore
NewRestartableObjectStore returns a new restartableObjectStore.
Types ¶
type Manager ¶
type Manager interface { // GetObjectStore returns the ObjectStore plugin for name. GetObjectStore(name string) (velero.ObjectStore, error) // GetVolumeSnapshotter returns the VolumeSnapshotter plugin for name. GetVolumeSnapshotter(name string) (vsv1.VolumeSnapshotter, error) // GetBackupItemActions returns all v1 backup item action plugins. GetBackupItemActions() ([]biav1.BackupItemAction, error) // GetBackupItemAction returns the backup item action plugin for name. GetBackupItemAction(name string) (biav1.BackupItemAction, error) // GetBackupItemActionsV2 returns all v2 backup item action plugins (including those adapted from v1). GetBackupItemActionsV2() ([]biav2.BackupItemAction, error) // GetBackupItemActionV2 returns the backup item action plugin for name. GetBackupItemActionV2(name string) (biav2.BackupItemAction, error) // GetRestoreItemActions returns all restore item action plugins. GetRestoreItemActions() ([]riav1.RestoreItemAction, error) // GetRestoreItemAction returns the restore item action plugin for name. GetRestoreItemAction(name string) (riav1.RestoreItemAction, error) // GetRestoreItemActionsV2 returns all v2 restore item action plugins. GetRestoreItemActionsV2() ([]riav2.RestoreItemAction, error) // GetRestoreItemActionV2 returns the restore item action plugin for name. GetRestoreItemActionV2(name string) (riav2.RestoreItemAction, error) // GetDeleteItemActions returns all delete item action plugins. GetDeleteItemActions() ([]velero.DeleteItemAction, error) // GetDeleteItemAction returns the delete item action plugin for name. GetDeleteItemAction(name string) (velero.DeleteItemAction, error) // CleanupClients terminates all of the Manager's running plugin processes. CleanupClients() }
Manager manages the lifecycles of plugins.
func NewManager ¶
NewManager constructs a manager for getting plugins.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.