Documentation
¶
Index ¶
- func CheckJamfProConnection() error
- func GenerateRandomRecoveryLockPassword() string
- func GetHardwareUUIDFromSystemProfiler() (string, error)
- func GetJamfProURL() (string, error)
- func GetManagementIDByDeviceName(client *jamfpro.Client, deviceName string) (string, error)
- func GetSerialNumberFromSystemProfiler() (string, error)
- func ReadPayloadFromFile(filePath string) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckJamfProConnection ¶ added in v1.27.0
func CheckJamfProConnection() error
Function to check connectivity to the Jamf Pro server
func GenerateRandomRecoveryLockPassword ¶ added in v1.27.0
func GenerateRandomRecoveryLockPassword() string
Function to generate a 26-digit random Recovery Lock password
func GetHardwareUUIDFromSystemProfiler ¶ added in v1.27.0
Function to get the hardware UUID of the Mac
func GetJamfProURL ¶ added in v1.27.0
Function to retrieve the Jamf Pro (JSS) URL from preferences
func GetManagementIDByDeviceName ¶ added in v1.27.0
GetManagementIDByDeviceName retrieves the management ID for a device by its name. For more information on how to add parameters to this request, see docs/url_queries.md
func GetSerialNumberFromSystemProfiler ¶ added in v1.27.0
Function to get the Mac's serial number
func ReadPayloadFromFile ¶
ReadPayloadFromFile loads content from a file for upload
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.