Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RPCToBackingImageList ¶
func RPCToBackingImageList(obj *rpc.ListResponse) map[string]*BackingImage
Types ¶
type BackingImage ¶
type BackingImage struct { Name string `json:"name"` UUID string `json:"uuid"` Size int64 `json:"size"` VirtualSize int64 `json:"virtualSize"` ExpectedChecksum string `json:"expectedChecksum"` Status BackingImageStatus `json:"status"` }
func RPCToBackingImage ¶
func RPCToBackingImage(obj *rpc.BackingImageResponse) *BackingImage
type BackingImageStatus ¶
type BackingImageStream ¶
type BackingImageStream struct {
// contains filtered or unexported fields
}
func NewBackingImageStream ¶
func NewBackingImageStream(conn *grpc.ClientConn, ctxCancel context.CancelFunc, stream rpc.BackingImageManagerService_WatchClient) *BackingImageStream
func (*BackingImageStream) Close ¶
func (s *BackingImageStream) Close() error
func (*BackingImageStream) Recv ¶
func (s *BackingImageStream) Recv() error
type BackupStatus ¶ added in v1.6.0
type BackupStatus struct { Progress int `json:"progress"` BackupURL string `json:"backupURL"` ErrorMsg string `json:"errorMsg"` State string `json:"state"` }
func RPCToBackupStatus ¶ added in v1.6.0
func RPCToBackupStatus(obj *rpc.BackupStatusResponse) *BackupStatus
type DataSourceInfo ¶
type DataSourceInfo struct { SourceType string `json:"sourceType"` Parameters map[string]string `json:"parameters"` Name string `json:"name"` FileInfo }
func (*DataSourceInfo) DeepCopy ¶
func (in *DataSourceInfo) DeepCopy() *DataSourceInfo
type FileInfo ¶
type FileInfo struct { DiskUUID string `json:"diskUUID"` ExpectedChecksum string `json:"expectedChecksum"` FilePath string `json:"filePath"` UUID string `json:"uuid"` Size int64 `json:"size"` VirtualSize int64 `json:"virtualSize"` State string `json:"state"` Progress int `json:"progress"` ProcessedSize int64 `json:"processedSize"` ModificationTime string `json:"modificationTime"` CurrentChecksum string `json:"currentChecksum"` Message string `json:"message"` SendingReference int `json:"sendingReference"` }
Click to show internal directories.
Click to hide internal directories.