Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeployRequest ¶ added in v1.529.0
type DeployRequest struct {
BundleID string
FilePath string
Version string
Description string
ReleaseDate string
Visible bool
TargetSystem string
User string
}
DeployRequest holds the data used to deploy an app to ASC (and therewith to Jamf)
type System ¶
type System interface {
DeployApp(request DeployRequest) error
}
type SystemInstance ¶
type SystemInstance struct {
// contains filtered or unexported fields
}
SystemInstance is the client communicating with the ASC backend
func NewSystemInstance ¶
func NewSystemInstance(client *piperHttp.Client, serverURL, token string, timeout time.Duration) (*SystemInstance, error)
NewSystemInstance returns a new ASC client for communicating with the backend
func (*SystemInstance) DeployApp ¶ added in v1.529.0
func (sys *SystemInstance) DeployApp(request DeployRequest) error
DeployApp uploads the app binary together with the release information to ASC in a single request. ASC creates the release note and forwards the binary to Jamf.
Click to show internal directories.
Click to hide internal directories.