Documentation
¶
Index ¶
- Variables
- func RegisterRestoreItemActionServer(s *grpc.Server, srv RestoreItemActionServer)
- type RestoreItemActionAppliesToRequest
- func (*RestoreItemActionAppliesToRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RestoreItemActionAppliesToRequest) GetPlugin() string
- func (*RestoreItemActionAppliesToRequest) ProtoMessage()
- func (x *RestoreItemActionAppliesToRequest) ProtoReflect() protoreflect.Message
- func (x *RestoreItemActionAppliesToRequest) Reset()
- func (x *RestoreItemActionAppliesToRequest) String() string
- type RestoreItemActionAppliesToResponse
- func (*RestoreItemActionAppliesToResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RestoreItemActionAppliesToResponse) GetResourceSelector() *generated.ResourceSelector
- func (*RestoreItemActionAppliesToResponse) ProtoMessage()
- func (x *RestoreItemActionAppliesToResponse) ProtoReflect() protoreflect.Message
- func (x *RestoreItemActionAppliesToResponse) Reset()
- func (x *RestoreItemActionAppliesToResponse) String() string
- type RestoreItemActionCancelRequest
- func (*RestoreItemActionCancelRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RestoreItemActionCancelRequest) GetOperationID() string
- func (x *RestoreItemActionCancelRequest) GetPlugin() string
- func (x *RestoreItemActionCancelRequest) GetRestore() []byte
- func (*RestoreItemActionCancelRequest) ProtoMessage()
- func (x *RestoreItemActionCancelRequest) ProtoReflect() protoreflect.Message
- func (x *RestoreItemActionCancelRequest) Reset()
- func (x *RestoreItemActionCancelRequest) String() string
- type RestoreItemActionClient
- type RestoreItemActionExecuteRequest
- func (*RestoreItemActionExecuteRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RestoreItemActionExecuteRequest) GetItem() []byte
- func (x *RestoreItemActionExecuteRequest) GetItemFromBackup() []byte
- func (x *RestoreItemActionExecuteRequest) GetPlugin() string
- func (x *RestoreItemActionExecuteRequest) GetRestore() []byte
- func (*RestoreItemActionExecuteRequest) ProtoMessage()
- func (x *RestoreItemActionExecuteRequest) ProtoReflect() protoreflect.Message
- func (x *RestoreItemActionExecuteRequest) Reset()
- func (x *RestoreItemActionExecuteRequest) String() string
- type RestoreItemActionExecuteResponse
- func (*RestoreItemActionExecuteResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RestoreItemActionExecuteResponse) GetAdditionalItems() []*generated.ResourceIdentifier
- func (x *RestoreItemActionExecuteResponse) GetAdditionalItemsReadyTimeout() *durationpb.Duration
- func (x *RestoreItemActionExecuteResponse) GetItem() []byte
- func (x *RestoreItemActionExecuteResponse) GetOperationID() string
- func (x *RestoreItemActionExecuteResponse) GetSkipRestore() bool
- func (x *RestoreItemActionExecuteResponse) GetWaitForAdditionalItems() bool
- func (*RestoreItemActionExecuteResponse) ProtoMessage()
- func (x *RestoreItemActionExecuteResponse) ProtoReflect() protoreflect.Message
- func (x *RestoreItemActionExecuteResponse) Reset()
- func (x *RestoreItemActionExecuteResponse) String() string
- type RestoreItemActionItemsReadyRequest
- func (*RestoreItemActionItemsReadyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RestoreItemActionItemsReadyRequest) GetAdditionalItems() []*generated.ResourceIdentifier
- func (x *RestoreItemActionItemsReadyRequest) GetPlugin() string
- func (x *RestoreItemActionItemsReadyRequest) GetRestore() []byte
- func (*RestoreItemActionItemsReadyRequest) ProtoMessage()
- func (x *RestoreItemActionItemsReadyRequest) ProtoReflect() protoreflect.Message
- func (x *RestoreItemActionItemsReadyRequest) Reset()
- func (x *RestoreItemActionItemsReadyRequest) String() string
- type RestoreItemActionItemsReadyResponse
- func (*RestoreItemActionItemsReadyResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RestoreItemActionItemsReadyResponse) GetReady() bool
- func (*RestoreItemActionItemsReadyResponse) ProtoMessage()
- func (x *RestoreItemActionItemsReadyResponse) ProtoReflect() protoreflect.Message
- func (x *RestoreItemActionItemsReadyResponse) Reset()
- func (x *RestoreItemActionItemsReadyResponse) String() string
- type RestoreItemActionProgressRequest
- func (*RestoreItemActionProgressRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RestoreItemActionProgressRequest) GetOperationID() string
- func (x *RestoreItemActionProgressRequest) GetPlugin() string
- func (x *RestoreItemActionProgressRequest) GetRestore() []byte
- func (*RestoreItemActionProgressRequest) ProtoMessage()
- func (x *RestoreItemActionProgressRequest) ProtoReflect() protoreflect.Message
- func (x *RestoreItemActionProgressRequest) Reset()
- func (x *RestoreItemActionProgressRequest) String() string
- type RestoreItemActionProgressResponse
- func (*RestoreItemActionProgressResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RestoreItemActionProgressResponse) GetProgress() *generated.OperationProgress
- func (*RestoreItemActionProgressResponse) ProtoMessage()
- func (x *RestoreItemActionProgressResponse) ProtoReflect() protoreflect.Message
- func (x *RestoreItemActionProgressResponse) Reset()
- func (x *RestoreItemActionProgressResponse) String() string
- type RestoreItemActionServer
- type UnimplementedRestoreItemActionServer
- func (*UnimplementedRestoreItemActionServer) AppliesTo(context.Context, *RestoreItemActionAppliesToRequest) (*RestoreItemActionAppliesToResponse, error)
- func (*UnimplementedRestoreItemActionServer) AreAdditionalItemsReady(context.Context, *RestoreItemActionItemsReadyRequest) (*RestoreItemActionItemsReadyResponse, error)
- func (*UnimplementedRestoreItemActionServer) Cancel(context.Context, *RestoreItemActionCancelRequest) (*emptypb.Empty, error)
- func (*UnimplementedRestoreItemActionServer) Execute(context.Context, *RestoreItemActionExecuteRequest) (*RestoreItemActionExecuteResponse, error)
- func (*UnimplementedRestoreItemActionServer) Progress(context.Context, *RestoreItemActionProgressRequest) (*RestoreItemActionProgressResponse, error)
Constants ¶
This section is empty.
Variables ¶
var File_restoreitemaction_v2_RestoreItemAction_proto protoreflect.FileDescriptor
Functions ¶
func RegisterRestoreItemActionServer ¶
func RegisterRestoreItemActionServer(s *grpc.Server, srv RestoreItemActionServer)
Types ¶
type RestoreItemActionAppliesToRequest ¶
type RestoreItemActionAppliesToRequest struct { Plugin string `protobuf:"bytes,1,opt,name=plugin,proto3" json:"plugin,omitempty"` // contains filtered or unexported fields }
func (*RestoreItemActionAppliesToRequest) Descriptor
deprecated
func (*RestoreItemActionAppliesToRequest) Descriptor() ([]byte, []int)
Deprecated: Use RestoreItemActionAppliesToRequest.ProtoReflect.Descriptor instead.
func (*RestoreItemActionAppliesToRequest) GetPlugin ¶
func (x *RestoreItemActionAppliesToRequest) GetPlugin() string
func (*RestoreItemActionAppliesToRequest) ProtoMessage ¶
func (*RestoreItemActionAppliesToRequest) ProtoMessage()
func (*RestoreItemActionAppliesToRequest) ProtoReflect ¶
func (x *RestoreItemActionAppliesToRequest) ProtoReflect() protoreflect.Message
func (*RestoreItemActionAppliesToRequest) Reset ¶
func (x *RestoreItemActionAppliesToRequest) Reset()
func (*RestoreItemActionAppliesToRequest) String ¶
func (x *RestoreItemActionAppliesToRequest) String() string
type RestoreItemActionAppliesToResponse ¶
type RestoreItemActionAppliesToResponse struct { ResourceSelector *generated.ResourceSelector `protobuf:"bytes,1,opt,name=ResourceSelector,proto3" json:"ResourceSelector,omitempty"` // contains filtered or unexported fields }
func (*RestoreItemActionAppliesToResponse) Descriptor
deprecated
func (*RestoreItemActionAppliesToResponse) Descriptor() ([]byte, []int)
Deprecated: Use RestoreItemActionAppliesToResponse.ProtoReflect.Descriptor instead.
func (*RestoreItemActionAppliesToResponse) GetResourceSelector ¶
func (x *RestoreItemActionAppliesToResponse) GetResourceSelector() *generated.ResourceSelector
func (*RestoreItemActionAppliesToResponse) ProtoMessage ¶
func (*RestoreItemActionAppliesToResponse) ProtoMessage()
func (*RestoreItemActionAppliesToResponse) ProtoReflect ¶
func (x *RestoreItemActionAppliesToResponse) ProtoReflect() protoreflect.Message
func (*RestoreItemActionAppliesToResponse) Reset ¶
func (x *RestoreItemActionAppliesToResponse) Reset()
func (*RestoreItemActionAppliesToResponse) String ¶
func (x *RestoreItemActionAppliesToResponse) String() string
type RestoreItemActionCancelRequest ¶
type RestoreItemActionCancelRequest 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"` Restore []byte `protobuf:"bytes,3,opt,name=restore,proto3" json:"restore,omitempty"` // contains filtered or unexported fields }
func (*RestoreItemActionCancelRequest) Descriptor
deprecated
func (*RestoreItemActionCancelRequest) Descriptor() ([]byte, []int)
Deprecated: Use RestoreItemActionCancelRequest.ProtoReflect.Descriptor instead.
func (*RestoreItemActionCancelRequest) GetOperationID ¶
func (x *RestoreItemActionCancelRequest) GetOperationID() string
func (*RestoreItemActionCancelRequest) GetPlugin ¶
func (x *RestoreItemActionCancelRequest) GetPlugin() string
func (*RestoreItemActionCancelRequest) GetRestore ¶
func (x *RestoreItemActionCancelRequest) GetRestore() []byte
func (*RestoreItemActionCancelRequest) ProtoMessage ¶
func (*RestoreItemActionCancelRequest) ProtoMessage()
func (*RestoreItemActionCancelRequest) ProtoReflect ¶
func (x *RestoreItemActionCancelRequest) ProtoReflect() protoreflect.Message
func (*RestoreItemActionCancelRequest) Reset ¶
func (x *RestoreItemActionCancelRequest) Reset()
func (*RestoreItemActionCancelRequest) String ¶
func (x *RestoreItemActionCancelRequest) 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) Progress(ctx context.Context, in *RestoreItemActionProgressRequest, opts ...grpc.CallOption) (*RestoreItemActionProgressResponse, error) Cancel(ctx context.Context, in *RestoreItemActionCancelRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) AreAdditionalItemsReady(ctx context.Context, in *RestoreItemActionItemsReadyRequest, opts ...grpc.CallOption) (*RestoreItemActionItemsReadyResponse, error) }
RestoreItemActionClient is the client API for RestoreItemAction service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewRestoreItemActionClient ¶
func NewRestoreItemActionClient(cc grpc.ClientConnInterface) RestoreItemActionClient
type RestoreItemActionExecuteRequest ¶
type RestoreItemActionExecuteRequest 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"` Restore []byte `protobuf:"bytes,3,opt,name=restore,proto3" json:"restore,omitempty"` ItemFromBackup []byte `protobuf:"bytes,4,opt,name=itemFromBackup,proto3" json:"itemFromBackup,omitempty"` // contains filtered or unexported fields }
func (*RestoreItemActionExecuteRequest) Descriptor
deprecated
func (*RestoreItemActionExecuteRequest) Descriptor() ([]byte, []int)
Deprecated: Use RestoreItemActionExecuteRequest.ProtoReflect.Descriptor instead.
func (*RestoreItemActionExecuteRequest) GetItem ¶
func (x *RestoreItemActionExecuteRequest) GetItem() []byte
func (*RestoreItemActionExecuteRequest) GetItemFromBackup ¶
func (x *RestoreItemActionExecuteRequest) GetItemFromBackup() []byte
func (*RestoreItemActionExecuteRequest) GetPlugin ¶
func (x *RestoreItemActionExecuteRequest) GetPlugin() string
func (*RestoreItemActionExecuteRequest) GetRestore ¶
func (x *RestoreItemActionExecuteRequest) GetRestore() []byte
func (*RestoreItemActionExecuteRequest) ProtoMessage ¶
func (*RestoreItemActionExecuteRequest) ProtoMessage()
func (*RestoreItemActionExecuteRequest) ProtoReflect ¶
func (x *RestoreItemActionExecuteRequest) ProtoReflect() protoreflect.Message
func (*RestoreItemActionExecuteRequest) Reset ¶
func (x *RestoreItemActionExecuteRequest) Reset()
func (*RestoreItemActionExecuteRequest) String ¶
func (x *RestoreItemActionExecuteRequest) String() string
type RestoreItemActionExecuteResponse ¶
type RestoreItemActionExecuteResponse 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"` SkipRestore bool `protobuf:"varint,3,opt,name=skipRestore,proto3" json:"skipRestore,omitempty"` OperationID string `protobuf:"bytes,4,opt,name=operationID,proto3" json:"operationID,omitempty"` WaitForAdditionalItems bool `protobuf:"varint,5,opt,name=waitForAdditionalItems,proto3" json:"waitForAdditionalItems,omitempty"` AdditionalItemsReadyTimeout *durationpb.Duration `protobuf:"bytes,6,opt,name=additionalItemsReadyTimeout,proto3" json:"additionalItemsReadyTimeout,omitempty"` // contains filtered or unexported fields }
func (*RestoreItemActionExecuteResponse) Descriptor
deprecated
func (*RestoreItemActionExecuteResponse) Descriptor() ([]byte, []int)
Deprecated: Use RestoreItemActionExecuteResponse.ProtoReflect.Descriptor instead.
func (*RestoreItemActionExecuteResponse) GetAdditionalItems ¶
func (x *RestoreItemActionExecuteResponse) GetAdditionalItems() []*generated.ResourceIdentifier
func (*RestoreItemActionExecuteResponse) GetAdditionalItemsReadyTimeout ¶
func (x *RestoreItemActionExecuteResponse) GetAdditionalItemsReadyTimeout() *durationpb.Duration
func (*RestoreItemActionExecuteResponse) GetItem ¶
func (x *RestoreItemActionExecuteResponse) GetItem() []byte
func (*RestoreItemActionExecuteResponse) GetOperationID ¶
func (x *RestoreItemActionExecuteResponse) GetOperationID() string
func (*RestoreItemActionExecuteResponse) GetSkipRestore ¶
func (x *RestoreItemActionExecuteResponse) GetSkipRestore() bool
func (*RestoreItemActionExecuteResponse) GetWaitForAdditionalItems ¶
func (x *RestoreItemActionExecuteResponse) GetWaitForAdditionalItems() bool
func (*RestoreItemActionExecuteResponse) ProtoMessage ¶
func (*RestoreItemActionExecuteResponse) ProtoMessage()
func (*RestoreItemActionExecuteResponse) ProtoReflect ¶
func (x *RestoreItemActionExecuteResponse) ProtoReflect() protoreflect.Message
func (*RestoreItemActionExecuteResponse) Reset ¶
func (x *RestoreItemActionExecuteResponse) Reset()
func (*RestoreItemActionExecuteResponse) String ¶
func (x *RestoreItemActionExecuteResponse) String() string
type RestoreItemActionItemsReadyRequest ¶
type RestoreItemActionItemsReadyRequest struct { Plugin string `protobuf:"bytes,1,opt,name=plugin,proto3" json:"plugin,omitempty"` Restore []byte `protobuf:"bytes,2,opt,name=restore,proto3" json:"restore,omitempty"` AdditionalItems []*generated.ResourceIdentifier `protobuf:"bytes,3,rep,name=additionalItems,proto3" json:"additionalItems,omitempty"` // contains filtered or unexported fields }
func (*RestoreItemActionItemsReadyRequest) Descriptor
deprecated
func (*RestoreItemActionItemsReadyRequest) Descriptor() ([]byte, []int)
Deprecated: Use RestoreItemActionItemsReadyRequest.ProtoReflect.Descriptor instead.
func (*RestoreItemActionItemsReadyRequest) GetAdditionalItems ¶
func (x *RestoreItemActionItemsReadyRequest) GetAdditionalItems() []*generated.ResourceIdentifier
func (*RestoreItemActionItemsReadyRequest) GetPlugin ¶
func (x *RestoreItemActionItemsReadyRequest) GetPlugin() string
func (*RestoreItemActionItemsReadyRequest) GetRestore ¶
func (x *RestoreItemActionItemsReadyRequest) GetRestore() []byte
func (*RestoreItemActionItemsReadyRequest) ProtoMessage ¶
func (*RestoreItemActionItemsReadyRequest) ProtoMessage()
func (*RestoreItemActionItemsReadyRequest) ProtoReflect ¶
func (x *RestoreItemActionItemsReadyRequest) ProtoReflect() protoreflect.Message
func (*RestoreItemActionItemsReadyRequest) Reset ¶
func (x *RestoreItemActionItemsReadyRequest) Reset()
func (*RestoreItemActionItemsReadyRequest) String ¶
func (x *RestoreItemActionItemsReadyRequest) String() string
type RestoreItemActionItemsReadyResponse ¶
type RestoreItemActionItemsReadyResponse struct { Ready bool `protobuf:"varint,1,opt,name=ready,proto3" json:"ready,omitempty"` // contains filtered or unexported fields }
func (*RestoreItemActionItemsReadyResponse) Descriptor
deprecated
func (*RestoreItemActionItemsReadyResponse) Descriptor() ([]byte, []int)
Deprecated: Use RestoreItemActionItemsReadyResponse.ProtoReflect.Descriptor instead.
func (*RestoreItemActionItemsReadyResponse) GetReady ¶
func (x *RestoreItemActionItemsReadyResponse) GetReady() bool
func (*RestoreItemActionItemsReadyResponse) ProtoMessage ¶
func (*RestoreItemActionItemsReadyResponse) ProtoMessage()
func (*RestoreItemActionItemsReadyResponse) ProtoReflect ¶
func (x *RestoreItemActionItemsReadyResponse) ProtoReflect() protoreflect.Message
func (*RestoreItemActionItemsReadyResponse) Reset ¶
func (x *RestoreItemActionItemsReadyResponse) Reset()
func (*RestoreItemActionItemsReadyResponse) String ¶
func (x *RestoreItemActionItemsReadyResponse) String() string
type RestoreItemActionProgressRequest ¶
type RestoreItemActionProgressRequest 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"` Restore []byte `protobuf:"bytes,3,opt,name=restore,proto3" json:"restore,omitempty"` // contains filtered or unexported fields }
func (*RestoreItemActionProgressRequest) Descriptor
deprecated
func (*RestoreItemActionProgressRequest) Descriptor() ([]byte, []int)
Deprecated: Use RestoreItemActionProgressRequest.ProtoReflect.Descriptor instead.
func (*RestoreItemActionProgressRequest) GetOperationID ¶
func (x *RestoreItemActionProgressRequest) GetOperationID() string
func (*RestoreItemActionProgressRequest) GetPlugin ¶
func (x *RestoreItemActionProgressRequest) GetPlugin() string
func (*RestoreItemActionProgressRequest) GetRestore ¶
func (x *RestoreItemActionProgressRequest) GetRestore() []byte
func (*RestoreItemActionProgressRequest) ProtoMessage ¶
func (*RestoreItemActionProgressRequest) ProtoMessage()
func (*RestoreItemActionProgressRequest) ProtoReflect ¶
func (x *RestoreItemActionProgressRequest) ProtoReflect() protoreflect.Message
func (*RestoreItemActionProgressRequest) Reset ¶
func (x *RestoreItemActionProgressRequest) Reset()
func (*RestoreItemActionProgressRequest) String ¶
func (x *RestoreItemActionProgressRequest) String() string
type RestoreItemActionProgressResponse ¶
type RestoreItemActionProgressResponse struct { Progress *generated.OperationProgress `protobuf:"bytes,1,opt,name=progress,proto3" json:"progress,omitempty"` // contains filtered or unexported fields }
func (*RestoreItemActionProgressResponse) Descriptor
deprecated
func (*RestoreItemActionProgressResponse) Descriptor() ([]byte, []int)
Deprecated: Use RestoreItemActionProgressResponse.ProtoReflect.Descriptor instead.
func (*RestoreItemActionProgressResponse) GetProgress ¶
func (x *RestoreItemActionProgressResponse) GetProgress() *generated.OperationProgress
func (*RestoreItemActionProgressResponse) ProtoMessage ¶
func (*RestoreItemActionProgressResponse) ProtoMessage()
func (*RestoreItemActionProgressResponse) ProtoReflect ¶
func (x *RestoreItemActionProgressResponse) ProtoReflect() protoreflect.Message
func (*RestoreItemActionProgressResponse) Reset ¶
func (x *RestoreItemActionProgressResponse) Reset()
func (*RestoreItemActionProgressResponse) String ¶
func (x *RestoreItemActionProgressResponse) String() string
type RestoreItemActionServer ¶
type RestoreItemActionServer interface { AppliesTo(context.Context, *RestoreItemActionAppliesToRequest) (*RestoreItemActionAppliesToResponse, error) Execute(context.Context, *RestoreItemActionExecuteRequest) (*RestoreItemActionExecuteResponse, error) Progress(context.Context, *RestoreItemActionProgressRequest) (*RestoreItemActionProgressResponse, error) Cancel(context.Context, *RestoreItemActionCancelRequest) (*emptypb.Empty, error) AreAdditionalItemsReady(context.Context, *RestoreItemActionItemsReadyRequest) (*RestoreItemActionItemsReadyResponse, error) }
RestoreItemActionServer is the server API for RestoreItemAction service.
type UnimplementedRestoreItemActionServer ¶
type UnimplementedRestoreItemActionServer struct { }
UnimplementedRestoreItemActionServer can be embedded to have forward compatible implementations.
func (*UnimplementedRestoreItemActionServer) AreAdditionalItemsReady ¶
func (*UnimplementedRestoreItemActionServer) AreAdditionalItemsReady(context.Context, *RestoreItemActionItemsReadyRequest) (*RestoreItemActionItemsReadyResponse, error)
func (*UnimplementedRestoreItemActionServer) Cancel ¶
func (*UnimplementedRestoreItemActionServer) Cancel(context.Context, *RestoreItemActionCancelRequest) (*emptypb.Empty, error)