image_mounter

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: May 22, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ImageTypeDeveloper = "Developer"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

func NewClient

func NewClient(udid string) (*Client, error)

func (*Client) Close

func (c *Client) Close() error

func (*Client) Hangup

func (c *Client) Hangup() error

func (*Client) LookupImage

func (c *Client) LookupImage(imageType string) (*LookupImageResponse, error)

func (*Client) Mount

func (c *Client) Mount(path, sig, imageType string) (*ResponseBase, error)

type LookupImageRequest

type LookupImageRequest struct {
	RequestBase
	ImageType string `plist:"ImageType"`
}

type LookupImageResponse

type LookupImageResponse struct {
	ResponseBase
	ImageSignature [][]byte `plist:"ImageSignature"`
}

type RequestBase

type RequestBase struct {
	Command string `plist:"Command"`
}

type ResponseBase

type ResponseBase struct {
	Status string `plist:"Status"`
}

Jump to

Keyboard shortcuts

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