client

package
v0.3.4 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: Apache-2.0 Imports: 5 Imported by: 8

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddDevice

func AddDevice(client *srpc.Client, deviceId string, adder func() error) error

func AssociateStreamWithDevice

func AssociateStreamWithDevice(srpcClient *srpc.Client, streamName string,
	deviceId string) error

func ClaimDevice added in v0.3.2

func ClaimDevice(client *srpc.Client, deviceId, deviceName string) error

func ExportImage

func ExportImage(srpcClient *srpc.Client, streamName,
	exportType, exportDestination string) error

func ForgetStream added in v0.3.2

func ForgetStream(client *srpc.Client, streamName string) error

func GetRaw added in v0.3.2

func GetRaw(srpcClient *srpc.Client, streamName string) (
	io.ReadCloser, uint64, error)

func GetStatus

func GetStatus(srpcClient *srpc.Client) (proto.GetStatusResponse, error)

func PrepareForCapture

func PrepareForCapture(srpcClient *srpc.Client, streamName string) error

func PrepareForCopy

func PrepareForCopy(srpcClient *srpc.Client, streamName string) error

func PrepareForUnpack

func PrepareForUnpack(srpcClient *srpc.Client, streamName string,
	skipIfPrepared bool, doNotWaitForResult bool) error

func RemoveDevice

func RemoveDevice(client *srpc.Client, deviceId string) error

func UnpackImage

func UnpackImage(srpcClient *srpc.Client, streamName,
	imageLeafName string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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