misagent

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

Documentation

Index

Constants

This section is empty.

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) Copy

func (c *Client) Copy() ([]*MobileProvision, error)

func (*Client) CopyAll

func (c *Client) CopyAll() ([][]byte, error)

func (*Client) Install

func (c *Client) Install(profileData []byte) error

func (*Client) ProvisioningProfiles

func (c *Client) ProvisioningProfiles() ([]*MobileProvision, error)

func (*Client) Remove

func (c *Client) Remove(uuid string) error

type CopyAllRequest

type CopyAllRequest struct {
	RequestBase
	ProfileType string `plist:"ProfileType"`
}

type CopyAllResponse

type CopyAllResponse struct {
	Payload [][]byte `plist:"Payload"`
	Status  int      `plist:"Status"`
}

type CopyRequest

type CopyRequest struct {
	RequestBase
	ProfileType string `plist:"ProfileType"`
}

type CopyResponse

type CopyResponse struct {
	Payload [][]byte `plist:"Payload"`
	Status  int      `plist:"Status"`
}

type InstallRequest

type InstallRequest struct {
	RequestBase
	Profile     []byte `plist:"Profile"`
	ProfileType string `plist:"ProfileType"`
}

type InstallResponse

type InstallResponse struct {
	Payload [][]byte `plist:"Payload"`
	Status  int      `plist:"Status"`
}

type MobileProvision

type MobileProvision struct {
	AppIDName                   string                 `plist:"AppIDName"`
	ApplicationIdentifierPrefix []string               `plist:"ApplicationIdentifierPrefix"`
	CreationDate                time.Time              `plist:"CreationDate"`
	Platform                    []string               `plist:"Platform"`
	IsXcodeManaged              bool                   `plist:"IsXcodeManaged"`
	DeveloperCertificates       [][]byte               `plist:"DeveloperCertificates"`
	Entitlements                map[string]interface{} `plist:"Entitlements"`
	ExpirationDate              time.Time              `plist:"ExpirationDate"`
	Name                        string                 `plist:"Name"`
	ProvisionsAllDevices        bool                   `plist:"ProvisionsAllDevices"`
	TeamIdentifier              []string               `plist:"TeamIdentifier"`
	TeamName                    string                 `plist:"TeamName"`
	TimeToLive                  int                    `plist:"TimeToLive"`
	UUID                        string                 `plist:"UUID"`
	Version                     int                    `plist:"Version"`
}

func NewMobileProvisionFromData

func NewMobileProvisionFromData(data []byte) (*MobileProvision, error)

type RemoveRequest

type RemoveRequest struct {
	RequestBase
	ProfileID   string `plist:"ProfileID"`
	ProfileType string `plist:"ProfileType"`
}

type RequestBase

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

Jump to

Keyboard shortcuts

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