Documentation ¶
Index ¶
- Constants
- type AssociateStreamWithDeviceRequest
- type AssociateStreamWithDeviceResponse
- type ClaimDeviceRequest
- type ClaimDeviceResponse
- type DeviceInfo
- type ExportImageRequest
- type ExportImageResponse
- type ForgetStreamRequest
- type ForgetStreamResponse
- type GetRawRequest
- type GetRawResponse
- type GetStatusRequest
- type GetStatusResponse
- type ImageStreamInfo
- type PrepareForCaptureRequest
- type PrepareForCaptureResponse
- type PrepareForCopyRequest
- type PrepareForCopyResponse
- type PrepareForUnpackRequest
- type PrepareForUnpackResponse
- type RemoveDeviceRequest
- type RemoveDeviceResponse
- type StreamStatus
- type UnpackImageRequest
- type UnpackImageResponse
Constants ¶
View Source
const ( StatusStreamNoDevice = 0 StatusStreamNotMounted = 1 StatusStreamMounted = 2 StatusStreamScanning = 3 StatusStreamScanned = 4 StatusStreamFetching = 5 StatusStreamUpdating = 6 StatusStreamPreparing = 7 StatusStreamExporting = 8 StatusStreamNoFileSystem = 9 StatusStreamTransferring = 10 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AssociateStreamWithDeviceResponse ¶
type AssociateStreamWithDeviceResponse struct{}
type ClaimDeviceRequest ¶ added in v0.3.2
type ClaimDeviceResponse ¶ added in v0.3.2
type ClaimDeviceResponse struct{}
type DeviceInfo ¶
type ExportImageRequest ¶
type ExportImageResponse ¶
type ExportImageResponse struct{}
type ForgetStreamRequest ¶ added in v0.3.2
type ForgetStreamRequest struct {
StreamName string
}
type ForgetStreamResponse ¶ added in v0.3.2
type ForgetStreamResponse struct{}
type GetRawRequest ¶ added in v0.3.2
type GetRawRequest struct {
StreamName string
}
type GetRawResponse ¶ added in v0.3.2
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 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 UnpackImageResponse ¶
type UnpackImageResponse struct{}
Click to show internal directories.
Click to hide internal directories.