Documentation ¶
Overview ¶
Package generated is a generated protocol buffer package.
It is generated from these files:
BackupItemAction.proto DeleteItemAction.proto ObjectStore.proto PluginLister.proto RestoreItemAction.proto Shared.proto VolumeSnapshotter.proto
It has these top-level messages:
ExecuteRequest ExecuteResponse BackupItemActionAppliesToRequest BackupItemActionAppliesToResponse DeleteItemActionExecuteRequest DeleteItemActionAppliesToRequest DeleteItemActionAppliesToResponse PutObjectRequest ObjectExistsRequest ObjectExistsResponse GetObjectRequest Bytes ListCommonPrefixesRequest ListCommonPrefixesResponse ListObjectsRequest ListObjectsResponse DeleteObjectRequest CreateSignedURLRequest CreateSignedURLResponse ObjectStoreInitRequest PluginIdentifier ListPluginsResponse RestoreItemActionExecuteRequest RestoreItemActionExecuteResponse RestoreItemActionAppliesToRequest RestoreItemActionAppliesToResponse Empty Stack StackFrame ResourceIdentifier ResourceSelector CreateVolumeRequest CreateVolumeResponse GetVolumeInfoRequest GetVolumeInfoResponse CreateSnapshotRequest CreateSnapshotResponse DeleteSnapshotRequest GetVolumeIDRequest GetVolumeIDResponse SetVolumeIDRequest SetVolumeIDResponse VolumeSnapshotterInitRequest
Index ¶
- func RegisterBackupItemActionServer(s *grpc.Server, srv BackupItemActionServer)
- func RegisterDeleteItemActionServer(s *grpc.Server, srv DeleteItemActionServer)
- func RegisterObjectStoreServer(s *grpc.Server, srv ObjectStoreServer)
- func RegisterPluginListerServer(s *grpc.Server, srv PluginListerServer)
- func RegisterRestoreItemActionServer(s *grpc.Server, srv RestoreItemActionServer)
- func RegisterVolumeSnapshotterServer(s *grpc.Server, srv VolumeSnapshotterServer)
- type BackupItemActionAppliesToRequest
- type BackupItemActionAppliesToResponse
- func (*BackupItemActionAppliesToResponse) Descriptor() ([]byte, []int)
- func (m *BackupItemActionAppliesToResponse) GetResourceSelector() *ResourceSelector
- func (*BackupItemActionAppliesToResponse) ProtoMessage()
- func (m *BackupItemActionAppliesToResponse) Reset()
- func (m *BackupItemActionAppliesToResponse) String() string
- type BackupItemActionClient
- type BackupItemActionServer
- type Bytes
- type CreateSignedURLRequest
- func (*CreateSignedURLRequest) Descriptor() ([]byte, []int)
- func (m *CreateSignedURLRequest) GetBucket() string
- func (m *CreateSignedURLRequest) GetKey() string
- func (m *CreateSignedURLRequest) GetPlugin() string
- func (m *CreateSignedURLRequest) GetTtl() int64
- func (*CreateSignedURLRequest) ProtoMessage()
- func (m *CreateSignedURLRequest) Reset()
- func (m *CreateSignedURLRequest) String() string
- type CreateSignedURLResponse
- type CreateSnapshotRequest
- func (*CreateSnapshotRequest) Descriptor() ([]byte, []int)
- func (m *CreateSnapshotRequest) GetPlugin() string
- func (m *CreateSnapshotRequest) GetTags() map[string]string
- func (m *CreateSnapshotRequest) GetVolumeAZ() string
- func (m *CreateSnapshotRequest) GetVolumeID() string
- func (*CreateSnapshotRequest) ProtoMessage()
- func (m *CreateSnapshotRequest) Reset()
- func (m *CreateSnapshotRequest) String() string
- type CreateSnapshotResponse
- type CreateVolumeRequest
- func (*CreateVolumeRequest) Descriptor() ([]byte, []int)
- func (m *CreateVolumeRequest) GetIops() int64
- func (m *CreateVolumeRequest) GetPlugin() string
- func (m *CreateVolumeRequest) GetSnapshotID() string
- func (m *CreateVolumeRequest) GetVolumeAZ() string
- func (m *CreateVolumeRequest) GetVolumeType() string
- func (*CreateVolumeRequest) ProtoMessage()
- func (m *CreateVolumeRequest) Reset()
- func (m *CreateVolumeRequest) String() string
- type CreateVolumeResponse
- type DeleteItemActionAppliesToRequest
- type DeleteItemActionAppliesToResponse
- func (*DeleteItemActionAppliesToResponse) Descriptor() ([]byte, []int)
- func (m *DeleteItemActionAppliesToResponse) GetResourceSelector() *ResourceSelector
- func (*DeleteItemActionAppliesToResponse) ProtoMessage()
- func (m *DeleteItemActionAppliesToResponse) Reset()
- func (m *DeleteItemActionAppliesToResponse) String() string
- type DeleteItemActionClient
- type DeleteItemActionExecuteRequest
- func (*DeleteItemActionExecuteRequest) Descriptor() ([]byte, []int)
- func (m *DeleteItemActionExecuteRequest) GetBackup() []byte
- func (m *DeleteItemActionExecuteRequest) GetItem() []byte
- func (m *DeleteItemActionExecuteRequest) GetPlugin() string
- func (*DeleteItemActionExecuteRequest) ProtoMessage()
- func (m *DeleteItemActionExecuteRequest) Reset()
- func (m *DeleteItemActionExecuteRequest) String() string
- type DeleteItemActionServer
- type DeleteObjectRequest
- func (*DeleteObjectRequest) Descriptor() ([]byte, []int)
- func (m *DeleteObjectRequest) GetBucket() string
- func (m *DeleteObjectRequest) GetKey() string
- func (m *DeleteObjectRequest) GetPlugin() string
- func (*DeleteObjectRequest) ProtoMessage()
- func (m *DeleteObjectRequest) Reset()
- func (m *DeleteObjectRequest) String() string
- type DeleteSnapshotRequest
- type Empty
- type ExecuteRequest
- type ExecuteResponse
- type GetObjectRequest
- func (*GetObjectRequest) Descriptor() ([]byte, []int)
- func (m *GetObjectRequest) GetBucket() string
- func (m *GetObjectRequest) GetKey() string
- func (m *GetObjectRequest) GetPlugin() string
- func (*GetObjectRequest) ProtoMessage()
- func (m *GetObjectRequest) Reset()
- func (m *GetObjectRequest) String() string
- type GetVolumeIDRequest
- type GetVolumeIDResponse
- type GetVolumeInfoRequest
- func (*GetVolumeInfoRequest) Descriptor() ([]byte, []int)
- func (m *GetVolumeInfoRequest) GetPlugin() string
- func (m *GetVolumeInfoRequest) GetVolumeAZ() string
- func (m *GetVolumeInfoRequest) GetVolumeID() string
- func (*GetVolumeInfoRequest) ProtoMessage()
- func (m *GetVolumeInfoRequest) Reset()
- func (m *GetVolumeInfoRequest) String() string
- type GetVolumeInfoResponse
- type ListCommonPrefixesRequest
- func (*ListCommonPrefixesRequest) Descriptor() ([]byte, []int)
- func (m *ListCommonPrefixesRequest) GetBucket() string
- func (m *ListCommonPrefixesRequest) GetDelimiter() string
- func (m *ListCommonPrefixesRequest) GetPlugin() string
- func (m *ListCommonPrefixesRequest) GetPrefix() string
- func (*ListCommonPrefixesRequest) ProtoMessage()
- func (m *ListCommonPrefixesRequest) Reset()
- func (m *ListCommonPrefixesRequest) String() string
- type ListCommonPrefixesResponse
- type ListObjectsRequest
- func (*ListObjectsRequest) Descriptor() ([]byte, []int)
- func (m *ListObjectsRequest) GetBucket() string
- func (m *ListObjectsRequest) GetPlugin() string
- func (m *ListObjectsRequest) GetPrefix() string
- func (*ListObjectsRequest) ProtoMessage()
- func (m *ListObjectsRequest) Reset()
- func (m *ListObjectsRequest) String() string
- type ListObjectsResponse
- type ListPluginsResponse
- type ObjectExistsRequest
- func (*ObjectExistsRequest) Descriptor() ([]byte, []int)
- func (m *ObjectExistsRequest) GetBucket() string
- func (m *ObjectExistsRequest) GetKey() string
- func (m *ObjectExistsRequest) GetPlugin() string
- func (*ObjectExistsRequest) ProtoMessage()
- func (m *ObjectExistsRequest) Reset()
- func (m *ObjectExistsRequest) String() string
- type ObjectExistsResponse
- type ObjectStoreClient
- type ObjectStoreInitRequest
- func (*ObjectStoreInitRequest) Descriptor() ([]byte, []int)
- func (m *ObjectStoreInitRequest) GetConfig() map[string]string
- func (m *ObjectStoreInitRequest) GetPlugin() string
- func (*ObjectStoreInitRequest) ProtoMessage()
- func (m *ObjectStoreInitRequest) Reset()
- func (m *ObjectStoreInitRequest) String() string
- type ObjectStoreServer
- type ObjectStore_GetObjectClient
- type ObjectStore_GetObjectServer
- type ObjectStore_PutObjectClient
- type ObjectStore_PutObjectServer
- type PluginIdentifier
- func (*PluginIdentifier) Descriptor() ([]byte, []int)
- func (m *PluginIdentifier) GetCommand() string
- func (m *PluginIdentifier) GetKind() string
- func (m *PluginIdentifier) GetName() string
- func (*PluginIdentifier) ProtoMessage()
- func (m *PluginIdentifier) Reset()
- func (m *PluginIdentifier) String() string
- type PluginListerClient
- type PluginListerServer
- type PutObjectRequest
- func (*PutObjectRequest) Descriptor() ([]byte, []int)
- func (m *PutObjectRequest) GetBody() []byte
- func (m *PutObjectRequest) GetBucket() string
- func (m *PutObjectRequest) GetKey() string
- func (m *PutObjectRequest) GetPlugin() string
- func (*PutObjectRequest) ProtoMessage()
- func (m *PutObjectRequest) Reset()
- func (m *PutObjectRequest) String() string
- type ResourceIdentifier
- func (*ResourceIdentifier) Descriptor() ([]byte, []int)
- func (m *ResourceIdentifier) GetGroup() string
- func (m *ResourceIdentifier) GetName() string
- func (m *ResourceIdentifier) GetNamespace() string
- func (m *ResourceIdentifier) GetResource() string
- func (*ResourceIdentifier) ProtoMessage()
- func (m *ResourceIdentifier) Reset()
- func (m *ResourceIdentifier) String() string
- type ResourceSelector
- func (*ResourceSelector) Descriptor() ([]byte, []int)
- func (m *ResourceSelector) GetExcludedNamespaces() []string
- func (m *ResourceSelector) GetExcludedResources() []string
- func (m *ResourceSelector) GetIncludedNamespaces() []string
- func (m *ResourceSelector) GetIncludedResources() []string
- func (m *ResourceSelector) GetSelector() string
- func (*ResourceSelector) ProtoMessage()
- func (m *ResourceSelector) Reset()
- func (m *ResourceSelector) String() string
- type RestoreItemActionAppliesToRequest
- func (*RestoreItemActionAppliesToRequest) Descriptor() ([]byte, []int)
- func (m *RestoreItemActionAppliesToRequest) GetPlugin() string
- func (*RestoreItemActionAppliesToRequest) ProtoMessage()
- func (m *RestoreItemActionAppliesToRequest) Reset()
- func (m *RestoreItemActionAppliesToRequest) String() string
- type RestoreItemActionAppliesToResponse
- func (*RestoreItemActionAppliesToResponse) Descriptor() ([]byte, []int)
- func (m *RestoreItemActionAppliesToResponse) GetResourceSelector() *ResourceSelector
- func (*RestoreItemActionAppliesToResponse) ProtoMessage()
- func (m *RestoreItemActionAppliesToResponse) Reset()
- func (m *RestoreItemActionAppliesToResponse) String() string
- type RestoreItemActionClient
- type RestoreItemActionExecuteRequest
- func (*RestoreItemActionExecuteRequest) Descriptor() ([]byte, []int)
- func (m *RestoreItemActionExecuteRequest) GetItem() []byte
- func (m *RestoreItemActionExecuteRequest) GetItemFromBackup() []byte
- func (m *RestoreItemActionExecuteRequest) GetPlugin() string
- func (m *RestoreItemActionExecuteRequest) GetRestore() []byte
- func (*RestoreItemActionExecuteRequest) ProtoMessage()
- func (m *RestoreItemActionExecuteRequest) Reset()
- func (m *RestoreItemActionExecuteRequest) String() string
- type RestoreItemActionExecuteResponse
- func (*RestoreItemActionExecuteResponse) Descriptor() ([]byte, []int)
- func (m *RestoreItemActionExecuteResponse) GetAdditionalItems() []*ResourceIdentifier
- func (m *RestoreItemActionExecuteResponse) GetItem() []byte
- func (m *RestoreItemActionExecuteResponse) GetSkipRestore() bool
- func (*RestoreItemActionExecuteResponse) ProtoMessage()
- func (m *RestoreItemActionExecuteResponse) Reset()
- func (m *RestoreItemActionExecuteResponse) String() string
- type RestoreItemActionServer
- type SetVolumeIDRequest
- func (*SetVolumeIDRequest) Descriptor() ([]byte, []int)
- func (m *SetVolumeIDRequest) GetPersistentVolume() []byte
- func (m *SetVolumeIDRequest) GetPlugin() string
- func (m *SetVolumeIDRequest) GetVolumeID() string
- func (*SetVolumeIDRequest) ProtoMessage()
- func (m *SetVolumeIDRequest) Reset()
- func (m *SetVolumeIDRequest) String() string
- type SetVolumeIDResponse
- type Stack
- type StackFrame
- type VolumeSnapshotterClient
- type VolumeSnapshotterInitRequest
- func (*VolumeSnapshotterInitRequest) Descriptor() ([]byte, []int)
- func (m *VolumeSnapshotterInitRequest) GetConfig() map[string]string
- func (m *VolumeSnapshotterInitRequest) GetPlugin() string
- func (*VolumeSnapshotterInitRequest) ProtoMessage()
- func (m *VolumeSnapshotterInitRequest) Reset()
- func (m *VolumeSnapshotterInitRequest) String() string
- type VolumeSnapshotterServer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterBackupItemActionServer ¶
func RegisterBackupItemActionServer(s *grpc.Server, srv BackupItemActionServer)
func RegisterDeleteItemActionServer ¶ added in v1.5.0
func RegisterDeleteItemActionServer(s *grpc.Server, srv DeleteItemActionServer)
func RegisterObjectStoreServer ¶
func RegisterObjectStoreServer(s *grpc.Server, srv ObjectStoreServer)
func RegisterPluginListerServer ¶ added in v0.10.0
func RegisterPluginListerServer(s *grpc.Server, srv PluginListerServer)
func RegisterRestoreItemActionServer ¶
func RegisterRestoreItemActionServer(s *grpc.Server, srv RestoreItemActionServer)
func RegisterVolumeSnapshotterServer ¶ added in v1.0.0
func RegisterVolumeSnapshotterServer(s *grpc.Server, srv VolumeSnapshotterServer)
Types ¶
type BackupItemActionAppliesToRequest ¶ added in v1.0.0
type BackupItemActionAppliesToRequest struct {
Plugin string `protobuf:"bytes,1,opt,name=plugin" json:"plugin,omitempty"`
}
func (*BackupItemActionAppliesToRequest) Descriptor ¶ added in v1.0.0
func (*BackupItemActionAppliesToRequest) Descriptor() ([]byte, []int)
func (*BackupItemActionAppliesToRequest) GetPlugin ¶ added in v1.0.0
func (m *BackupItemActionAppliesToRequest) GetPlugin() string
func (*BackupItemActionAppliesToRequest) ProtoMessage ¶ added in v1.0.0
func (*BackupItemActionAppliesToRequest) ProtoMessage()
func (*BackupItemActionAppliesToRequest) Reset ¶ added in v1.0.0
func (m *BackupItemActionAppliesToRequest) Reset()
func (*BackupItemActionAppliesToRequest) String ¶ added in v1.0.0
func (m *BackupItemActionAppliesToRequest) String() string
type BackupItemActionAppliesToResponse ¶ added in v1.0.0
type BackupItemActionAppliesToResponse struct {
ResourceSelector *ResourceSelector `protobuf:"bytes,1,opt,name=ResourceSelector" json:"ResourceSelector,omitempty"`
}
func (*BackupItemActionAppliesToResponse) Descriptor ¶ added in v1.0.0
func (*BackupItemActionAppliesToResponse) Descriptor() ([]byte, []int)
func (*BackupItemActionAppliesToResponse) GetResourceSelector ¶ added in v1.0.0
func (m *BackupItemActionAppliesToResponse) GetResourceSelector() *ResourceSelector
func (*BackupItemActionAppliesToResponse) ProtoMessage ¶ added in v1.0.0
func (*BackupItemActionAppliesToResponse) ProtoMessage()
func (*BackupItemActionAppliesToResponse) Reset ¶ added in v1.0.0
func (m *BackupItemActionAppliesToResponse) Reset()
func (*BackupItemActionAppliesToResponse) String ¶ added in v1.0.0
func (m *BackupItemActionAppliesToResponse) String() string
type BackupItemActionClient ¶
type BackupItemActionClient interface { AppliesTo(ctx context.Context, in *BackupItemActionAppliesToRequest, opts ...grpc.CallOption) (*BackupItemActionAppliesToResponse, error) Execute(ctx context.Context, in *ExecuteRequest, opts ...grpc.CallOption) (*ExecuteResponse, error) }
func NewBackupItemActionClient ¶
func NewBackupItemActionClient(cc *grpc.ClientConn) BackupItemActionClient
type BackupItemActionServer ¶
type BackupItemActionServer interface { AppliesTo(context.Context, *BackupItemActionAppliesToRequest) (*BackupItemActionAppliesToResponse, error) Execute(context.Context, *ExecuteRequest) (*ExecuteResponse, error) }
type Bytes ¶
type Bytes struct {
Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
}
func (*Bytes) Descriptor ¶
func (*Bytes) ProtoMessage ¶
func (*Bytes) ProtoMessage()
type CreateSignedURLRequest ¶
type CreateSignedURLRequest struct { Plugin string `protobuf:"bytes,1,opt,name=plugin" json:"plugin,omitempty"` Bucket string `protobuf:"bytes,2,opt,name=bucket" json:"bucket,omitempty"` Key string `protobuf:"bytes,3,opt,name=key" json:"key,omitempty"` Ttl int64 `protobuf:"varint,4,opt,name=ttl" json:"ttl,omitempty"` }
func (*CreateSignedURLRequest) Descriptor ¶
func (*CreateSignedURLRequest) Descriptor() ([]byte, []int)
func (*CreateSignedURLRequest) GetBucket ¶
func (m *CreateSignedURLRequest) GetBucket() string
func (*CreateSignedURLRequest) GetKey ¶
func (m *CreateSignedURLRequest) GetKey() string
func (*CreateSignedURLRequest) GetPlugin ¶ added in v0.10.0
func (m *CreateSignedURLRequest) GetPlugin() string
func (*CreateSignedURLRequest) GetTtl ¶
func (m *CreateSignedURLRequest) GetTtl() int64
func (*CreateSignedURLRequest) ProtoMessage ¶
func (*CreateSignedURLRequest) ProtoMessage()
func (*CreateSignedURLRequest) Reset ¶
func (m *CreateSignedURLRequest) Reset()
func (*CreateSignedURLRequest) String ¶
func (m *CreateSignedURLRequest) String() string
type CreateSignedURLResponse ¶
type CreateSignedURLResponse struct {
Url string `protobuf:"bytes,1,opt,name=url" json:"url,omitempty"`
}
func (*CreateSignedURLResponse) Descriptor ¶
func (*CreateSignedURLResponse) Descriptor() ([]byte, []int)
func (*CreateSignedURLResponse) GetUrl ¶
func (m *CreateSignedURLResponse) GetUrl() string
func (*CreateSignedURLResponse) ProtoMessage ¶
func (*CreateSignedURLResponse) ProtoMessage()
func (*CreateSignedURLResponse) Reset ¶
func (m *CreateSignedURLResponse) Reset()
func (*CreateSignedURLResponse) String ¶
func (m *CreateSignedURLResponse) String() string
type CreateSnapshotRequest ¶
type CreateSnapshotRequest struct { Plugin string `protobuf:"bytes,1,opt,name=plugin" json:"plugin,omitempty"` VolumeID string `protobuf:"bytes,2,opt,name=volumeID" json:"volumeID,omitempty"` VolumeAZ string `protobuf:"bytes,3,opt,name=volumeAZ" json:"volumeAZ,omitempty"` Tags map[string]string `` /* 128-byte string literal not displayed */ }
func (*CreateSnapshotRequest) Descriptor ¶
func (*CreateSnapshotRequest) Descriptor() ([]byte, []int)
func (*CreateSnapshotRequest) GetPlugin ¶ added in v0.10.0
func (m *CreateSnapshotRequest) GetPlugin() string
func (*CreateSnapshotRequest) GetTags ¶
func (m *CreateSnapshotRequest) GetTags() map[string]string
func (*CreateSnapshotRequest) GetVolumeAZ ¶
func (m *CreateSnapshotRequest) GetVolumeAZ() string
func (*CreateSnapshotRequest) GetVolumeID ¶
func (m *CreateSnapshotRequest) GetVolumeID() string
func (*CreateSnapshotRequest) ProtoMessage ¶
func (*CreateSnapshotRequest) ProtoMessage()
func (*CreateSnapshotRequest) Reset ¶
func (m *CreateSnapshotRequest) Reset()
func (*CreateSnapshotRequest) String ¶
func (m *CreateSnapshotRequest) String() string
type CreateSnapshotResponse ¶
type CreateSnapshotResponse struct {
SnapshotID string `protobuf:"bytes,1,opt,name=snapshotID" json:"snapshotID,omitempty"`
}
func (*CreateSnapshotResponse) Descriptor ¶
func (*CreateSnapshotResponse) Descriptor() ([]byte, []int)
func (*CreateSnapshotResponse) GetSnapshotID ¶
func (m *CreateSnapshotResponse) GetSnapshotID() string
func (*CreateSnapshotResponse) ProtoMessage ¶
func (*CreateSnapshotResponse) ProtoMessage()
func (*CreateSnapshotResponse) Reset ¶
func (m *CreateSnapshotResponse) Reset()
func (*CreateSnapshotResponse) String ¶
func (m *CreateSnapshotResponse) String() string
type CreateVolumeRequest ¶
type CreateVolumeRequest struct { Plugin string `protobuf:"bytes,1,opt,name=plugin" json:"plugin,omitempty"` SnapshotID string `protobuf:"bytes,2,opt,name=snapshotID" json:"snapshotID,omitempty"` VolumeType string `protobuf:"bytes,3,opt,name=volumeType" json:"volumeType,omitempty"` VolumeAZ string `protobuf:"bytes,4,opt,name=volumeAZ" json:"volumeAZ,omitempty"` Iops int64 `protobuf:"varint,5,opt,name=iops" json:"iops,omitempty"` }
func (*CreateVolumeRequest) Descriptor ¶
func (*CreateVolumeRequest) Descriptor() ([]byte, []int)
func (*CreateVolumeRequest) GetIops ¶
func (m *CreateVolumeRequest) GetIops() int64
func (*CreateVolumeRequest) GetPlugin ¶ added in v0.10.0
func (m *CreateVolumeRequest) GetPlugin() string
func (*CreateVolumeRequest) GetSnapshotID ¶
func (m *CreateVolumeRequest) GetSnapshotID() string
func (*CreateVolumeRequest) GetVolumeAZ ¶
func (m *CreateVolumeRequest) GetVolumeAZ() string
func (*CreateVolumeRequest) GetVolumeType ¶
func (m *CreateVolumeRequest) GetVolumeType() string
func (*CreateVolumeRequest) ProtoMessage ¶
func (*CreateVolumeRequest) ProtoMessage()
func (*CreateVolumeRequest) Reset ¶
func (m *CreateVolumeRequest) Reset()
func (*CreateVolumeRequest) String ¶
func (m *CreateVolumeRequest) String() string
type CreateVolumeResponse ¶
type CreateVolumeResponse struct {
VolumeID string `protobuf:"bytes,1,opt,name=volumeID" json:"volumeID,omitempty"`
}
func (*CreateVolumeResponse) Descriptor ¶
func (*CreateVolumeResponse) Descriptor() ([]byte, []int)
func (*CreateVolumeResponse) GetVolumeID ¶
func (m *CreateVolumeResponse) GetVolumeID() string
func (*CreateVolumeResponse) ProtoMessage ¶
func (*CreateVolumeResponse) ProtoMessage()
func (*CreateVolumeResponse) Reset ¶
func (m *CreateVolumeResponse) Reset()
func (*CreateVolumeResponse) String ¶
func (m *CreateVolumeResponse) String() string
type DeleteItemActionAppliesToRequest ¶ added in v1.5.0
type DeleteItemActionAppliesToRequest struct {
Plugin string `protobuf:"bytes,1,opt,name=plugin" json:"plugin,omitempty"`
}
func (*DeleteItemActionAppliesToRequest) Descriptor ¶ added in v1.5.0
func (*DeleteItemActionAppliesToRequest) Descriptor() ([]byte, []int)
func (*DeleteItemActionAppliesToRequest) GetPlugin ¶ added in v1.5.0
func (m *DeleteItemActionAppliesToRequest) GetPlugin() string
func (*DeleteItemActionAppliesToRequest) ProtoMessage ¶ added in v1.5.0
func (*DeleteItemActionAppliesToRequest) ProtoMessage()
func (*DeleteItemActionAppliesToRequest) Reset ¶ added in v1.5.0
func (m *DeleteItemActionAppliesToRequest) Reset()
func (*DeleteItemActionAppliesToRequest) String ¶ added in v1.5.0
func (m *DeleteItemActionAppliesToRequest) String() string
type DeleteItemActionAppliesToResponse ¶ added in v1.5.0
type DeleteItemActionAppliesToResponse struct {
ResourceSelector *ResourceSelector `protobuf:"bytes,1,opt,name=ResourceSelector" json:"ResourceSelector,omitempty"`
}
func (*DeleteItemActionAppliesToResponse) Descriptor ¶ added in v1.5.0
func (*DeleteItemActionAppliesToResponse) Descriptor() ([]byte, []int)
func (*DeleteItemActionAppliesToResponse) GetResourceSelector ¶ added in v1.5.0
func (m *DeleteItemActionAppliesToResponse) GetResourceSelector() *ResourceSelector
func (*DeleteItemActionAppliesToResponse) ProtoMessage ¶ added in v1.5.0
func (*DeleteItemActionAppliesToResponse) ProtoMessage()
func (*DeleteItemActionAppliesToResponse) Reset ¶ added in v1.5.0
func (m *DeleteItemActionAppliesToResponse) Reset()
func (*DeleteItemActionAppliesToResponse) String ¶ added in v1.5.0
func (m *DeleteItemActionAppliesToResponse) String() string
type DeleteItemActionClient ¶ added in v1.5.0
type DeleteItemActionClient interface { AppliesTo(ctx context.Context, in *DeleteItemActionAppliesToRequest, opts ...grpc.CallOption) (*DeleteItemActionAppliesToResponse, error) Execute(ctx context.Context, in *DeleteItemActionExecuteRequest, opts ...grpc.CallOption) (*Empty, error) }
func NewDeleteItemActionClient ¶ added in v1.5.0
func NewDeleteItemActionClient(cc *grpc.ClientConn) DeleteItemActionClient
type DeleteItemActionExecuteRequest ¶ added in v1.5.0
type DeleteItemActionExecuteRequest struct { Plugin string `protobuf:"bytes,1,opt,name=plugin" json:"plugin,omitempty"` Item []byte `protobuf:"bytes,2,opt,name=item,proto3" json:"item,omitempty"` Backup []byte `protobuf:"bytes,3,opt,name=backup,proto3" json:"backup,omitempty"` }
func (*DeleteItemActionExecuteRequest) Descriptor ¶ added in v1.5.0
func (*DeleteItemActionExecuteRequest) Descriptor() ([]byte, []int)
func (*DeleteItemActionExecuteRequest) GetBackup ¶ added in v1.5.0
func (m *DeleteItemActionExecuteRequest) GetBackup() []byte
func (*DeleteItemActionExecuteRequest) GetItem ¶ added in v1.5.0
func (m *DeleteItemActionExecuteRequest) GetItem() []byte
func (*DeleteItemActionExecuteRequest) GetPlugin ¶ added in v1.5.0
func (m *DeleteItemActionExecuteRequest) GetPlugin() string
func (*DeleteItemActionExecuteRequest) ProtoMessage ¶ added in v1.5.0
func (*DeleteItemActionExecuteRequest) ProtoMessage()
func (*DeleteItemActionExecuteRequest) Reset ¶ added in v1.5.0
func (m *DeleteItemActionExecuteRequest) Reset()
func (*DeleteItemActionExecuteRequest) String ¶ added in v1.5.0
func (m *DeleteItemActionExecuteRequest) String() string
type DeleteItemActionServer ¶ added in v1.5.0
type DeleteItemActionServer interface { AppliesTo(context.Context, *DeleteItemActionAppliesToRequest) (*DeleteItemActionAppliesToResponse, error) Execute(context.Context, *DeleteItemActionExecuteRequest) (*Empty, error) }
type DeleteObjectRequest ¶
type DeleteObjectRequest struct { Plugin string `protobuf:"bytes,1,opt,name=plugin" json:"plugin,omitempty"` Bucket string `protobuf:"bytes,2,opt,name=bucket" json:"bucket,omitempty"` Key string `protobuf:"bytes,3,opt,name=key" json:"key,omitempty"` }
func (*DeleteObjectRequest) Descriptor ¶
func (*DeleteObjectRequest) Descriptor() ([]byte, []int)
func (*DeleteObjectRequest) GetBucket ¶
func (m *DeleteObjectRequest) GetBucket() string
func (*DeleteObjectRequest) GetKey ¶
func (m *DeleteObjectRequest) GetKey() string
func (*DeleteObjectRequest) GetPlugin ¶ added in v0.10.0
func (m *DeleteObjectRequest) GetPlugin() string
func (*DeleteObjectRequest) ProtoMessage ¶
func (*DeleteObjectRequest) ProtoMessage()
func (*DeleteObjectRequest) Reset ¶
func (m *DeleteObjectRequest) Reset()
func (*DeleteObjectRequest) String ¶
func (m *DeleteObjectRequest) String() string
type DeleteSnapshotRequest ¶
type DeleteSnapshotRequest struct { Plugin string `protobuf:"bytes,1,opt,name=plugin" json:"plugin,omitempty"` SnapshotID string `protobuf:"bytes,2,opt,name=snapshotID" json:"snapshotID,omitempty"` }
func (*DeleteSnapshotRequest) Descriptor ¶
func (*DeleteSnapshotRequest) Descriptor() ([]byte, []int)
func (*DeleteSnapshotRequest) GetPlugin ¶ added in v0.10.0
func (m *DeleteSnapshotRequest) GetPlugin() string
func (*DeleteSnapshotRequest) GetSnapshotID ¶
func (m *DeleteSnapshotRequest) GetSnapshotID() string
func (*DeleteSnapshotRequest) ProtoMessage ¶
func (*DeleteSnapshotRequest) ProtoMessage()
func (*DeleteSnapshotRequest) Reset ¶
func (m *DeleteSnapshotRequest) Reset()
func (*DeleteSnapshotRequest) String ¶
func (m *DeleteSnapshotRequest) String() string
type Empty ¶
type Empty struct { }
func (*Empty) Descriptor ¶
func (*Empty) ProtoMessage ¶
func (*Empty) ProtoMessage()
type ExecuteRequest ¶
type ExecuteRequest struct { Plugin string `protobuf:"bytes,1,opt,name=plugin" json:"plugin,omitempty"` Item []byte `protobuf:"bytes,2,opt,name=item,proto3" json:"item,omitempty"` Backup []byte `protobuf:"bytes,3,opt,name=backup,proto3" json:"backup,omitempty"` }
func (*ExecuteRequest) Descriptor ¶
func (*ExecuteRequest) Descriptor() ([]byte, []int)
func (*ExecuteRequest) GetBackup ¶
func (m *ExecuteRequest) GetBackup() []byte
func (*ExecuteRequest) GetItem ¶
func (m *ExecuteRequest) GetItem() []byte
func (*ExecuteRequest) GetPlugin ¶ added in v0.10.0
func (m *ExecuteRequest) GetPlugin() string
func (*ExecuteRequest) ProtoMessage ¶
func (*ExecuteRequest) ProtoMessage()
func (*ExecuteRequest) Reset ¶
func (m *ExecuteRequest) Reset()
func (*ExecuteRequest) String ¶
func (m *ExecuteRequest) String() string
type ExecuteResponse ¶
type ExecuteResponse struct { Item []byte `protobuf:"bytes,1,opt,name=item,proto3" json:"item,omitempty"` AdditionalItems []*ResourceIdentifier `protobuf:"bytes,2,rep,name=additionalItems" json:"additionalItems,omitempty"` }
func (*ExecuteResponse) Descriptor ¶
func (*ExecuteResponse) Descriptor() ([]byte, []int)
func (*ExecuteResponse) GetAdditionalItems ¶
func (m *ExecuteResponse) GetAdditionalItems() []*ResourceIdentifier
func (*ExecuteResponse) GetItem ¶
func (m *ExecuteResponse) GetItem() []byte
func (*ExecuteResponse) ProtoMessage ¶
func (*ExecuteResponse) ProtoMessage()
func (*ExecuteResponse) Reset ¶
func (m *ExecuteResponse) Reset()
func (*ExecuteResponse) String ¶
func (m *ExecuteResponse) String() string
type GetObjectRequest ¶
type GetObjectRequest struct { Plugin string `protobuf:"bytes,1,opt,name=plugin" json:"plugin,omitempty"` Bucket string `protobuf:"bytes,2,opt,name=bucket" json:"bucket,omitempty"` Key string `protobuf:"bytes,3,opt,name=key" json:"key,omitempty"` }
func (*GetObjectRequest) Descriptor ¶
func (*GetObjectRequest) Descriptor() ([]byte, []int)
func (*GetObjectRequest) GetBucket ¶
func (m *GetObjectRequest) GetBucket() string
func (*GetObjectRequest) GetKey ¶
func (m *GetObjectRequest) GetKey() string
func (*GetObjectRequest) GetPlugin ¶ added in v0.10.0
func (m *GetObjectRequest) GetPlugin() string
func (*GetObjectRequest) ProtoMessage ¶
func (*GetObjectRequest) ProtoMessage()
func (*GetObjectRequest) Reset ¶
func (m *GetObjectRequest) Reset()
func (*GetObjectRequest) String ¶
func (m *GetObjectRequest) String() string
type GetVolumeIDRequest ¶
type GetVolumeIDRequest struct { Plugin string `protobuf:"bytes,1,opt,name=plugin" json:"plugin,omitempty"` PersistentVolume []byte `protobuf:"bytes,2,opt,name=persistentVolume,proto3" json:"persistentVolume,omitempty"` }
func (*GetVolumeIDRequest) Descriptor ¶
func (*GetVolumeIDRequest) Descriptor() ([]byte, []int)
func (*GetVolumeIDRequest) GetPersistentVolume ¶
func (m *GetVolumeIDRequest) GetPersistentVolume() []byte
func (*GetVolumeIDRequest) GetPlugin ¶ added in v0.10.0
func (m *GetVolumeIDRequest) GetPlugin() string
func (*GetVolumeIDRequest) ProtoMessage ¶
func (*GetVolumeIDRequest) ProtoMessage()
func (*GetVolumeIDRequest) Reset ¶
func (m *GetVolumeIDRequest) Reset()
func (*GetVolumeIDRequest) String ¶
func (m *GetVolumeIDRequest) String() string
type GetVolumeIDResponse ¶
type GetVolumeIDResponse struct {
VolumeID string `protobuf:"bytes,1,opt,name=volumeID" json:"volumeID,omitempty"`
}
func (*GetVolumeIDResponse) Descriptor ¶
func (*GetVolumeIDResponse) Descriptor() ([]byte, []int)
func (*GetVolumeIDResponse) GetVolumeID ¶
func (m *GetVolumeIDResponse) GetVolumeID() string
func (*GetVolumeIDResponse) ProtoMessage ¶
func (*GetVolumeIDResponse) ProtoMessage()
func (*GetVolumeIDResponse) Reset ¶
func (m *GetVolumeIDResponse) Reset()
func (*GetVolumeIDResponse) String ¶
func (m *GetVolumeIDResponse) String() string
type GetVolumeInfoRequest ¶
type GetVolumeInfoRequest struct { Plugin string `protobuf:"bytes,1,opt,name=plugin" json:"plugin,omitempty"` VolumeID string `protobuf:"bytes,2,opt,name=volumeID" json:"volumeID,omitempty"` VolumeAZ string `protobuf:"bytes,3,opt,name=volumeAZ" json:"volumeAZ,omitempty"` }
func (*GetVolumeInfoRequest) Descriptor ¶
func (*GetVolumeInfoRequest) Descriptor() ([]byte, []int)
func (*GetVolumeInfoRequest) GetPlugin ¶ added in v0.10.0
func (m *GetVolumeInfoRequest) GetPlugin() string
func (*GetVolumeInfoRequest) GetVolumeAZ ¶
func (m *GetVolumeInfoRequest) GetVolumeAZ() string
func (*GetVolumeInfoRequest) GetVolumeID ¶
func (m *GetVolumeInfoRequest) GetVolumeID() string
func (*GetVolumeInfoRequest) ProtoMessage ¶
func (*GetVolumeInfoRequest) ProtoMessage()
func (*GetVolumeInfoRequest) Reset ¶
func (m *GetVolumeInfoRequest) Reset()
func (*GetVolumeInfoRequest) String ¶
func (m *GetVolumeInfoRequest) String() string
type GetVolumeInfoResponse ¶
type GetVolumeInfoResponse struct { VolumeType string `protobuf:"bytes,1,opt,name=volumeType" json:"volumeType,omitempty"` Iops int64 `protobuf:"varint,2,opt,name=iops" json:"iops,omitempty"` }
func (*GetVolumeInfoResponse) Descriptor ¶
func (*GetVolumeInfoResponse) Descriptor() ([]byte, []int)
func (*GetVolumeInfoResponse) GetIops ¶
func (m *GetVolumeInfoResponse) GetIops() int64
func (*GetVolumeInfoResponse) GetVolumeType ¶
func (m *GetVolumeInfoResponse) GetVolumeType() string
func (*GetVolumeInfoResponse) ProtoMessage ¶
func (*GetVolumeInfoResponse) ProtoMessage()
func (*GetVolumeInfoResponse) Reset ¶
func (m *GetVolumeInfoResponse) Reset()
func (*GetVolumeInfoResponse) String ¶
func (m *GetVolumeInfoResponse) String() string
type ListCommonPrefixesRequest ¶
type ListCommonPrefixesRequest struct { Plugin string `protobuf:"bytes,1,opt,name=plugin" json:"plugin,omitempty"` Bucket string `protobuf:"bytes,2,opt,name=bucket" json:"bucket,omitempty"` Delimiter string `protobuf:"bytes,3,opt,name=delimiter" json:"delimiter,omitempty"` Prefix string `protobuf:"bytes,4,opt,name=prefix" json:"prefix,omitempty"` }
func (*ListCommonPrefixesRequest) Descriptor ¶
func (*ListCommonPrefixesRequest) Descriptor() ([]byte, []int)
func (*ListCommonPrefixesRequest) GetBucket ¶
func (m *ListCommonPrefixesRequest) GetBucket() string
func (*ListCommonPrefixesRequest) GetDelimiter ¶
func (m *ListCommonPrefixesRequest) GetDelimiter() string
func (*ListCommonPrefixesRequest) GetPlugin ¶ added in v0.10.0
func (m *ListCommonPrefixesRequest) GetPlugin() string
func (*ListCommonPrefixesRequest) GetPrefix ¶ added in v0.10.0
func (m *ListCommonPrefixesRequest) GetPrefix() string
func (*ListCommonPrefixesRequest) ProtoMessage ¶
func (*ListCommonPrefixesRequest) ProtoMessage()
func (*ListCommonPrefixesRequest) Reset ¶
func (m *ListCommonPrefixesRequest) Reset()
func (*ListCommonPrefixesRequest) String ¶
func (m *ListCommonPrefixesRequest) String() string
type ListCommonPrefixesResponse ¶
type ListCommonPrefixesResponse struct {
Prefixes []string `protobuf:"bytes,1,rep,name=prefixes" json:"prefixes,omitempty"`
}
func (*ListCommonPrefixesResponse) Descriptor ¶
func (*ListCommonPrefixesResponse) Descriptor() ([]byte, []int)
func (*ListCommonPrefixesResponse) GetPrefixes ¶
func (m *ListCommonPrefixesResponse) GetPrefixes() []string
func (*ListCommonPrefixesResponse) ProtoMessage ¶
func (*ListCommonPrefixesResponse) ProtoMessage()
func (*ListCommonPrefixesResponse) Reset ¶
func (m *ListCommonPrefixesResponse) Reset()
func (*ListCommonPrefixesResponse) String ¶
func (m *ListCommonPrefixesResponse) String() string
type ListObjectsRequest ¶
type ListObjectsRequest struct { Plugin string `protobuf:"bytes,1,opt,name=plugin" json:"plugin,omitempty"` Bucket string `protobuf:"bytes,2,opt,name=bucket" json:"bucket,omitempty"` Prefix string `protobuf:"bytes,3,opt,name=prefix" json:"prefix,omitempty"` }
func (*ListObjectsRequest) Descriptor ¶
func (*ListObjectsRequest) Descriptor() ([]byte, []int)
func (*ListObjectsRequest) GetBucket ¶
func (m *ListObjectsRequest) GetBucket() string
func (*ListObjectsRequest) GetPlugin ¶ added in v0.10.0
func (m *ListObjectsRequest) GetPlugin() string
func (*ListObjectsRequest) GetPrefix ¶
func (m *ListObjectsRequest) GetPrefix() string
func (*ListObjectsRequest) ProtoMessage ¶
func (*ListObjectsRequest) ProtoMessage()
func (*ListObjectsRequest) Reset ¶
func (m *ListObjectsRequest) Reset()
func (*ListObjectsRequest) String ¶
func (m *ListObjectsRequest) String() string
type ListObjectsResponse ¶
type ListObjectsResponse struct {
Keys []string `protobuf:"bytes,1,rep,name=keys" json:"keys,omitempty"`
}
func (*ListObjectsResponse) Descriptor ¶
func (*ListObjectsResponse) Descriptor() ([]byte, []int)
func (*ListObjectsResponse) GetKeys ¶
func (m *ListObjectsResponse) GetKeys() []string
func (*ListObjectsResponse) ProtoMessage ¶
func (*ListObjectsResponse) ProtoMessage()
func (*ListObjectsResponse) Reset ¶
func (m *ListObjectsResponse) Reset()
func (*ListObjectsResponse) String ¶
func (m *ListObjectsResponse) String() string
type ListPluginsResponse ¶ added in v0.10.0
type ListPluginsResponse struct {
Plugins []*PluginIdentifier `protobuf:"bytes,1,rep,name=plugins" json:"plugins,omitempty"`
}
func (*ListPluginsResponse) Descriptor ¶ added in v0.10.0
func (*ListPluginsResponse) Descriptor() ([]byte, []int)
func (*ListPluginsResponse) GetPlugins ¶ added in v0.10.0
func (m *ListPluginsResponse) GetPlugins() []*PluginIdentifier
func (*ListPluginsResponse) ProtoMessage ¶ added in v0.10.0
func (*ListPluginsResponse) ProtoMessage()
func (*ListPluginsResponse) Reset ¶ added in v0.10.0
func (m *ListPluginsResponse) Reset()
func (*ListPluginsResponse) String ¶ added in v0.10.0
func (m *ListPluginsResponse) String() string
type ObjectExistsRequest ¶ added in v1.0.0
type ObjectExistsRequest struct { Plugin string `protobuf:"bytes,1,opt,name=plugin" json:"plugin,omitempty"` Bucket string `protobuf:"bytes,2,opt,name=bucket" json:"bucket,omitempty"` Key string `protobuf:"bytes,3,opt,name=key" json:"key,omitempty"` }
func (*ObjectExistsRequest) Descriptor ¶ added in v1.0.0
func (*ObjectExistsRequest) Descriptor() ([]byte, []int)
func (*ObjectExistsRequest) GetBucket ¶ added in v1.0.0
func (m *ObjectExistsRequest) GetBucket() string
func (*ObjectExistsRequest) GetKey ¶ added in v1.0.0
func (m *ObjectExistsRequest) GetKey() string
func (*ObjectExistsRequest) GetPlugin ¶ added in v1.0.0
func (m *ObjectExistsRequest) GetPlugin() string
func (*ObjectExistsRequest) ProtoMessage ¶ added in v1.0.0
func (*ObjectExistsRequest) ProtoMessage()
func (*ObjectExistsRequest) Reset ¶ added in v1.0.0
func (m *ObjectExistsRequest) Reset()
func (*ObjectExistsRequest) String ¶ added in v1.0.0
func (m *ObjectExistsRequest) String() string
type ObjectExistsResponse ¶ added in v1.0.0
type ObjectExistsResponse struct {
Exists bool `protobuf:"varint,1,opt,name=exists" json:"exists,omitempty"`
}
func (*ObjectExistsResponse) Descriptor ¶ added in v1.0.0
func (*ObjectExistsResponse) Descriptor() ([]byte, []int)
func (*ObjectExistsResponse) GetExists ¶ added in v1.0.0
func (m *ObjectExistsResponse) GetExists() bool
func (*ObjectExistsResponse) ProtoMessage ¶ added in v1.0.0
func (*ObjectExistsResponse) ProtoMessage()
func (*ObjectExistsResponse) Reset ¶ added in v1.0.0
func (m *ObjectExistsResponse) Reset()
func (*ObjectExistsResponse) String ¶ added in v1.0.0
func (m *ObjectExistsResponse) String() string
type ObjectStoreClient ¶
type ObjectStoreClient interface { Init(ctx context.Context, in *ObjectStoreInitRequest, opts ...grpc.CallOption) (*Empty, error) PutObject(ctx context.Context, opts ...grpc.CallOption) (ObjectStore_PutObjectClient, error) ObjectExists(ctx context.Context, in *ObjectExistsRequest, opts ...grpc.CallOption) (*ObjectExistsResponse, error) GetObject(ctx context.Context, in *GetObjectRequest, opts ...grpc.CallOption) (ObjectStore_GetObjectClient, error) ListCommonPrefixes(ctx context.Context, in *ListCommonPrefixesRequest, opts ...grpc.CallOption) (*ListCommonPrefixesResponse, error) ListObjects(ctx context.Context, in *ListObjectsRequest, opts ...grpc.CallOption) (*ListObjectsResponse, error) DeleteObject(ctx context.Context, in *DeleteObjectRequest, opts ...grpc.CallOption) (*Empty, error) CreateSignedURL(ctx context.Context, in *CreateSignedURLRequest, opts ...grpc.CallOption) (*CreateSignedURLResponse, error) }
func NewObjectStoreClient ¶
func NewObjectStoreClient(cc *grpc.ClientConn) ObjectStoreClient
type ObjectStoreInitRequest ¶ added in v1.0.0
type ObjectStoreInitRequest struct { Plugin string `protobuf:"bytes,1,opt,name=plugin" json:"plugin,omitempty"` Config map[string]string `` /* 132-byte string literal not displayed */ }
func (*ObjectStoreInitRequest) Descriptor ¶ added in v1.0.0
func (*ObjectStoreInitRequest) Descriptor() ([]byte, []int)
func (*ObjectStoreInitRequest) GetConfig ¶ added in v1.0.0
func (m *ObjectStoreInitRequest) GetConfig() map[string]string
func (*ObjectStoreInitRequest) GetPlugin ¶ added in v1.0.0
func (m *ObjectStoreInitRequest) GetPlugin() string
func (*ObjectStoreInitRequest) ProtoMessage ¶ added in v1.0.0
func (*ObjectStoreInitRequest) ProtoMessage()
func (*ObjectStoreInitRequest) Reset ¶ added in v1.0.0
func (m *ObjectStoreInitRequest) Reset()
func (*ObjectStoreInitRequest) String ¶ added in v1.0.0
func (m *ObjectStoreInitRequest) String() string
type ObjectStoreServer ¶
type ObjectStoreServer interface { Init(context.Context, *ObjectStoreInitRequest) (*Empty, error) PutObject(ObjectStore_PutObjectServer) error ObjectExists(context.Context, *ObjectExistsRequest) (*ObjectExistsResponse, error) GetObject(*GetObjectRequest, ObjectStore_GetObjectServer) error ListCommonPrefixes(context.Context, *ListCommonPrefixesRequest) (*ListCommonPrefixesResponse, error) ListObjects(context.Context, *ListObjectsRequest) (*ListObjectsResponse, error) DeleteObject(context.Context, *DeleteObjectRequest) (*Empty, error) CreateSignedURL(context.Context, *CreateSignedURLRequest) (*CreateSignedURLResponse, error) }
type ObjectStore_GetObjectClient ¶
type ObjectStore_GetObjectClient interface { Recv() (*Bytes, error) grpc.ClientStream }
type ObjectStore_GetObjectServer ¶
type ObjectStore_GetObjectServer interface { Send(*Bytes) error grpc.ServerStream }
type ObjectStore_PutObjectClient ¶
type ObjectStore_PutObjectClient interface { Send(*PutObjectRequest) error CloseAndRecv() (*Empty, error) grpc.ClientStream }
type ObjectStore_PutObjectServer ¶
type ObjectStore_PutObjectServer interface { SendAndClose(*Empty) error Recv() (*PutObjectRequest, error) grpc.ServerStream }
type PluginIdentifier ¶ added in v0.10.0
type PluginIdentifier struct { Command string `protobuf:"bytes,1,opt,name=command" json:"command,omitempty"` Kind string `protobuf:"bytes,2,opt,name=kind" json:"kind,omitempty"` Name string `protobuf:"bytes,3,opt,name=name" json:"name,omitempty"` }
func (*PluginIdentifier) Descriptor ¶ added in v0.10.0
func (*PluginIdentifier) Descriptor() ([]byte, []int)
func (*PluginIdentifier) GetCommand ¶ added in v0.10.0
func (m *PluginIdentifier) GetCommand() string
func (*PluginIdentifier) GetKind ¶ added in v0.10.0
func (m *PluginIdentifier) GetKind() string
func (*PluginIdentifier) GetName ¶ added in v0.10.0
func (m *PluginIdentifier) GetName() string
func (*PluginIdentifier) ProtoMessage ¶ added in v0.10.0
func (*PluginIdentifier) ProtoMessage()
func (*PluginIdentifier) Reset ¶ added in v0.10.0
func (m *PluginIdentifier) Reset()
func (*PluginIdentifier) String ¶ added in v0.10.0
func (m *PluginIdentifier) String() string
type PluginListerClient ¶ added in v0.10.0
type PluginListerClient interface {
ListPlugins(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*ListPluginsResponse, error)
}
func NewPluginListerClient ¶ added in v0.10.0
func NewPluginListerClient(cc *grpc.ClientConn) PluginListerClient
type PluginListerServer ¶ added in v0.10.0
type PluginListerServer interface {
ListPlugins(context.Context, *Empty) (*ListPluginsResponse, error)
}
type PutObjectRequest ¶
type PutObjectRequest struct { Plugin string `protobuf:"bytes,1,opt,name=plugin" json:"plugin,omitempty"` Bucket string `protobuf:"bytes,2,opt,name=bucket" json:"bucket,omitempty"` Key string `protobuf:"bytes,3,opt,name=key" json:"key,omitempty"` Body []byte `protobuf:"bytes,4,opt,name=body,proto3" json:"body,omitempty"` }
func (*PutObjectRequest) Descriptor ¶
func (*PutObjectRequest) Descriptor() ([]byte, []int)
func (*PutObjectRequest) GetBody ¶
func (m *PutObjectRequest) GetBody() []byte
func (*PutObjectRequest) GetBucket ¶
func (m *PutObjectRequest) GetBucket() string
func (*PutObjectRequest) GetKey ¶
func (m *PutObjectRequest) GetKey() string
func (*PutObjectRequest) GetPlugin ¶ added in v0.10.0
func (m *PutObjectRequest) GetPlugin() string
func (*PutObjectRequest) ProtoMessage ¶
func (*PutObjectRequest) ProtoMessage()
func (*PutObjectRequest) Reset ¶
func (m *PutObjectRequest) Reset()
func (*PutObjectRequest) String ¶
func (m *PutObjectRequest) String() string
type ResourceIdentifier ¶
type ResourceIdentifier struct { Group string `protobuf:"bytes,1,opt,name=group" json:"group,omitempty"` Resource string `protobuf:"bytes,2,opt,name=resource" json:"resource,omitempty"` Namespace string `protobuf:"bytes,3,opt,name=namespace" json:"namespace,omitempty"` Name string `protobuf:"bytes,4,opt,name=name" json:"name,omitempty"` }
func (*ResourceIdentifier) Descriptor ¶
func (*ResourceIdentifier) Descriptor() ([]byte, []int)
func (*ResourceIdentifier) GetGroup ¶
func (m *ResourceIdentifier) GetGroup() string
func (*ResourceIdentifier) GetName ¶
func (m *ResourceIdentifier) GetName() string
func (*ResourceIdentifier) GetNamespace ¶
func (m *ResourceIdentifier) GetNamespace() string
func (*ResourceIdentifier) GetResource ¶
func (m *ResourceIdentifier) GetResource() string
func (*ResourceIdentifier) ProtoMessage ¶
func (*ResourceIdentifier) ProtoMessage()
func (*ResourceIdentifier) Reset ¶
func (m *ResourceIdentifier) Reset()
func (*ResourceIdentifier) String ¶
func (m *ResourceIdentifier) String() string
type ResourceSelector ¶ added in v1.0.0
type ResourceSelector struct { IncludedNamespaces []string `protobuf:"bytes,1,rep,name=includedNamespaces" json:"includedNamespaces,omitempty"` ExcludedNamespaces []string `protobuf:"bytes,2,rep,name=excludedNamespaces" json:"excludedNamespaces,omitempty"` IncludedResources []string `protobuf:"bytes,3,rep,name=includedResources" json:"includedResources,omitempty"` ExcludedResources []string `protobuf:"bytes,4,rep,name=excludedResources" json:"excludedResources,omitempty"` Selector string `protobuf:"bytes,5,opt,name=selector" json:"selector,omitempty"` }
func (*ResourceSelector) Descriptor ¶ added in v1.0.0
func (*ResourceSelector) Descriptor() ([]byte, []int)
func (*ResourceSelector) GetExcludedNamespaces ¶ added in v1.0.0
func (m *ResourceSelector) GetExcludedNamespaces() []string
func (*ResourceSelector) GetExcludedResources ¶ added in v1.0.0
func (m *ResourceSelector) GetExcludedResources() []string
func (*ResourceSelector) GetIncludedNamespaces ¶ added in v1.0.0
func (m *ResourceSelector) GetIncludedNamespaces() []string
func (*ResourceSelector) GetIncludedResources ¶ added in v1.0.0
func (m *ResourceSelector) GetIncludedResources() []string
func (*ResourceSelector) GetSelector ¶ added in v1.0.0
func (m *ResourceSelector) GetSelector() string
func (*ResourceSelector) ProtoMessage ¶ added in v1.0.0
func (*ResourceSelector) ProtoMessage()
func (*ResourceSelector) Reset ¶ added in v1.0.0
func (m *ResourceSelector) Reset()
func (*ResourceSelector) String ¶ added in v1.0.0
func (m *ResourceSelector) String() string
type RestoreItemActionAppliesToRequest ¶ added in v1.0.0
type RestoreItemActionAppliesToRequest struct {
Plugin string `protobuf:"bytes,1,opt,name=plugin" json:"plugin,omitempty"`
}
func (*RestoreItemActionAppliesToRequest) Descriptor ¶ added in v1.0.0
func (*RestoreItemActionAppliesToRequest) Descriptor() ([]byte, []int)
func (*RestoreItemActionAppliesToRequest) GetPlugin ¶ added in v1.0.0
func (m *RestoreItemActionAppliesToRequest) GetPlugin() string
func (*RestoreItemActionAppliesToRequest) ProtoMessage ¶ added in v1.0.0
func (*RestoreItemActionAppliesToRequest) ProtoMessage()
func (*RestoreItemActionAppliesToRequest) Reset ¶ added in v1.0.0
func (m *RestoreItemActionAppliesToRequest) Reset()
func (*RestoreItemActionAppliesToRequest) String ¶ added in v1.0.0
func (m *RestoreItemActionAppliesToRequest) String() string
type RestoreItemActionAppliesToResponse ¶ added in v1.0.0
type RestoreItemActionAppliesToResponse struct {
ResourceSelector *ResourceSelector `protobuf:"bytes,1,opt,name=ResourceSelector" json:"ResourceSelector,omitempty"`
}
func (*RestoreItemActionAppliesToResponse) Descriptor ¶ added in v1.0.0
func (*RestoreItemActionAppliesToResponse) Descriptor() ([]byte, []int)
func (*RestoreItemActionAppliesToResponse) GetResourceSelector ¶ added in v1.0.0
func (m *RestoreItemActionAppliesToResponse) GetResourceSelector() *ResourceSelector
func (*RestoreItemActionAppliesToResponse) ProtoMessage ¶ added in v1.0.0
func (*RestoreItemActionAppliesToResponse) ProtoMessage()
func (*RestoreItemActionAppliesToResponse) Reset ¶ added in v1.0.0
func (m *RestoreItemActionAppliesToResponse) Reset()
func (*RestoreItemActionAppliesToResponse) String ¶ added in v1.0.0
func (m *RestoreItemActionAppliesToResponse) String() string
type RestoreItemActionClient ¶
type RestoreItemActionClient interface { AppliesTo(ctx context.Context, in *RestoreItemActionAppliesToRequest, opts ...grpc.CallOption) (*RestoreItemActionAppliesToResponse, error) Execute(ctx context.Context, in *RestoreItemActionExecuteRequest, opts ...grpc.CallOption) (*RestoreItemActionExecuteResponse, error) }
func NewRestoreItemActionClient ¶
func NewRestoreItemActionClient(cc *grpc.ClientConn) RestoreItemActionClient
type RestoreItemActionExecuteRequest ¶ added in v1.0.0
type RestoreItemActionExecuteRequest struct { Plugin string `protobuf:"bytes,1,opt,name=plugin" json:"plugin,omitempty"` Item []byte `protobuf:"bytes,2,opt,name=item,proto3" json:"item,omitempty"` Restore []byte `protobuf:"bytes,3,opt,name=restore,proto3" json:"restore,omitempty"` ItemFromBackup []byte `protobuf:"bytes,4,opt,name=itemFromBackup,proto3" json:"itemFromBackup,omitempty"` }
func (*RestoreItemActionExecuteRequest) Descriptor ¶ added in v1.0.0
func (*RestoreItemActionExecuteRequest) Descriptor() ([]byte, []int)
func (*RestoreItemActionExecuteRequest) GetItem ¶ added in v1.0.0
func (m *RestoreItemActionExecuteRequest) GetItem() []byte
func (*RestoreItemActionExecuteRequest) GetItemFromBackup ¶ added in v1.0.0
func (m *RestoreItemActionExecuteRequest) GetItemFromBackup() []byte
func (*RestoreItemActionExecuteRequest) GetPlugin ¶ added in v1.0.0
func (m *RestoreItemActionExecuteRequest) GetPlugin() string
func (*RestoreItemActionExecuteRequest) GetRestore ¶ added in v1.0.0
func (m *RestoreItemActionExecuteRequest) GetRestore() []byte
func (*RestoreItemActionExecuteRequest) ProtoMessage ¶ added in v1.0.0
func (*RestoreItemActionExecuteRequest) ProtoMessage()
func (*RestoreItemActionExecuteRequest) Reset ¶ added in v1.0.0
func (m *RestoreItemActionExecuteRequest) Reset()
func (*RestoreItemActionExecuteRequest) String ¶ added in v1.0.0
func (m *RestoreItemActionExecuteRequest) String() string
type RestoreItemActionExecuteResponse ¶ added in v1.0.0
type RestoreItemActionExecuteResponse struct { Item []byte `protobuf:"bytes,1,opt,name=item,proto3" json:"item,omitempty"` AdditionalItems []*ResourceIdentifier `protobuf:"bytes,2,rep,name=additionalItems" json:"additionalItems,omitempty"` SkipRestore bool `protobuf:"varint,3,opt,name=skipRestore" json:"skipRestore,omitempty"` }
func (*RestoreItemActionExecuteResponse) Descriptor ¶ added in v1.0.0
func (*RestoreItemActionExecuteResponse) Descriptor() ([]byte, []int)
func (*RestoreItemActionExecuteResponse) GetAdditionalItems ¶ added in v1.0.0
func (m *RestoreItemActionExecuteResponse) GetAdditionalItems() []*ResourceIdentifier
func (*RestoreItemActionExecuteResponse) GetItem ¶ added in v1.0.0
func (m *RestoreItemActionExecuteResponse) GetItem() []byte
func (*RestoreItemActionExecuteResponse) GetSkipRestore ¶ added in v1.0.0
func (m *RestoreItemActionExecuteResponse) GetSkipRestore() bool
func (*RestoreItemActionExecuteResponse) ProtoMessage ¶ added in v1.0.0
func (*RestoreItemActionExecuteResponse) ProtoMessage()
func (*RestoreItemActionExecuteResponse) Reset ¶ added in v1.0.0
func (m *RestoreItemActionExecuteResponse) Reset()
func (*RestoreItemActionExecuteResponse) String ¶ added in v1.0.0
func (m *RestoreItemActionExecuteResponse) String() string
type RestoreItemActionServer ¶
type RestoreItemActionServer interface { AppliesTo(context.Context, *RestoreItemActionAppliesToRequest) (*RestoreItemActionAppliesToResponse, error) Execute(context.Context, *RestoreItemActionExecuteRequest) (*RestoreItemActionExecuteResponse, error) }
type SetVolumeIDRequest ¶
type SetVolumeIDRequest struct { Plugin string `protobuf:"bytes,1,opt,name=plugin" json:"plugin,omitempty"` PersistentVolume []byte `protobuf:"bytes,2,opt,name=persistentVolume,proto3" json:"persistentVolume,omitempty"` VolumeID string `protobuf:"bytes,3,opt,name=volumeID" json:"volumeID,omitempty"` }
func (*SetVolumeIDRequest) Descriptor ¶
func (*SetVolumeIDRequest) Descriptor() ([]byte, []int)
func (*SetVolumeIDRequest) GetPersistentVolume ¶
func (m *SetVolumeIDRequest) GetPersistentVolume() []byte
func (*SetVolumeIDRequest) GetPlugin ¶ added in v0.10.0
func (m *SetVolumeIDRequest) GetPlugin() string
func (*SetVolumeIDRequest) GetVolumeID ¶
func (m *SetVolumeIDRequest) GetVolumeID() string
func (*SetVolumeIDRequest) ProtoMessage ¶
func (*SetVolumeIDRequest) ProtoMessage()
func (*SetVolumeIDRequest) Reset ¶
func (m *SetVolumeIDRequest) Reset()
func (*SetVolumeIDRequest) String ¶
func (m *SetVolumeIDRequest) String() string
type SetVolumeIDResponse ¶
type SetVolumeIDResponse struct {
PersistentVolume []byte `protobuf:"bytes,1,opt,name=persistentVolume,proto3" json:"persistentVolume,omitempty"`
}
func (*SetVolumeIDResponse) Descriptor ¶
func (*SetVolumeIDResponse) Descriptor() ([]byte, []int)
func (*SetVolumeIDResponse) GetPersistentVolume ¶
func (m *SetVolumeIDResponse) GetPersistentVolume() []byte
func (*SetVolumeIDResponse) ProtoMessage ¶
func (*SetVolumeIDResponse) ProtoMessage()
func (*SetVolumeIDResponse) Reset ¶
func (m *SetVolumeIDResponse) Reset()
func (*SetVolumeIDResponse) String ¶
func (m *SetVolumeIDResponse) String() string
type Stack ¶ added in v1.0.0
type Stack struct {
Frames []*StackFrame `protobuf:"bytes,1,rep,name=frames" json:"frames,omitempty"`
}
func (*Stack) Descriptor ¶ added in v1.0.0
func (*Stack) GetFrames ¶ added in v1.0.0
func (m *Stack) GetFrames() []*StackFrame
func (*Stack) ProtoMessage ¶ added in v1.0.0
func (*Stack) ProtoMessage()
type StackFrame ¶ added in v1.0.0
type StackFrame struct { File string `protobuf:"bytes,1,opt,name=file" json:"file,omitempty"` Line int32 `protobuf:"varint,2,opt,name=line" json:"line,omitempty"` Function string `protobuf:"bytes,3,opt,name=function" json:"function,omitempty"` }
func (*StackFrame) Descriptor ¶ added in v1.0.0
func (*StackFrame) Descriptor() ([]byte, []int)
func (*StackFrame) GetFile ¶ added in v1.0.0
func (m *StackFrame) GetFile() string
func (*StackFrame) GetFunction ¶ added in v1.0.0
func (m *StackFrame) GetFunction() string
func (*StackFrame) GetLine ¶ added in v1.0.0
func (m *StackFrame) GetLine() int32
func (*StackFrame) ProtoMessage ¶ added in v1.0.0
func (*StackFrame) ProtoMessage()
func (*StackFrame) Reset ¶ added in v1.0.0
func (m *StackFrame) Reset()
func (*StackFrame) String ¶ added in v1.0.0
func (m *StackFrame) String() string
type VolumeSnapshotterClient ¶ added in v1.0.0
type VolumeSnapshotterClient interface { Init(ctx context.Context, in *VolumeSnapshotterInitRequest, opts ...grpc.CallOption) (*Empty, error) CreateVolumeFromSnapshot(ctx context.Context, in *CreateVolumeRequest, opts ...grpc.CallOption) (*CreateVolumeResponse, error) GetVolumeInfo(ctx context.Context, in *GetVolumeInfoRequest, opts ...grpc.CallOption) (*GetVolumeInfoResponse, error) CreateSnapshot(ctx context.Context, in *CreateSnapshotRequest, opts ...grpc.CallOption) (*CreateSnapshotResponse, error) DeleteSnapshot(ctx context.Context, in *DeleteSnapshotRequest, opts ...grpc.CallOption) (*Empty, error) GetVolumeID(ctx context.Context, in *GetVolumeIDRequest, opts ...grpc.CallOption) (*GetVolumeIDResponse, error) SetVolumeID(ctx context.Context, in *SetVolumeIDRequest, opts ...grpc.CallOption) (*SetVolumeIDResponse, error) }
func NewVolumeSnapshotterClient ¶ added in v1.0.0
func NewVolumeSnapshotterClient(cc *grpc.ClientConn) VolumeSnapshotterClient
type VolumeSnapshotterInitRequest ¶ added in v1.0.0
type VolumeSnapshotterInitRequest struct { Plugin string `protobuf:"bytes,1,opt,name=plugin" json:"plugin,omitempty"` Config map[string]string `` /* 132-byte string literal not displayed */ }
func (*VolumeSnapshotterInitRequest) Descriptor ¶ added in v1.0.0
func (*VolumeSnapshotterInitRequest) Descriptor() ([]byte, []int)
func (*VolumeSnapshotterInitRequest) GetConfig ¶ added in v1.0.0
func (m *VolumeSnapshotterInitRequest) GetConfig() map[string]string
func (*VolumeSnapshotterInitRequest) GetPlugin ¶ added in v1.0.0
func (m *VolumeSnapshotterInitRequest) GetPlugin() string
func (*VolumeSnapshotterInitRequest) ProtoMessage ¶ added in v1.0.0
func (*VolumeSnapshotterInitRequest) ProtoMessage()
func (*VolumeSnapshotterInitRequest) Reset ¶ added in v1.0.0
func (m *VolumeSnapshotterInitRequest) Reset()
func (*VolumeSnapshotterInitRequest) String ¶ added in v1.0.0
func (m *VolumeSnapshotterInitRequest) String() string
type VolumeSnapshotterServer ¶ added in v1.0.0
type VolumeSnapshotterServer interface { Init(context.Context, *VolumeSnapshotterInitRequest) (*Empty, error) CreateVolumeFromSnapshot(context.Context, *CreateVolumeRequest) (*CreateVolumeResponse, error) GetVolumeInfo(context.Context, *GetVolumeInfoRequest) (*GetVolumeInfoResponse, error) CreateSnapshot(context.Context, *CreateSnapshotRequest) (*CreateSnapshotResponse, error) DeleteSnapshot(context.Context, *DeleteSnapshotRequest) (*Empty, error) GetVolumeID(context.Context, *GetVolumeIDRequest) (*GetVolumeIDResponse, error) SetVolumeID(context.Context, *SetVolumeIDRequest) (*SetVolumeIDResponse, error) }
Click to show internal directories.
Click to hide internal directories.