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 ¶
func CheckJamfProConnection() error
Function to check connectivity to the Jamf Pro server
func GenerateRandomRecoveryLockPassword ¶
func GenerateRandomRecoveryLockPassword() string
Function to generate a 26-digit random Recovery Lock password
func GetHardwareUUIDFromSystemProfiler ¶
Function to get the hardware UUID of the Mac
func GetJamfProURL ¶
Function to retrieve the Jamf Pro (JSS) URL from preferences
func GetManagementIDByDeviceName ¶
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 ¶
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.