Documentation
¶
Index ¶
- Variables
- func RegisterBackupItemActionServer(s *grpc.Server, srv BackupItemActionServer)
- type BackupItemActionAppliesToRequest
- func (*BackupItemActionAppliesToRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BackupItemActionAppliesToRequest) GetPlugin() string
- func (*BackupItemActionAppliesToRequest) ProtoMessage()
- func (x *BackupItemActionAppliesToRequest) ProtoReflect() protoreflect.Message
- func (x *BackupItemActionAppliesToRequest) Reset()
- func (x *BackupItemActionAppliesToRequest) String() string
- type BackupItemActionAppliesToResponse
- func (*BackupItemActionAppliesToResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BackupItemActionAppliesToResponse) GetResourceSelector() *generated.ResourceSelector
- func (*BackupItemActionAppliesToResponse) ProtoMessage()
- func (x *BackupItemActionAppliesToResponse) ProtoReflect() protoreflect.Message
- func (x *BackupItemActionAppliesToResponse) Reset()
- func (x *BackupItemActionAppliesToResponse) String() string
- type BackupItemActionCancelRequest
- func (*BackupItemActionCancelRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BackupItemActionCancelRequest) GetBackup() []byte
- func (x *BackupItemActionCancelRequest) GetOperationID() string
- func (x *BackupItemActionCancelRequest) GetPlugin() string
- func (*BackupItemActionCancelRequest) ProtoMessage()
- func (x *BackupItemActionCancelRequest) ProtoReflect() protoreflect.Message
- func (x *BackupItemActionCancelRequest) Reset()
- func (x *BackupItemActionCancelRequest) String() string
- type BackupItemActionClient
- type BackupItemActionProgressRequest
- func (*BackupItemActionProgressRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BackupItemActionProgressRequest) GetBackup() []byte
- func (x *BackupItemActionProgressRequest) GetOperationID() string
- func (x *BackupItemActionProgressRequest) GetPlugin() string
- func (*BackupItemActionProgressRequest) ProtoMessage()
- func (x *BackupItemActionProgressRequest) ProtoReflect() protoreflect.Message
- func (x *BackupItemActionProgressRequest) Reset()
- func (x *BackupItemActionProgressRequest) String() string
- type BackupItemActionProgressResponse
- func (*BackupItemActionProgressResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BackupItemActionProgressResponse) GetProgress() *generated.OperationProgress
- func (*BackupItemActionProgressResponse) ProtoMessage()
- func (x *BackupItemActionProgressResponse) ProtoReflect() protoreflect.Message
- func (x *BackupItemActionProgressResponse) Reset()
- func (x *BackupItemActionProgressResponse) String() string
- type BackupItemActionServer
- type ExecuteRequest
- func (*ExecuteRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ExecuteRequest) GetBackup() []byte
- func (x *ExecuteRequest) GetItem() []byte
- func (x *ExecuteRequest) GetPlugin() string
- func (*ExecuteRequest) ProtoMessage()
- func (x *ExecuteRequest) ProtoReflect() protoreflect.Message
- func (x *ExecuteRequest) Reset()
- func (x *ExecuteRequest) String() string
- type ExecuteResponse
- func (*ExecuteResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ExecuteResponse) GetAdditionalItems() []*generated.ResourceIdentifier
- func (x *ExecuteResponse) GetItem() []byte
- func (x *ExecuteResponse) GetOperationID() string
- func (x *ExecuteResponse) GetPostOperationItems() []*generated.ResourceIdentifier
- func (*ExecuteResponse) ProtoMessage()
- func (x *ExecuteResponse) ProtoReflect() protoreflect.Message
- func (x *ExecuteResponse) Reset()
- func (x *ExecuteResponse) String() string
- type UnimplementedBackupItemActionServer
- func (*UnimplementedBackupItemActionServer) AppliesTo(context.Context, *BackupItemActionAppliesToRequest) (*BackupItemActionAppliesToResponse, error)
- func (*UnimplementedBackupItemActionServer) Cancel(context.Context, *BackupItemActionCancelRequest) (*emptypb.Empty, error)
- func (*UnimplementedBackupItemActionServer) Execute(context.Context, *ExecuteRequest) (*ExecuteResponse, error)
- func (*UnimplementedBackupItemActionServer) Progress(context.Context, *BackupItemActionProgressRequest) (*BackupItemActionProgressResponse, error)
Constants ¶
This section is empty.
Variables ¶
var File_backupitemaction_v2_BackupItemAction_proto protoreflect.FileDescriptor
Functions ¶
func RegisterBackupItemActionServer ¶
func RegisterBackupItemActionServer(s *grpc.Server, srv BackupItemActionServer)
Types ¶
type BackupItemActionAppliesToRequest ¶
type BackupItemActionAppliesToRequest struct { Plugin string `protobuf:"bytes,1,opt,name=plugin,proto3" json:"plugin,omitempty"` // contains filtered or unexported fields }
func (*BackupItemActionAppliesToRequest) Descriptor
deprecated
func (*BackupItemActionAppliesToRequest) Descriptor() ([]byte, []int)
Deprecated: Use BackupItemActionAppliesToRequest.ProtoReflect.Descriptor instead.
func (*BackupItemActionAppliesToRequest) GetPlugin ¶
func (x *BackupItemActionAppliesToRequest) GetPlugin() string
func (*BackupItemActionAppliesToRequest) ProtoMessage ¶
func (*BackupItemActionAppliesToRequest) ProtoMessage()
func (*BackupItemActionAppliesToRequest) ProtoReflect ¶
func (x *BackupItemActionAppliesToRequest) ProtoReflect() protoreflect.Message
func (*BackupItemActionAppliesToRequest) Reset ¶
func (x *BackupItemActionAppliesToRequest) Reset()
func (*BackupItemActionAppliesToRequest) String ¶
func (x *BackupItemActionAppliesToRequest) String() string
type BackupItemActionAppliesToResponse ¶
type BackupItemActionAppliesToResponse struct { ResourceSelector *generated.ResourceSelector `protobuf:"bytes,1,opt,name=ResourceSelector,proto3" json:"ResourceSelector,omitempty"` // contains filtered or unexported fields }
func (*BackupItemActionAppliesToResponse) Descriptor
deprecated
func (*BackupItemActionAppliesToResponse) Descriptor() ([]byte, []int)
Deprecated: Use BackupItemActionAppliesToResponse.ProtoReflect.Descriptor instead.
func (*BackupItemActionAppliesToResponse) GetResourceSelector ¶
func (x *BackupItemActionAppliesToResponse) GetResourceSelector() *generated.ResourceSelector
func (*BackupItemActionAppliesToResponse) ProtoMessage ¶
func (*BackupItemActionAppliesToResponse) ProtoMessage()
func (*BackupItemActionAppliesToResponse) ProtoReflect ¶
func (x *BackupItemActionAppliesToResponse) ProtoReflect() protoreflect.Message
func (*BackupItemActionAppliesToResponse) Reset ¶
func (x *BackupItemActionAppliesToResponse) Reset()
func (*BackupItemActionAppliesToResponse) String ¶
func (x *BackupItemActionAppliesToResponse) String() string
type BackupItemActionCancelRequest ¶
type BackupItemActionCancelRequest struct { Plugin string `protobuf:"bytes,1,opt,name=plugin,proto3" json:"plugin,omitempty"` OperationID string `protobuf:"bytes,2,opt,name=operationID,proto3" json:"operationID,omitempty"` Backup []byte `protobuf:"bytes,3,opt,name=backup,proto3" json:"backup,omitempty"` // contains filtered or unexported fields }
func (*BackupItemActionCancelRequest) Descriptor
deprecated
func (*BackupItemActionCancelRequest) Descriptor() ([]byte, []int)
Deprecated: Use BackupItemActionCancelRequest.ProtoReflect.Descriptor instead.
func (*BackupItemActionCancelRequest) GetBackup ¶
func (x *BackupItemActionCancelRequest) GetBackup() []byte
func (*BackupItemActionCancelRequest) GetOperationID ¶
func (x *BackupItemActionCancelRequest) GetOperationID() string
func (*BackupItemActionCancelRequest) GetPlugin ¶
func (x *BackupItemActionCancelRequest) GetPlugin() string
func (*BackupItemActionCancelRequest) ProtoMessage ¶
func (*BackupItemActionCancelRequest) ProtoMessage()
func (*BackupItemActionCancelRequest) ProtoReflect ¶
func (x *BackupItemActionCancelRequest) ProtoReflect() protoreflect.Message
func (*BackupItemActionCancelRequest) Reset ¶
func (x *BackupItemActionCancelRequest) Reset()
func (*BackupItemActionCancelRequest) String ¶
func (x *BackupItemActionCancelRequest) 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) Progress(ctx context.Context, in *BackupItemActionProgressRequest, opts ...grpc.CallOption) (*BackupItemActionProgressResponse, error) Cancel(ctx context.Context, in *BackupItemActionCancelRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) }
BackupItemActionClient is the client API for BackupItemAction service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewBackupItemActionClient ¶
func NewBackupItemActionClient(cc grpc.ClientConnInterface) BackupItemActionClient
type BackupItemActionProgressRequest ¶
type BackupItemActionProgressRequest struct { Plugin string `protobuf:"bytes,1,opt,name=plugin,proto3" json:"plugin,omitempty"` OperationID string `protobuf:"bytes,2,opt,name=operationID,proto3" json:"operationID,omitempty"` Backup []byte `protobuf:"bytes,3,opt,name=backup,proto3" json:"backup,omitempty"` // contains filtered or unexported fields }
func (*BackupItemActionProgressRequest) Descriptor
deprecated
func (*BackupItemActionProgressRequest) Descriptor() ([]byte, []int)
Deprecated: Use BackupItemActionProgressRequest.ProtoReflect.Descriptor instead.
func (*BackupItemActionProgressRequest) GetBackup ¶
func (x *BackupItemActionProgressRequest) GetBackup() []byte
func (*BackupItemActionProgressRequest) GetOperationID ¶
func (x *BackupItemActionProgressRequest) GetOperationID() string
func (*BackupItemActionProgressRequest) GetPlugin ¶
func (x *BackupItemActionProgressRequest) GetPlugin() string
func (*BackupItemActionProgressRequest) ProtoMessage ¶
func (*BackupItemActionProgressRequest) ProtoMessage()
func (*BackupItemActionProgressRequest) ProtoReflect ¶
func (x *BackupItemActionProgressRequest) ProtoReflect() protoreflect.Message
func (*BackupItemActionProgressRequest) Reset ¶
func (x *BackupItemActionProgressRequest) Reset()
func (*BackupItemActionProgressRequest) String ¶
func (x *BackupItemActionProgressRequest) String() string
type BackupItemActionProgressResponse ¶
type BackupItemActionProgressResponse struct { Progress *generated.OperationProgress `protobuf:"bytes,1,opt,name=progress,proto3" json:"progress,omitempty"` // contains filtered or unexported fields }
func (*BackupItemActionProgressResponse) Descriptor
deprecated
func (*BackupItemActionProgressResponse) Descriptor() ([]byte, []int)
Deprecated: Use BackupItemActionProgressResponse.ProtoReflect.Descriptor instead.
func (*BackupItemActionProgressResponse) GetProgress ¶
func (x *BackupItemActionProgressResponse) GetProgress() *generated.OperationProgress
func (*BackupItemActionProgressResponse) ProtoMessage ¶
func (*BackupItemActionProgressResponse) ProtoMessage()
func (*BackupItemActionProgressResponse) ProtoReflect ¶
func (x *BackupItemActionProgressResponse) ProtoReflect() protoreflect.Message
func (*BackupItemActionProgressResponse) Reset ¶
func (x *BackupItemActionProgressResponse) Reset()
func (*BackupItemActionProgressResponse) String ¶
func (x *BackupItemActionProgressResponse) String() string
type BackupItemActionServer ¶
type BackupItemActionServer interface { AppliesTo(context.Context, *BackupItemActionAppliesToRequest) (*BackupItemActionAppliesToResponse, error) Execute(context.Context, *ExecuteRequest) (*ExecuteResponse, error) Progress(context.Context, *BackupItemActionProgressRequest) (*BackupItemActionProgressResponse, error) Cancel(context.Context, *BackupItemActionCancelRequest) (*emptypb.Empty, error) }
BackupItemActionServer is the server API for BackupItemAction service.
type ExecuteRequest ¶
type ExecuteRequest struct { Plugin string `protobuf:"bytes,1,opt,name=plugin,proto3" 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"` // contains filtered or unexported fields }
func (*ExecuteRequest) Descriptor
deprecated
func (*ExecuteRequest) Descriptor() ([]byte, []int)
Deprecated: Use ExecuteRequest.ProtoReflect.Descriptor instead.
func (*ExecuteRequest) GetBackup ¶
func (x *ExecuteRequest) GetBackup() []byte
func (*ExecuteRequest) GetItem ¶
func (x *ExecuteRequest) GetItem() []byte
func (*ExecuteRequest) GetPlugin ¶
func (x *ExecuteRequest) GetPlugin() string
func (*ExecuteRequest) ProtoMessage ¶
func (*ExecuteRequest) ProtoMessage()
func (*ExecuteRequest) ProtoReflect ¶
func (x *ExecuteRequest) ProtoReflect() protoreflect.Message
func (*ExecuteRequest) Reset ¶
func (x *ExecuteRequest) Reset()
func (*ExecuteRequest) String ¶
func (x *ExecuteRequest) String() string
type ExecuteResponse ¶
type ExecuteResponse struct { Item []byte `protobuf:"bytes,1,opt,name=item,proto3" json:"item,omitempty"` AdditionalItems []*generated.ResourceIdentifier `protobuf:"bytes,2,rep,name=additionalItems,proto3" json:"additionalItems,omitempty"` OperationID string `protobuf:"bytes,3,opt,name=operationID,proto3" json:"operationID,omitempty"` PostOperationItems []*generated.ResourceIdentifier `protobuf:"bytes,4,rep,name=postOperationItems,proto3" json:"postOperationItems,omitempty"` // contains filtered or unexported fields }
func (*ExecuteResponse) Descriptor
deprecated
func (*ExecuteResponse) Descriptor() ([]byte, []int)
Deprecated: Use ExecuteResponse.ProtoReflect.Descriptor instead.
func (*ExecuteResponse) GetAdditionalItems ¶
func (x *ExecuteResponse) GetAdditionalItems() []*generated.ResourceIdentifier
func (*ExecuteResponse) GetItem ¶
func (x *ExecuteResponse) GetItem() []byte
func (*ExecuteResponse) GetOperationID ¶
func (x *ExecuteResponse) GetOperationID() string
func (*ExecuteResponse) GetPostOperationItems ¶
func (x *ExecuteResponse) GetPostOperationItems() []*generated.ResourceIdentifier
func (*ExecuteResponse) ProtoMessage ¶
func (*ExecuteResponse) ProtoMessage()
func (*ExecuteResponse) ProtoReflect ¶
func (x *ExecuteResponse) ProtoReflect() protoreflect.Message
func (*ExecuteResponse) Reset ¶
func (x *ExecuteResponse) Reset()
func (*ExecuteResponse) String ¶
func (x *ExecuteResponse) String() string
type UnimplementedBackupItemActionServer ¶
type UnimplementedBackupItemActionServer struct { }
UnimplementedBackupItemActionServer can be embedded to have forward compatible implementations.
func (*UnimplementedBackupItemActionServer) AppliesTo ¶
func (*UnimplementedBackupItemActionServer) AppliesTo(context.Context, *BackupItemActionAppliesToRequest) (*BackupItemActionAppliesToResponse, error)
func (*UnimplementedBackupItemActionServer) Cancel ¶
func (*UnimplementedBackupItemActionServer) Cancel(context.Context, *BackupItemActionCancelRequest) (*emptypb.Empty, error)
func (*UnimplementedBackupItemActionServer) Execute ¶
func (*UnimplementedBackupItemActionServer) Execute(context.Context, *ExecuteRequest) (*ExecuteResponse, error)