Documentation ¶
Index ¶
- func InstallProfileSilent(device ios.DeviceEntry, p12file []byte, p12password string, ...) error
- func RemoveProxy(device ios.DeviceEntry) error
- func SetHttpProxy(device ios.DeviceEntry, host string, port string, user string, pass string, ...) error
- type Connection
- func (mcInstallConn *Connection) AddProfile(profilePlist []byte) error
- func (mcInstallConn *Connection) AddProfileSupervised(profileFileBytes []byte, p12fileBytes []byte, password string) error
- func (mcInstallConn *Connection) Close() error
- func (mcInstallConn *Connection) Escalate(p12bytes []byte, p12Password string) error
- func (mcInstallConn *Connection) HandleList() ([]ProfileInfo, error)
- func (mcInstallConn *Connection) RemoveProfile(identifier string) error
- type ProfileInfo
- type ProfileManifest
- type ProfileMetadata
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InstallProfileSilent ¶ added in v1.0.68
func InstallProfileSilent(device ios.DeviceEntry, p12file []byte, p12password string, profileBytes []byte) error
InstallProfileSilent install a configuration profile silently.
func RemoveProxy ¶ added in v1.0.68
func RemoveProxy(device ios.DeviceEntry) error
RemoveProxy unsets the global HTTP proxy config again by deleting the global config profile installed by go-ios using the identifier I hardcoded 'Go-iOS.CD15976B-E205-4213-9B8E-FDAA5FAB1C22'
func SetHttpProxy ¶ added in v1.0.68
func SetHttpProxy(device ios.DeviceEntry, host string, port string, user string, pass string, p12file []byte, p12password string) error
SetHttpProxy generates the config profile "Go-iOS.CD15976B-E205-4213-9B8E-FDAA5FAB1C22" that will set a global http proxy on supervised devices.
Types ¶
type Connection ¶
type Connection struct {
// contains filtered or unexported fields
}
func New ¶
func New(device ios.DeviceEntry) (*Connection, error)
func (*Connection) AddProfile ¶ added in v1.0.57
func (mcInstallConn *Connection) AddProfile(profilePlist []byte) error
func (*Connection) AddProfileSupervised ¶ added in v1.0.57
func (mcInstallConn *Connection) AddProfileSupervised(profileFileBytes []byte, p12fileBytes []byte, password string) error
func (*Connection) Close ¶
func (mcInstallConn *Connection) Close() error
Close closes the underlying DeviceConnection
func (*Connection) Escalate ¶ added in v1.0.57
func (mcInstallConn *Connection) Escalate(p12bytes []byte, p12Password string) error
func (*Connection) HandleList ¶
func (mcInstallConn *Connection) HandleList() ([]ProfileInfo, error)
func (*Connection) RemoveProfile ¶ added in v1.0.57
func (mcInstallConn *Connection) RemoveProfile(identifier string) error
type ProfileInfo ¶ added in v1.0.57
type ProfileInfo struct { Identifier string Manifest ProfileManifest Metadata ProfileMetadata Status string }
type ProfileManifest ¶ added in v1.0.57
Click to show internal directories.
Click to hide internal directories.