# Functions
NewBackupItemActionPlugin constructs a BackupItemActionPlugin.
NewBlockStorePlugin constructs a BlockStorePlugin.
NewLogger returns a logger that is suitable for use within an Velero plugin.
NewManager constructs a manager for getting plugins.
NewObjectStorePlugin construct an ObjectStorePlugin.
NewPluginLister returns a new PluginLister for plugins.
NewPluginListerPlugin creates a new PluginListerPlugin with impl as the server-side implementation.
NewRegistry returns a new registry.
NewRestoreItemActionPlugin constructs a RestoreItemActionPlugin.
NewServer returns a new Server.
# Constants
PluginKindBackupItemAction represents a backup item action plugin.
PluginKindBlockStore represents a block store plugin.
PluginKindObjectStore represents an object store plugin.
PluginKindPluginLister represents a plugin lister plugin.
PluginKindRestoreItemAction represents a restore item action plugin.
# Variables
Handshake is configuration information that allows go-plugin clients and servers to perform a handshake.
# Structs
BackupItemActionGRPCClient implements the backup/ItemAction interface and uses a gRPC client to make calls to the plugin server.
BackupItemActionGRPCServer implements the proto-generated BackupItemActionServer interface, and accepts gRPC calls and forwards them to an implementation of the pluggable interface.
BackupItemActionPlugin is an implementation of go-plugin's Plugin interface with support for gRPC for the backup/ItemAction interface.
BlockStoreGRPCClient implements the cloudprovider.BlockStore interface and uses a gRPC client to make calls to the plugin server.
BlockStoreGRPCServer implements the proto-generated BlockStoreServer interface, and accepts gRPC calls and forwards them to an implementation of the pluggable interface.
BlockStorePlugin is an implementation of go-plugin's Plugin interface with support for gRPC for the cloudprovider/BlockStore interface.
ObjectStoreGRPCClient implements the cloudprovider.ObjectStore interface and uses a gRPC client to make calls to the plugin server.
ObjectStoreGRPCServer implements the proto-generated ObjectStoreServer interface, and accepts gRPC calls and forwards them to an implementation of the pluggable interface.
ObjectStorePlugin is an implementation of go-plugin's Plugin interface with support for gRPC for the cloudprovider/ObjectStore interface.
PluginIdenitifer uniquely identifies a plugin by command, kind, and name.
PluginListerGRPCClient implements PluginLister and uses a gRPC client to make calls to the plugin server.
PluginListerGRPCServer implements the proto-generated PluginLister gRPC service interface.
PluginListerPlugin is a go-plugin Plugin for a PluginLister.
RestoreItemActionGRPCClient implements the backup/ItemAction interface and uses a gRPC client to make calls to the plugin server.
RestoreItemActionGRPCServer implements the proto-generated RestoreItemActionServer interface, and accepts gRPC calls and forwards them to an implementation of the pluggable interface.
RestoreItemActionPlugin is an implementation of go-plugin's Plugin interface with support for gRPC for the restore/ItemAction interface.
StreamReadCloser wraps a ReceiveFunc and a CloseSendFunc to implement io.ReadCloser.
# Interfaces
No description provided by the author
Interface represents a Velero plugin.
Manager manages the lifecycles of plugins.
PluginLister lists plugins.
No description provided by the author
No description provided by the author
Registry manages information about available plugins.
No description provided by the author
No description provided by the author
Server serves registered plugin implementations.
# Type aliases
CloseFunc is used to signal to the source of data that the StreamReadCloser has been closed.
HandlerInitializer is a function that initializes and returns a new instance of one of Velero's plugin interfaces (ObjectStore, BlockStore, BackupItemAction, RestoreItemAction).
PluginKind is a type alias for a string that describes the kind of a Velero-supported plugin.
ReceiveFunc is a function that either returns a slice of an arbitrary number of bytes OR an error.