asc

package
v1.529.0 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2026 License: Apache-2.0 Imports: 11 Imported by: 1

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.

Jump to

Keyboard shortcuts

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