unpacker

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: 42 Imported by: 12

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Unpacker

type Unpacker struct {
	// contains filtered or unexported fields
}

func Load

func Load(baseDir string, imageServerAddress string, logger log.DebugLogger) (
	*Unpacker, error)

func (*Unpacker) AddDevice

func (u *Unpacker) AddDevice(deviceId string) error

func (*Unpacker) AssociateStreamWithDevice

func (u *Unpacker) AssociateStreamWithDevice(streamName string,
	deviceId string) error

func (*Unpacker) ClaimDevice added in v0.3.2

func (u *Unpacker) ClaimDevice(deviceId, deviceName string) error

func (*Unpacker) ExportImage

func (u *Unpacker) ExportImage(streamName string, exportType string,
	exportDestination string) error

func (*Unpacker) ForgetStream added in v0.3.2

func (u *Unpacker) ForgetStream(streamName string) error

func (*Unpacker) GetFileSystem

func (u *Unpacker) GetFileSystem(streamName string) (
	*filesystem.FileSystem, error)

func (*Unpacker) GetRaw added in v0.3.2

func (u *Unpacker) GetRaw(streamName string) (io.ReadCloser, uint64, error)

func (*Unpacker) GetStatus

func (u *Unpacker) GetStatus() proto.GetStatusResponse

func (*Unpacker) PrepareForAddDevice

func (u *Unpacker) PrepareForAddDevice() error

func (*Unpacker) PrepareForCapture

func (u *Unpacker) PrepareForCapture(streamName string) error

func (*Unpacker) PrepareForCopy

func (u *Unpacker) PrepareForCopy(streamName string) error

func (*Unpacker) PrepareForUnpack

func (u *Unpacker) PrepareForUnpack(streamName string, skipIfPrepared bool,
	doNotWaitForResult bool) error

func (*Unpacker) RemoveDevice

func (u *Unpacker) RemoveDevice(deviceId string) error

func (*Unpacker) UnpackImage

func (u *Unpacker) UnpackImage(streamName string, imageLeafName string) error

func (*Unpacker) WriteHtml

func (u *Unpacker) WriteHtml(writer io.Writer)

func (*Unpacker) WriteStreamHtml added in v0.3.2

func (u *Unpacker) WriteStreamHtml(writer io.Writer, streamName string)

Jump to

Keyboard shortcuts

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