installation_proxy

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppBundle

type AppBundle struct {
	ApplicationType     string `plist:"ApplicationType"`
	BuildMachineOSBuild string `plist:"BuildMachineOSBuild"`
	CFBundleDisplayName string `plist:"CFBundleDisplayName"`
	CFBundleExecutable  string `plist:"CFBundleExecutable"`
	CFBundleIcons       struct {
		CFBundleAlternateIcons map[string]*struct {
			CFBundleIconFiles []string    `plist:"CFBundleIconFiles"`
			UIPrerenderedIcon interface{} `plist:"UIPrerenderedIcon"`
		}
	} `plist:"CFBundleIcons"`
	CFBundleIdentifier            string   `plist:"CFBundleIdentifier"`
	CFBundleInfoDictionaryVersion string   `plist:"CFBundleInfoDictionaryVersion"`
	CFBundleName                  string   `plist:"CFBundleName"`
	CFBundleNumericVersion        int      `plist:"CFBundleNumericVersion"`
	CFBundlePackageType           string   `plist:"CFBundlePackageType"`
	CFBundleShortVersionString    string   `plist:"CFBundleShortVersionString"`
	CFBundleSupportedPlatforms    []string `plist:"CFBundleSupportedPlatforms"`
	CFBundleURLTypes              []*struct {
		CFBundleURLSchemes []string `plist:"CFBundleURLSchemes"`
		CFBundleTypeRole   string   `plist:"CFBundleTypeRole,omitempty"`
	} `plist:"CFBundleURLTypes"`
	CFBundleVersion                          string                 `plist:"CFBundleVersion"`
	Container                                string                 `plist:"Container"`
	DTAppStoreToolsBuild                     string                 `plist:"DTAppStoreToolsBuild"`
	DTCompiler                               string                 `plist:"DTCompiler"`
	DTPlatformBuild                          string                 `plist:"DTPlatformBuild"`
	DTPlatformName                           string                 `plist:"DTPlatformName"`
	DTPlatformVersion                        string                 `plist:"DTPlatformVersion"`
	DTSDKBuild                               string                 `plist:"DTSDKBuild"`
	DTSDKName                                string                 `plist:"DTSDKName"`
	DTXcode                                  string                 `plist:"DTXcode"`
	DTXcodeBuild                             string                 `plist:"DTXcodeBuild"`
	Entitlements                             map[string]interface{} `plist:"Entitlements"`
	EnvironmentVariables                     map[string]string      `plist:"EnvironmentVariables"`
	GroupContainers                          map[string]string      `plist:"GroupContainers"`
	ITSAppUsesNonExemptEncryption            bool                   `plist:"ITSAppUsesNonExemptEncryption"`
	IsDemotedApp                             bool                   `plist:"IsDemotedApp"`
	IsUpgradeable                            bool                   `plist:"IsUpgradeable"`
	LSApplicationQueriesSchemes              []string               `plist:"LSApplicationQueriesSchemes"`
	LSRequiresIPhoneOS                       bool                   `plist:"LSRequiresIPhoneOS"`
	MinimumOSVersion                         string                 `plist:"MinimumOSVersion"`
	NSUserActivityTypes                      []string               `plist:"NSUserActivityTypes"`
	ParallelPlaceholderPath                  bool                   `plist:"ParallelPlaceholderPath"`
	Path                                     string                 `plist:"Path"`
	ProfileValidated                         bool                   `plist:"ProfileValidated"`
	SequenceNumber                           int                    `plist:"SequenceNumber"`
	SignerIdentity                           string                 `plist:"SignerIdentity"`
	UIAppFonts                               []string               `plist:"UIAppFonts"`
	UIBackgroundModes                        []string               `plist:"UIBackgroundModes"`
	UIDeviceFamily                           []int                  `plist:"UIDeviceFamily"`
	UILaunchStoryboardName                   string                 `plist:"UILaunchStoryboardName"`
	UIRequiredDeviceCapabilities             []string               `plist:"UIRequiredDeviceCapabilities"`
	UIStatusBarHidden                        bool                   `plist:"UIStatusBarHidden"`
	UIStatusBarStyle                         string                 `plist:"UIStatusBarStyle"`
	UISupportedDevices                       []string               `plist:"UISupportedDevices"`
	UISupportedInterfaceOrientations         []string               `plist:"UISupportedInterfaceOrientations"`
	UIViewControllerBasedStatusBarAppearance bool                   `plist:"UIViewControllerBasedStatusBarAppearance"`
}

func AppBundleFromAppBundle

func AppBundleFromAppBundle(appBundle string) (*AppBundle, error)

func AppBundleFromIpa

func AppBundleFromIpa(ipa string) (*AppBundle, error)

type ApplicationIdentifierRequest

type ApplicationIdentifierRequest struct {
	Command
	ApplicationIdentifier string `plist:"ApplicationIdentifier"`
}

type Browse

type Browse struct {
	Command
}

type Client

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

func NewClient

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

func (*Client) Archive

func (c *Client) Archive(bundleId string, progressCb ProgressFunc) error

func (*Client) Browse

func (c *Client) Browse() (interface{}, error)

func (*Client) Close

func (c *Client) Close() error

func (*Client) CopyAndInstall

func (c *Client) CopyAndInstall(pkgPath string, progressCb ProgressFunc) error

func (*Client) Install

func (c *Client) Install(packagePath string, progressCb ProgressFunc) error

func (*Client) InstalledApps

func (c *Client) InstalledApps() ([]string, error)

func (*Client) Lookup

func (c *Client) Lookup() (map[string]*AppBundle, error)

func (*Client) LookupArchives

func (c *Client) LookupArchives() error

func (*Client) LookupPath

func (c *Client) LookupPath(bundleId string) (string, error)

func (*Client) LookupRaw

func (c *Client) LookupRaw(keys ...string) (map[string]interface{}, error)

func (*Client) RemoveArchive

func (c *Client) RemoveArchive(bundleId string, progressCb ProgressFunc) error

func (*Client) RestoreArchive

func (c *Client) RestoreArchive(bundleId string, progressCb ProgressFunc) error

func (*Client) Uninstall

func (c *Client) Uninstall(bundleId string, progressCb ProgressFunc) error

func (*Client) Upgrade

func (c *Client) Upgrade(packagePath string, progressCb ProgressFunc) error

type ClientOptions

type ClientOptions struct {
	ReturnAttributes []string `plist:"ReturnAttributes,omitempty"`
}

type Command

type Command struct {
	Command       string         `plist:"Command"`
	ClientOptions *ClientOptions `plist:"ClientOptions,omitempty"`
}

func NewCommand

func NewCommand(cmd string, returnAttributes ...string) Command

type InstallOrUpgradeRequest

type InstallOrUpgradeRequest struct {
	Command
	PackagePath string `plist:"PackagePath"`
}

type Lookup

type Lookup struct {
	Command
	ApplicationIdentifier string `plist:"ApplicationIdentifier"`
}

type LookupArchivesRequest

type LookupArchivesRequest struct {
	Command
}

type LookupResult

type LookupResult struct {
	LookupResult map[string]*AppBundle `plist:"LookupResult"`
}

type ProgressEvent

type ProgressEvent struct {
	Status          string `plist:"Status"`
	PercentComplete int    `plist:"PercentComplete"`
}

type ProgressFunc

type ProgressFunc func(*ProgressEvent)

Jump to

Keyboard shortcuts

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