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"`
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 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"`
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.