mdm

package
v0.10.2 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Transport

type Transport struct {
	mdm.MDM

	filestore.FileStore
	// contains filtered or unexported fields
}

Transport implements a Transport which uses an MDM to install a signed pkg to place a secure token on the filesystem

func New

func New(m mdm.MDM, urlPrefix string, fs filestore.FileStore, cert *x509.Certificate, key *rsa.PrivateKey) *Transport

New returns a new Transport with the given parameters. cert should be an "Apple Developer ID Installer" certificate

func (*Transport) Place

func (m *Transport) Place(token, udid, path string) error

Place places the token at path on the device with udid

Jump to

Keyboard shortcuts

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