imageunpacker

package
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 5, 2022 License: Apache-2.0 Imports: 1 Imported by: 18

Documentation

Index

Constants

View Source
const (
	StatusStreamNoDevice     = 0
	StatusStreamNotMounted   = 1
	StatusStreamMounted      = 2
	StatusStreamScanning     = 3
	StatusStreamScanned      = 4
	StatusStreamFetching     = 5
	StatusStreamUpdating     = 6
	StatusStreamPreparing    = 7
	StatusStreamExporting    = 8
	StatusStreamNoFileSystem = 9
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AssociateStreamWithDeviceRequest

type AssociateStreamWithDeviceRequest struct {
	StreamName string
	DeviceId   string
}

type AssociateStreamWithDeviceResponse

type AssociateStreamWithDeviceResponse struct{}

type DeviceInfo

type DeviceInfo struct {
	DeviceName string
	Size       uint64
	StreamName string
}

type ExportImageRequest

type ExportImageRequest struct {
	StreamName  string
	Type        string
	Destination string
}

type ExportImageResponse

type ExportImageResponse struct{}

type GetStatusRequest

type GetStatusRequest struct{}

type GetStatusResponse

type GetStatusResponse struct {
	Devices           map[string]DeviceInfo      // Key: DeviceId.
	ImageStreams      map[string]ImageStreamInfo // Key: StreamName.
	TimeSinceLastUsed time.Duration
}

type ImageStreamInfo

type ImageStreamInfo struct {
	DeviceId string
	Status   StreamStatus
}

type PrepareForCaptureRequest

type PrepareForCaptureRequest struct {
	StreamName string
}

type PrepareForCaptureResponse

type PrepareForCaptureResponse struct{}

type PrepareForCopyRequest

type PrepareForCopyRequest struct {
	StreamName string
}

type PrepareForCopyResponse

type PrepareForCopyResponse struct{}

type PrepareForUnpackRequest

type PrepareForUnpackRequest struct {
	StreamName         string
	SkipIfPrepared     bool
	DoNotWaitForResult bool
}

type PrepareForUnpackResponse

type PrepareForUnpackResponse struct{}

type RemoveDeviceRequest

type RemoveDeviceRequest struct {
	DeviceId string
}

type RemoveDeviceResponse

type RemoveDeviceResponse struct{}

type StreamStatus

type StreamStatus uint

func (StreamStatus) String

func (status StreamStatus) String() string

type UnpackImageRequest

type UnpackImageRequest struct {
	StreamName    string
	ImageLeafName string
}

type UnpackImageResponse

type UnpackImageResponse struct{}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL