Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EnrollDevice ¶
EnrollDevice enrolls a device using an invite ID
func ReportToTeam ¶
ReportAndSave generates a report and saves it to the configuration file.
Types ¶
type DeviceEnrollmentRequest ¶
type DeviceEnrollmentRequest struct {
InviteID string `json:"invite_id"`
Device EnrollmentDevice `json:"device"`
}
type DeviceEnrollmentResponse ¶
type DeviceEnrollmentResponse struct {
Auth string `json:"auth"`
}
type EnrollmentDevice ¶
type EnrollmentDevice struct {
MachineUUID string `json:"machineUUID"`
MachineName string `json:"machineName"`
OSVersion string `json:"macOSVersion,omitempty"`
LinuxOSVersion string `json:"linuxOSVersion,omitempty"`
WindowsOSVersion string `json:"windowsOSVersion,omitempty"`
ModelName string `json:"modelName"`
ModelSerial string `json:"modelSerial"`
}
EnrollmentDevice is like ReportingDevice but without the Auth field
type Report ¶
type Report struct {
PassedCount int `json:"passedCount"`
FailedCount int `json:"failedCount"`
DisabledCount int `json:"disabledCount"`
Device shared.ReportingDevice `json:"device"`
Version string `json:"version"`
SignificantChange string `json:"significantChange"`
State map[string]check.CheckState `json:"state"`
}
Click to show internal directories.
Click to hide internal directories.