Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterBackingImageManagerServiceServer(s grpc.ServiceRegistrar, srv BackingImageManagerServiceServer)
- type BackingImageManagerServiceClient
- type BackingImageManagerServiceServer
- type BackingImageManagerService_WatchClient
- type BackingImageManagerService_WatchServer
- type BackingImageResponse
- func (*BackingImageResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BackingImageResponse) GetSpec() *BackingImageSpec
- func (x *BackingImageResponse) GetStatus() *BackingImageStatus
- func (*BackingImageResponse) ProtoMessage()
- func (x *BackingImageResponse) ProtoReflect() protoreflect.Message
- func (x *BackingImageResponse) Reset()
- func (x *BackingImageResponse) String() string
- type BackingImageSpec
- func (*BackingImageSpec) Descriptor() ([]byte, []int)deprecated
- func (x *BackingImageSpec) GetChecksum() string
- func (x *BackingImageSpec) GetName() string
- func (x *BackingImageSpec) GetRealSize() int64
- func (x *BackingImageSpec) GetSize() int64
- func (x *BackingImageSpec) GetUuid() string
- func (x *BackingImageSpec) GetVirtualSize() int64
- func (*BackingImageSpec) ProtoMessage()
- func (x *BackingImageSpec) ProtoReflect() protoreflect.Message
- func (x *BackingImageSpec) Reset()
- func (x *BackingImageSpec) String() string
- type BackingImageStatus
- func (*BackingImageStatus) Descriptor() ([]byte, []int)deprecated
- func (x *BackingImageStatus) GetChecksum() string
- func (x *BackingImageStatus) GetErrorMsg() string
- func (x *BackingImageStatus) GetProgress() int32
- func (x *BackingImageStatus) GetSenderManagerAddress() string
- func (x *BackingImageStatus) GetSendingReference() int32
- func (x *BackingImageStatus) GetState() string
- func (*BackingImageStatus) ProtoMessage()
- func (x *BackingImageStatus) ProtoReflect() protoreflect.Message
- func (x *BackingImageStatus) Reset()
- func (x *BackingImageStatus) String() string
- type BackupCreateRequest
- func (*BackupCreateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BackupCreateRequest) GetBackupTarget() string
- func (x *BackupCreateRequest) GetChecksum() string
- func (x *BackupCreateRequest) GetCompressionMethod() string
- func (x *BackupCreateRequest) GetConcurrentLimit() int32
- func (x *BackupCreateRequest) GetCredential() map[string]string
- func (x *BackupCreateRequest) GetLabels() []string
- func (x *BackupCreateRequest) GetName() string
- func (x *BackupCreateRequest) GetParameters() map[string]string
- func (x *BackupCreateRequest) GetUuid() string
- func (*BackupCreateRequest) ProtoMessage()
- func (x *BackupCreateRequest) ProtoReflect() protoreflect.Message
- func (x *BackupCreateRequest) Reset()
- func (x *BackupCreateRequest) String() string
- type BackupStatusRequest
- func (*BackupStatusRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BackupStatusRequest) GetName() string
- func (*BackupStatusRequest) ProtoMessage()
- func (x *BackupStatusRequest) ProtoReflect() protoreflect.Message
- func (x *BackupStatusRequest) Reset()
- func (x *BackupStatusRequest) String() string
- type BackupStatusResponse
- func (*BackupStatusResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BackupStatusResponse) GetBackupUrl() string
- func (x *BackupStatusResponse) GetError() string
- func (x *BackupStatusResponse) GetProgress() int32
- func (x *BackupStatusResponse) GetState() string
- func (*BackupStatusResponse) ProtoMessage()
- func (x *BackupStatusResponse) ProtoReflect() protoreflect.Message
- func (x *BackupStatusResponse) Reset()
- func (x *BackupStatusResponse) String() string
- type DeleteRequest
- func (*DeleteRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteRequest) GetName() string
- func (x *DeleteRequest) GetUuid() string
- func (*DeleteRequest) ProtoMessage()
- func (x *DeleteRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteRequest) Reset()
- func (x *DeleteRequest) String() string
- type FetchRequest
- func (*FetchRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FetchRequest) GetDataSourceAddress() string
- func (x *FetchRequest) GetSpec() *BackingImageSpec
- func (*FetchRequest) ProtoMessage()
- func (x *FetchRequest) ProtoReflect() protoreflect.Message
- func (x *FetchRequest) Reset()
- func (x *FetchRequest) String() string
- type GetRequest
- type ListResponse
- type PrepareDownloadRequest
- func (*PrepareDownloadRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PrepareDownloadRequest) GetName() string
- func (x *PrepareDownloadRequest) GetUuid() string
- func (*PrepareDownloadRequest) ProtoMessage()
- func (x *PrepareDownloadRequest) ProtoReflect() protoreflect.Message
- func (x *PrepareDownloadRequest) Reset()
- func (x *PrepareDownloadRequest) String() string
- type PrepareDownloadResponse
- func (*PrepareDownloadResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PrepareDownloadResponse) GetAddress() string
- func (x *PrepareDownloadResponse) GetSrcFilePath() string
- func (*PrepareDownloadResponse) ProtoMessage()
- func (x *PrepareDownloadResponse) ProtoReflect() protoreflect.Message
- func (x *PrepareDownloadResponse) Reset()
- func (x *PrepareDownloadResponse) String() string
- type SendRequest
- func (*SendRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SendRequest) GetName() string
- func (x *SendRequest) GetToAddress() string
- func (x *SendRequest) GetUuid() string
- func (*SendRequest) ProtoMessage()
- func (x *SendRequest) ProtoReflect() protoreflect.Message
- func (x *SendRequest) Reset()
- func (x *SendRequest) String() string
- type SyncRequest
- func (*SyncRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SyncRequest) GetFromAddress() string
- func (x *SyncRequest) GetSpec() *BackingImageSpec
- func (*SyncRequest) ProtoMessage()
- func (x *SyncRequest) ProtoReflect() protoreflect.Message
- func (x *SyncRequest) Reset()
- func (x *SyncRequest) String() string
- type UnimplementedBackingImageManagerServiceServer
- func (UnimplementedBackingImageManagerServiceServer) BackupCreate(context.Context, *BackupCreateRequest) (*emptypb.Empty, error)
- func (UnimplementedBackingImageManagerServiceServer) BackupStatus(context.Context, *BackupStatusRequest) (*BackupStatusResponse, error)
- func (UnimplementedBackingImageManagerServiceServer) Delete(context.Context, *DeleteRequest) (*emptypb.Empty, error)
- func (UnimplementedBackingImageManagerServiceServer) Fetch(context.Context, *FetchRequest) (*BackingImageResponse, error)
- func (UnimplementedBackingImageManagerServiceServer) Get(context.Context, *GetRequest) (*BackingImageResponse, error)
- func (UnimplementedBackingImageManagerServiceServer) List(context.Context, *emptypb.Empty) (*ListResponse, error)
- func (UnimplementedBackingImageManagerServiceServer) PrepareDownload(context.Context, *PrepareDownloadRequest) (*PrepareDownloadResponse, error)
- func (UnimplementedBackingImageManagerServiceServer) Send(context.Context, *SendRequest) (*emptypb.Empty, error)
- func (UnimplementedBackingImageManagerServiceServer) Sync(context.Context, *SyncRequest) (*BackingImageResponse, error)
- func (UnimplementedBackingImageManagerServiceServer) VersionGet(context.Context, *emptypb.Empty) (*VersionResponse, error)
- func (UnimplementedBackingImageManagerServiceServer) Watch(*emptypb.Empty, BackingImageManagerService_WatchServer) error
- type UnsafeBackingImageManagerServiceServer
- type VersionResponse
- func (*VersionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *VersionResponse) GetBackingImageManagerApiMinVersion() int64
- func (x *VersionResponse) GetBackingImageManagerApiVersion() int64
- func (x *VersionResponse) GetBuildDate() string
- func (x *VersionResponse) GetGitCommit() string
- func (x *VersionResponse) GetVersion() string
- func (*VersionResponse) ProtoMessage()
- func (x *VersionResponse) ProtoReflect() protoreflect.Message
- func (x *VersionResponse) Reset()
- func (x *VersionResponse) String() string
Constants ¶
const ( BackingImageManagerService_Delete_FullMethodName = "/bimrpc.BackingImageManagerService/Delete" BackingImageManagerService_Get_FullMethodName = "/bimrpc.BackingImageManagerService/Get" BackingImageManagerService_List_FullMethodName = "/bimrpc.BackingImageManagerService/List" BackingImageManagerService_VersionGet_FullMethodName = "/bimrpc.BackingImageManagerService/VersionGet" BackingImageManagerService_Sync_FullMethodName = "/bimrpc.BackingImageManagerService/Sync" BackingImageManagerService_Send_FullMethodName = "/bimrpc.BackingImageManagerService/Send" BackingImageManagerService_Fetch_FullMethodName = "/bimrpc.BackingImageManagerService/Fetch" BackingImageManagerService_PrepareDownload_FullMethodName = "/bimrpc.BackingImageManagerService/PrepareDownload" BackingImageManagerService_BackupCreate_FullMethodName = "/bimrpc.BackingImageManagerService/BackupCreate" BackingImageManagerService_BackupStatus_FullMethodName = "/bimrpc.BackingImageManagerService/BackupStatus" BackingImageManagerService_Watch_FullMethodName = "/bimrpc.BackingImageManagerService/Watch" )
Variables ¶
var BackingImageManagerService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "bimrpc.BackingImageManagerService", HandlerType: (*BackingImageManagerServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Delete", Handler: _BackingImageManagerService_Delete_Handler, }, { MethodName: "Get", Handler: _BackingImageManagerService_Get_Handler, }, { MethodName: "List", Handler: _BackingImageManagerService_List_Handler, }, { MethodName: "VersionGet", Handler: _BackingImageManagerService_VersionGet_Handler, }, { MethodName: "Sync", Handler: _BackingImageManagerService_Sync_Handler, }, { MethodName: "Send", Handler: _BackingImageManagerService_Send_Handler, }, { MethodName: "Fetch", Handler: _BackingImageManagerService_Fetch_Handler, }, { MethodName: "PrepareDownload", Handler: _BackingImageManagerService_PrepareDownload_Handler, }, { MethodName: "BackupCreate", Handler: _BackingImageManagerService_BackupCreate_Handler, }, { MethodName: "BackupStatus", Handler: _BackingImageManagerService_BackupStatus_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "Watch", Handler: _BackingImageManagerService_Watch_Handler, ServerStreams: true, }, }, Metadata: "bimrpc/bimrpc.proto", }
BackingImageManagerService_ServiceDesc is the grpc.ServiceDesc for BackingImageManagerService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_bimrpc_bimrpc_proto protoreflect.FileDescriptor
Functions ¶
func RegisterBackingImageManagerServiceServer ¶
func RegisterBackingImageManagerServiceServer(s grpc.ServiceRegistrar, srv BackingImageManagerServiceServer)
Types ¶
type BackingImageManagerServiceClient ¶
type BackingImageManagerServiceClient interface { Delete(ctx context.Context, in *DeleteRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) Get(ctx context.Context, in *GetRequest, opts ...grpc.CallOption) (*BackingImageResponse, error) List(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*ListResponse, error) VersionGet(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*VersionResponse, error) Sync(ctx context.Context, in *SyncRequest, opts ...grpc.CallOption) (*BackingImageResponse, error) Send(ctx context.Context, in *SendRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) Fetch(ctx context.Context, in *FetchRequest, opts ...grpc.CallOption) (*BackingImageResponse, error) PrepareDownload(ctx context.Context, in *PrepareDownloadRequest, opts ...grpc.CallOption) (*PrepareDownloadResponse, error) BackupCreate(ctx context.Context, in *BackupCreateRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) BackupStatus(ctx context.Context, in *BackupStatusRequest, opts ...grpc.CallOption) (*BackupStatusResponse, error) Watch(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (BackingImageManagerService_WatchClient, error) }
BackingImageManagerServiceClient is the client API for BackingImageManagerService 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 NewBackingImageManagerServiceClient ¶
func NewBackingImageManagerServiceClient(cc grpc.ClientConnInterface) BackingImageManagerServiceClient
type BackingImageManagerServiceServer ¶
type BackingImageManagerServiceServer interface { Delete(context.Context, *DeleteRequest) (*emptypb.Empty, error) Get(context.Context, *GetRequest) (*BackingImageResponse, error) List(context.Context, *emptypb.Empty) (*ListResponse, error) VersionGet(context.Context, *emptypb.Empty) (*VersionResponse, error) Sync(context.Context, *SyncRequest) (*BackingImageResponse, error) Send(context.Context, *SendRequest) (*emptypb.Empty, error) Fetch(context.Context, *FetchRequest) (*BackingImageResponse, error) PrepareDownload(context.Context, *PrepareDownloadRequest) (*PrepareDownloadResponse, error) BackupCreate(context.Context, *BackupCreateRequest) (*emptypb.Empty, error) BackupStatus(context.Context, *BackupStatusRequest) (*BackupStatusResponse, error) Watch(*emptypb.Empty, BackingImageManagerService_WatchServer) error // contains filtered or unexported methods }
BackingImageManagerServiceServer is the server API for BackingImageManagerService service. All implementations must embed UnimplementedBackingImageManagerServiceServer for forward compatibility
type BackingImageManagerService_WatchClient ¶
type BackingImageManagerService_WatchClient interface { Recv() (*emptypb.Empty, error) grpc.ClientStream }
type BackingImageManagerService_WatchServer ¶
type BackingImageManagerService_WatchServer interface { Send(*emptypb.Empty) error grpc.ServerStream }
type BackingImageResponse ¶
type BackingImageResponse struct { Spec *BackingImageSpec `protobuf:"bytes,1,opt,name=spec,proto3" json:"spec,omitempty"` Status *BackingImageStatus `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` // contains filtered or unexported fields }
func (*BackingImageResponse) Descriptor
deprecated
func (*BackingImageResponse) Descriptor() ([]byte, []int)
Deprecated: Use BackingImageResponse.ProtoReflect.Descriptor instead.
func (*BackingImageResponse) GetSpec ¶
func (x *BackingImageResponse) GetSpec() *BackingImageSpec
func (*BackingImageResponse) GetStatus ¶
func (x *BackingImageResponse) GetStatus() *BackingImageStatus
func (*BackingImageResponse) ProtoMessage ¶
func (*BackingImageResponse) ProtoMessage()
func (*BackingImageResponse) ProtoReflect ¶
func (x *BackingImageResponse) ProtoReflect() protoreflect.Message
func (*BackingImageResponse) Reset ¶
func (x *BackingImageResponse) Reset()
func (*BackingImageResponse) String ¶
func (x *BackingImageResponse) String() string
type BackingImageSpec ¶
type BackingImageSpec struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Uuid string `protobuf:"bytes,2,opt,name=uuid,proto3" json:"uuid,omitempty"` Size int64 `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty"` Checksum string `protobuf:"bytes,4,opt,name=checksum,proto3" json:"checksum,omitempty"` VirtualSize int64 `protobuf:"varint,5,opt,name=virtualSize,proto3" json:"virtualSize,omitempty"` RealSize int64 `protobuf:"varint,6,opt,name=realSize,proto3" json:"realSize,omitempty"` // contains filtered or unexported fields }
func (*BackingImageSpec) Descriptor
deprecated
func (*BackingImageSpec) Descriptor() ([]byte, []int)
Deprecated: Use BackingImageSpec.ProtoReflect.Descriptor instead.
func (*BackingImageSpec) GetChecksum ¶
func (x *BackingImageSpec) GetChecksum() string
func (*BackingImageSpec) GetName ¶
func (x *BackingImageSpec) GetName() string
func (*BackingImageSpec) GetRealSize ¶
func (x *BackingImageSpec) GetRealSize() int64
func (*BackingImageSpec) GetSize ¶
func (x *BackingImageSpec) GetSize() int64
func (*BackingImageSpec) GetUuid ¶
func (x *BackingImageSpec) GetUuid() string
func (*BackingImageSpec) GetVirtualSize ¶
func (x *BackingImageSpec) GetVirtualSize() int64
func (*BackingImageSpec) ProtoMessage ¶
func (*BackingImageSpec) ProtoMessage()
func (*BackingImageSpec) ProtoReflect ¶
func (x *BackingImageSpec) ProtoReflect() protoreflect.Message
func (*BackingImageSpec) Reset ¶
func (x *BackingImageSpec) Reset()
func (*BackingImageSpec) String ¶
func (x *BackingImageSpec) String() string
type BackingImageStatus ¶
type BackingImageStatus struct { State string `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"` ErrorMsg string `protobuf:"bytes,2,opt,name=error_msg,json=errorMsg,proto3" json:"error_msg,omitempty"` SendingReference int32 `protobuf:"varint,3,opt,name=sending_reference,json=sendingReference,proto3" json:"sending_reference,omitempty"` SenderManagerAddress string `protobuf:"bytes,4,opt,name=sender_manager_address,json=senderManagerAddress,proto3" json:"sender_manager_address,omitempty"` Progress int32 `protobuf:"varint,5,opt,name=progress,proto3" json:"progress,omitempty"` Checksum string `protobuf:"bytes,6,opt,name=checksum,proto3" json:"checksum,omitempty"` // contains filtered or unexported fields }
func (*BackingImageStatus) Descriptor
deprecated
func (*BackingImageStatus) Descriptor() ([]byte, []int)
Deprecated: Use BackingImageStatus.ProtoReflect.Descriptor instead.
func (*BackingImageStatus) GetChecksum ¶
func (x *BackingImageStatus) GetChecksum() string
func (*BackingImageStatus) GetErrorMsg ¶
func (x *BackingImageStatus) GetErrorMsg() string
func (*BackingImageStatus) GetProgress ¶
func (x *BackingImageStatus) GetProgress() int32
func (*BackingImageStatus) GetSenderManagerAddress ¶
func (x *BackingImageStatus) GetSenderManagerAddress() string
func (*BackingImageStatus) GetSendingReference ¶
func (x *BackingImageStatus) GetSendingReference() int32
func (*BackingImageStatus) GetState ¶
func (x *BackingImageStatus) GetState() string
func (*BackingImageStatus) ProtoMessage ¶
func (*BackingImageStatus) ProtoMessage()
func (*BackingImageStatus) ProtoReflect ¶
func (x *BackingImageStatus) ProtoReflect() protoreflect.Message
func (*BackingImageStatus) Reset ¶
func (x *BackingImageStatus) Reset()
func (*BackingImageStatus) String ¶
func (x *BackingImageStatus) String() string
type BackupCreateRequest ¶
type BackupCreateRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Uuid string `protobuf:"bytes,2,opt,name=uuid,proto3" json:"uuid,omitempty"` Checksum string `protobuf:"bytes,3,opt,name=checksum,proto3" json:"checksum,omitempty"` BackupTarget string `protobuf:"bytes,4,opt,name=backup_target,json=backupTarget,proto3" json:"backup_target,omitempty"` Labels []string `protobuf:"bytes,5,rep,name=labels,proto3" json:"labels,omitempty"` Credential map[string]string `` /* 161-byte string literal not displayed */ CompressionMethod string `protobuf:"bytes,7,opt,name=compression_method,json=compressionMethod,proto3" json:"compression_method,omitempty"` ConcurrentLimit int32 `protobuf:"varint,8,opt,name=concurrent_limit,json=concurrentLimit,proto3" json:"concurrent_limit,omitempty"` Parameters map[string]string `` /* 161-byte string literal not displayed */ // contains filtered or unexported fields }
func (*BackupCreateRequest) Descriptor
deprecated
func (*BackupCreateRequest) Descriptor() ([]byte, []int)
Deprecated: Use BackupCreateRequest.ProtoReflect.Descriptor instead.
func (*BackupCreateRequest) GetBackupTarget ¶
func (x *BackupCreateRequest) GetBackupTarget() string
func (*BackupCreateRequest) GetChecksum ¶
func (x *BackupCreateRequest) GetChecksum() string
func (*BackupCreateRequest) GetCompressionMethod ¶
func (x *BackupCreateRequest) GetCompressionMethod() string
func (*BackupCreateRequest) GetConcurrentLimit ¶
func (x *BackupCreateRequest) GetConcurrentLimit() int32
func (*BackupCreateRequest) GetCredential ¶
func (x *BackupCreateRequest) GetCredential() map[string]string
func (*BackupCreateRequest) GetLabels ¶
func (x *BackupCreateRequest) GetLabels() []string
func (*BackupCreateRequest) GetName ¶
func (x *BackupCreateRequest) GetName() string
func (*BackupCreateRequest) GetParameters ¶
func (x *BackupCreateRequest) GetParameters() map[string]string
func (*BackupCreateRequest) GetUuid ¶
func (x *BackupCreateRequest) GetUuid() string
func (*BackupCreateRequest) ProtoMessage ¶
func (*BackupCreateRequest) ProtoMessage()
func (*BackupCreateRequest) ProtoReflect ¶
func (x *BackupCreateRequest) ProtoReflect() protoreflect.Message
func (*BackupCreateRequest) Reset ¶
func (x *BackupCreateRequest) Reset()
func (*BackupCreateRequest) String ¶
func (x *BackupCreateRequest) String() string
type BackupStatusRequest ¶
type BackupStatusRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*BackupStatusRequest) Descriptor
deprecated
func (*BackupStatusRequest) Descriptor() ([]byte, []int)
Deprecated: Use BackupStatusRequest.ProtoReflect.Descriptor instead.
func (*BackupStatusRequest) GetName ¶
func (x *BackupStatusRequest) GetName() string
func (*BackupStatusRequest) ProtoMessage ¶
func (*BackupStatusRequest) ProtoMessage()
func (*BackupStatusRequest) ProtoReflect ¶
func (x *BackupStatusRequest) ProtoReflect() protoreflect.Message
func (*BackupStatusRequest) Reset ¶
func (x *BackupStatusRequest) Reset()
func (*BackupStatusRequest) String ¶
func (x *BackupStatusRequest) String() string
type BackupStatusResponse ¶
type BackupStatusResponse struct { Progress int32 `protobuf:"varint,1,opt,name=progress,proto3" json:"progress,omitempty"` BackupUrl string `protobuf:"bytes,2,opt,name=backup_url,json=backupUrl,proto3" json:"backup_url,omitempty"` Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"` State string `protobuf:"bytes,4,opt,name=state,proto3" json:"state,omitempty"` // contains filtered or unexported fields }
func (*BackupStatusResponse) Descriptor
deprecated
func (*BackupStatusResponse) Descriptor() ([]byte, []int)
Deprecated: Use BackupStatusResponse.ProtoReflect.Descriptor instead.
func (*BackupStatusResponse) GetBackupUrl ¶
func (x *BackupStatusResponse) GetBackupUrl() string
func (*BackupStatusResponse) GetError ¶
func (x *BackupStatusResponse) GetError() string
func (*BackupStatusResponse) GetProgress ¶
func (x *BackupStatusResponse) GetProgress() int32
func (*BackupStatusResponse) GetState ¶
func (x *BackupStatusResponse) GetState() string
func (*BackupStatusResponse) ProtoMessage ¶
func (*BackupStatusResponse) ProtoMessage()
func (*BackupStatusResponse) ProtoReflect ¶
func (x *BackupStatusResponse) ProtoReflect() protoreflect.Message
func (*BackupStatusResponse) Reset ¶
func (x *BackupStatusResponse) Reset()
func (*BackupStatusResponse) String ¶
func (x *BackupStatusResponse) String() string
type DeleteRequest ¶
type DeleteRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Uuid string `protobuf:"bytes,2,opt,name=uuid,proto3" json:"uuid,omitempty"` // contains filtered or unexported fields }
func (*DeleteRequest) Descriptor
deprecated
func (*DeleteRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteRequest.ProtoReflect.Descriptor instead.
func (*DeleteRequest) GetName ¶
func (x *DeleteRequest) GetName() string
func (*DeleteRequest) GetUuid ¶
func (x *DeleteRequest) GetUuid() string
func (*DeleteRequest) ProtoMessage ¶
func (*DeleteRequest) ProtoMessage()
func (*DeleteRequest) ProtoReflect ¶
func (x *DeleteRequest) ProtoReflect() protoreflect.Message
func (*DeleteRequest) Reset ¶
func (x *DeleteRequest) Reset()
func (*DeleteRequest) String ¶
func (x *DeleteRequest) String() string
type FetchRequest ¶
type FetchRequest struct { Spec *BackingImageSpec `protobuf:"bytes,1,opt,name=spec,proto3" json:"spec,omitempty"` DataSourceAddress string `protobuf:"bytes,2,opt,name=data_source_address,json=dataSourceAddress,proto3" json:"data_source_address,omitempty"` // contains filtered or unexported fields }
func (*FetchRequest) Descriptor
deprecated
func (*FetchRequest) Descriptor() ([]byte, []int)
Deprecated: Use FetchRequest.ProtoReflect.Descriptor instead.
func (*FetchRequest) GetDataSourceAddress ¶
func (x *FetchRequest) GetDataSourceAddress() string
func (*FetchRequest) GetSpec ¶
func (x *FetchRequest) GetSpec() *BackingImageSpec
func (*FetchRequest) ProtoMessage ¶
func (*FetchRequest) ProtoMessage()
func (*FetchRequest) ProtoReflect ¶
func (x *FetchRequest) ProtoReflect() protoreflect.Message
func (*FetchRequest) Reset ¶
func (x *FetchRequest) Reset()
func (*FetchRequest) String ¶
func (x *FetchRequest) String() string
type GetRequest ¶
type GetRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Uuid string `protobuf:"bytes,2,opt,name=uuid,proto3" json:"uuid,omitempty"` // contains filtered or unexported fields }
func (*GetRequest) Descriptor
deprecated
func (*GetRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetRequest.ProtoReflect.Descriptor instead.
func (*GetRequest) GetName ¶
func (x *GetRequest) GetName() string
func (*GetRequest) GetUuid ¶
func (x *GetRequest) GetUuid() string
func (*GetRequest) ProtoMessage ¶
func (*GetRequest) ProtoMessage()
func (*GetRequest) ProtoReflect ¶
func (x *GetRequest) ProtoReflect() protoreflect.Message
func (*GetRequest) Reset ¶
func (x *GetRequest) Reset()
func (*GetRequest) String ¶
func (x *GetRequest) String() string
type ListResponse ¶
type ListResponse struct { BackingImages map[string]*BackingImageResponse `` /* 188-byte string literal not displayed */ // contains filtered or unexported fields }
func (*ListResponse) Descriptor
deprecated
func (*ListResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListResponse.ProtoReflect.Descriptor instead.
func (*ListResponse) GetBackingImages ¶
func (x *ListResponse) GetBackingImages() map[string]*BackingImageResponse
func (*ListResponse) ProtoMessage ¶
func (*ListResponse) ProtoMessage()
func (*ListResponse) ProtoReflect ¶
func (x *ListResponse) ProtoReflect() protoreflect.Message
func (*ListResponse) Reset ¶
func (x *ListResponse) Reset()
func (*ListResponse) String ¶
func (x *ListResponse) String() string
type PrepareDownloadRequest ¶
type PrepareDownloadRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Uuid string `protobuf:"bytes,2,opt,name=uuid,proto3" json:"uuid,omitempty"` // contains filtered or unexported fields }
func (*PrepareDownloadRequest) Descriptor
deprecated
func (*PrepareDownloadRequest) Descriptor() ([]byte, []int)
Deprecated: Use PrepareDownloadRequest.ProtoReflect.Descriptor instead.
func (*PrepareDownloadRequest) GetName ¶
func (x *PrepareDownloadRequest) GetName() string
func (*PrepareDownloadRequest) GetUuid ¶
func (x *PrepareDownloadRequest) GetUuid() string
func (*PrepareDownloadRequest) ProtoMessage ¶
func (*PrepareDownloadRequest) ProtoMessage()
func (*PrepareDownloadRequest) ProtoReflect ¶
func (x *PrepareDownloadRequest) ProtoReflect() protoreflect.Message
func (*PrepareDownloadRequest) Reset ¶
func (x *PrepareDownloadRequest) Reset()
func (*PrepareDownloadRequest) String ¶
func (x *PrepareDownloadRequest) String() string
type PrepareDownloadResponse ¶
type PrepareDownloadResponse struct { SrcFilePath string `protobuf:"bytes,1,opt,name=src_file_path,json=srcFilePath,proto3" json:"src_file_path,omitempty"` Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` // contains filtered or unexported fields }
func (*PrepareDownloadResponse) Descriptor
deprecated
func (*PrepareDownloadResponse) Descriptor() ([]byte, []int)
Deprecated: Use PrepareDownloadResponse.ProtoReflect.Descriptor instead.
func (*PrepareDownloadResponse) GetAddress ¶
func (x *PrepareDownloadResponse) GetAddress() string
func (*PrepareDownloadResponse) GetSrcFilePath ¶
func (x *PrepareDownloadResponse) GetSrcFilePath() string
func (*PrepareDownloadResponse) ProtoMessage ¶
func (*PrepareDownloadResponse) ProtoMessage()
func (*PrepareDownloadResponse) ProtoReflect ¶
func (x *PrepareDownloadResponse) ProtoReflect() protoreflect.Message
func (*PrepareDownloadResponse) Reset ¶
func (x *PrepareDownloadResponse) Reset()
func (*PrepareDownloadResponse) String ¶
func (x *PrepareDownloadResponse) String() string
type SendRequest ¶
type SendRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Uuid string `protobuf:"bytes,2,opt,name=uuid,proto3" json:"uuid,omitempty"` ToAddress string `protobuf:"bytes,3,opt,name=to_address,json=toAddress,proto3" json:"to_address,omitempty"` // contains filtered or unexported fields }
func (*SendRequest) Descriptor
deprecated
func (*SendRequest) Descriptor() ([]byte, []int)
Deprecated: Use SendRequest.ProtoReflect.Descriptor instead.
func (*SendRequest) GetName ¶
func (x *SendRequest) GetName() string
func (*SendRequest) GetToAddress ¶
func (x *SendRequest) GetToAddress() string
func (*SendRequest) GetUuid ¶
func (x *SendRequest) GetUuid() string
func (*SendRequest) ProtoMessage ¶
func (*SendRequest) ProtoMessage()
func (*SendRequest) ProtoReflect ¶
func (x *SendRequest) ProtoReflect() protoreflect.Message
func (*SendRequest) Reset ¶
func (x *SendRequest) Reset()
func (*SendRequest) String ¶
func (x *SendRequest) String() string
type SyncRequest ¶
type SyncRequest struct { Spec *BackingImageSpec `protobuf:"bytes,1,opt,name=spec,proto3" json:"spec,omitempty"` FromAddress string `protobuf:"bytes,2,opt,name=from_address,json=fromAddress,proto3" json:"from_address,omitempty"` // contains filtered or unexported fields }
func (*SyncRequest) Descriptor
deprecated
func (*SyncRequest) Descriptor() ([]byte, []int)
Deprecated: Use SyncRequest.ProtoReflect.Descriptor instead.
func (*SyncRequest) GetFromAddress ¶
func (x *SyncRequest) GetFromAddress() string
func (*SyncRequest) GetSpec ¶
func (x *SyncRequest) GetSpec() *BackingImageSpec
func (*SyncRequest) ProtoMessage ¶
func (*SyncRequest) ProtoMessage()
func (*SyncRequest) ProtoReflect ¶
func (x *SyncRequest) ProtoReflect() protoreflect.Message
func (*SyncRequest) Reset ¶
func (x *SyncRequest) Reset()
func (*SyncRequest) String ¶
func (x *SyncRequest) String() string
type UnimplementedBackingImageManagerServiceServer ¶
type UnimplementedBackingImageManagerServiceServer struct { }
UnimplementedBackingImageManagerServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedBackingImageManagerServiceServer) BackupCreate ¶
func (UnimplementedBackingImageManagerServiceServer) BackupCreate(context.Context, *BackupCreateRequest) (*emptypb.Empty, error)
func (UnimplementedBackingImageManagerServiceServer) BackupStatus ¶
func (UnimplementedBackingImageManagerServiceServer) BackupStatus(context.Context, *BackupStatusRequest) (*BackupStatusResponse, error)
func (UnimplementedBackingImageManagerServiceServer) Delete ¶
func (UnimplementedBackingImageManagerServiceServer) Delete(context.Context, *DeleteRequest) (*emptypb.Empty, error)
func (UnimplementedBackingImageManagerServiceServer) Fetch ¶
func (UnimplementedBackingImageManagerServiceServer) Fetch(context.Context, *FetchRequest) (*BackingImageResponse, error)
func (UnimplementedBackingImageManagerServiceServer) List ¶
func (UnimplementedBackingImageManagerServiceServer) List(context.Context, *emptypb.Empty) (*ListResponse, error)
func (UnimplementedBackingImageManagerServiceServer) PrepareDownload ¶
func (UnimplementedBackingImageManagerServiceServer) PrepareDownload(context.Context, *PrepareDownloadRequest) (*PrepareDownloadResponse, error)
func (UnimplementedBackingImageManagerServiceServer) Send ¶
func (UnimplementedBackingImageManagerServiceServer) Send(context.Context, *SendRequest) (*emptypb.Empty, error)
func (UnimplementedBackingImageManagerServiceServer) Sync ¶
func (UnimplementedBackingImageManagerServiceServer) Sync(context.Context, *SyncRequest) (*BackingImageResponse, error)
func (UnimplementedBackingImageManagerServiceServer) VersionGet ¶
func (UnimplementedBackingImageManagerServiceServer) VersionGet(context.Context, *emptypb.Empty) (*VersionResponse, error)
type UnsafeBackingImageManagerServiceServer ¶
type UnsafeBackingImageManagerServiceServer interface {
// contains filtered or unexported methods
}
UnsafeBackingImageManagerServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to BackingImageManagerServiceServer will result in compilation errors.
type VersionResponse ¶
type VersionResponse struct { Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` GitCommit string `protobuf:"bytes,2,opt,name=gitCommit,proto3" json:"gitCommit,omitempty"` BuildDate string `protobuf:"bytes,3,opt,name=buildDate,proto3" json:"buildDate,omitempty"` BackingImageManagerApiVersion int64 `` /* 155-byte string literal not displayed */ BackingImageManagerApiMinVersion int64 `` /* 166-byte string literal not displayed */ // contains filtered or unexported fields }
func (*VersionResponse) Descriptor
deprecated
func (*VersionResponse) Descriptor() ([]byte, []int)
Deprecated: Use VersionResponse.ProtoReflect.Descriptor instead.
func (*VersionResponse) GetBackingImageManagerApiMinVersion ¶
func (x *VersionResponse) GetBackingImageManagerApiMinVersion() int64
func (*VersionResponse) GetBackingImageManagerApiVersion ¶
func (x *VersionResponse) GetBackingImageManagerApiVersion() int64
func (*VersionResponse) GetBuildDate ¶
func (x *VersionResponse) GetBuildDate() string
func (*VersionResponse) GetGitCommit ¶
func (x *VersionResponse) GetGitCommit() string
func (*VersionResponse) GetVersion ¶
func (x *VersionResponse) GetVersion() string
func (*VersionResponse) ProtoMessage ¶
func (*VersionResponse) ProtoMessage()
func (*VersionResponse) ProtoReflect ¶
func (x *VersionResponse) ProtoReflect() protoreflect.Message
func (*VersionResponse) Reset ¶
func (x *VersionResponse) Reset()
func (*VersionResponse) String ¶
func (x *VersionResponse) String() string