package
1.15.2
Repository: https://github.com/vmware-tanzu/velero.git
Documentation: pkg.go.dev

# Functions

AllPluginKinds contains all the valid plugin kinds that Velero supports, excluding PluginLister because that is not a kind that a developer would ever need to implement (it's handled by Velero and the Velero plugin library code).
No description provided by the author
ErrorStack gets a stack trace, if it exists, from the provided error, and returns it as a *proto.Stack.
FromGRPCError takes a gRPC status error, extracts a stack trace from the details if it exists, and returns an error that can provide information about where it was created.
No description provided by the author
HandlePanic is a panic handler for the server half of velero plugins.
newClientDispenser creates a new clientDispenser.
NewGRPCError is a convenience function for creating a new gRPC error with code = codes.Unknown.
NewGRPCErrorWithCode wraps err in a gRPC status error with the error's stack trace included in the details if it exists.
No description provided by the author
NewServerMux returns a new ServerMux.
No description provided by the author
No description provided by the author
ValidatePluginName checks if the given name: - the plugin name has two parts separated by '/' - non of the above parts is empty - the prefix is a valid DNS subdomain name - a plugin with the same name does not already exist (if list of existing names is passed in).

# Constants

PluginKindBackupItemAction represents a backup item action plugin.
PluginKindBackupItemActionV2 represents a v2 backup item action plugin.
PluginKindDeleteItemAction represents a delete item action plugin.
PluginKindItemBlockAction represents a v1 ItemBlock action plugin.
PluginKindObjectStore represents an object store plugin.
PluginKindPluginLister represents a plugin lister plugin.
PluginKindRestoreItemAction represents a restore item action plugin.
PluginKindRestoreItemActionV2 represents a v2 restore item action plugin.
PluginKindVolumeSnapshotter represents a volume snapshotter plugin.

# Variables

PluginKindsAdaptableTo if there are plugin kinds that are adaptable to newer API versions, list them here.

# Structs

ClientBase implements client and contains shared fields common to all clients.
No description provided by the author
No description provided by the author
ServerMux manages multiple implementations of a single plugin kind, such as pod and pvc BackupItemActions.

# Interfaces

No description provided by the author
No description provided by the author

# Type aliases

HandlerInitializer is a function that initializes and returns a new instance of one of Velero's plugin interfaces (ObjectStore, VolumeSnapshotter, BackupItemAction, RestoreItemAction).
PluginKind is a type alias for a string that describes the kind of a Velero-supported plugin.
No description provided by the author