clientmgmt

package
v1.14.0-rc.3 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2024 License: Apache-2.0 Imports: 21 Imported by: 14

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

func NewManager(logger logrus.FieldLogger, level logrus.Level, registry process.Registry) Manager

NewManager constructs a manager for getting plugins.

Directories

Path Synopsis
backupitemaction
v1
v2
Package clientmgmt contains the plugin client for Velero.
Package clientmgmt contains the plugin client for Velero.
restoreitemaction
v1
v2
volumesnapshotter
v1

Jump to

Keyboard shortcuts

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