Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterBackupItemActionServer(s grpc.ServiceRegistrar, 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)
- type UnsafeBackupItemActionServer
Constants ¶
const ( BackupItemAction_AppliesTo_FullMethodName = "/v2.BackupItemAction/AppliesTo" BackupItemAction_Execute_FullMethodName = "/v2.BackupItemAction/Execute" BackupItemAction_Progress_FullMethodName = "/v2.BackupItemAction/Progress" BackupItemAction_Cancel_FullMethodName = "/v2.BackupItemAction/Cancel" )
Variables ¶
var BackupItemAction_ServiceDesc = grpc.ServiceDesc{ ServiceName: "v2.BackupItemAction", HandlerType: (*BackupItemActionServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "AppliesTo", Handler: _BackupItemAction_AppliesTo_Handler, }, { MethodName: "Execute", Handler: _BackupItemAction_Execute_Handler, }, { MethodName: "Progress", Handler: _BackupItemAction_Progress_Handler, }, { MethodName: "Cancel", Handler: _BackupItemAction_Cancel_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "backupitemaction/v2/BackupItemAction.proto", }
BackupItemAction_ServiceDesc is the grpc.ServiceDesc for BackupItemAction service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_backupitemaction_v2_BackupItemAction_proto protoreflect.FileDescriptor
Functions ¶
func RegisterBackupItemActionServer ¶
func RegisterBackupItemActionServer(s grpc.ServiceRegistrar, 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://pkg.go.dev/google.golang.org/grpc/?tab=doc#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. All implementations should embed UnimplementedBackupItemActionServer for forward compatibility
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 should be embedded to have forward compatible implementations.
func (UnimplementedBackupItemActionServer) Cancel ¶
func (UnimplementedBackupItemActionServer) Cancel(context.Context, *BackupItemActionCancelRequest) (*emptypb.Empty, error)
func (UnimplementedBackupItemActionServer) Execute ¶
func (UnimplementedBackupItemActionServer) Execute(context.Context, *ExecuteRequest) (*ExecuteResponse, error)
type UnsafeBackupItemActionServer ¶ added in v1.15.0
type UnsafeBackupItemActionServer interface {
// contains filtered or unexported methods
}
UnsafeBackupItemActionServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to BackupItemActionServer will result in compilation errors.