clientmgmt

package
v1.10.1-rc.2 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2023 License: Apache-2.0 Imports: 19 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 NewRestartableItemSnapshotter added in v1.10.0

func NewRestartableItemSnapshotter(name string, sharedPluginProcess process.RestartableProcess) *restartableItemSnapshotter

NewRestartableItemSnapshotter returns a new restartableItemSnapshotter.

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)

	// 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)

	// 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)

	// GetItemSnapshotter returns the item snapshotter plugin for name
	GetItemSnapshotter(name string) (isv1.ItemSnapshotter, error)

	// GetItemSnapshotters returns all item snapshotter plugins
	GetItemSnapshotters() ([]isv1.ItemSnapshotter, 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
Package clientmgmt contains the plugin client for Velero.
Package clientmgmt contains the plugin client for Velero.
restoreitemaction
v1
volumesnapshotter
v1

Jump to

Keyboard shortcuts

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