Documentation
¶
Index ¶
- func Run(cfg *utils.Config)
- type ConfigDBResult
- type ConfigLighthouseDBResult
- type DeviceLoginData
- type ManagementConnectionStatistics
- type ManagementOSAutoupdateRequest
- type ManagementRequest
- type ManagementResponse
- type ManagementResponseConfig
- type ManagementResponseConfigData
- type ManagementResponseDNS
- type ManagementResponseListener
- type ManagementResponseOSAutoupdatePolicy
- type ManagementSimpleUPNResponse
- type ManagementSimpleUPNResponseAccess
- type ManagementUPNResponse
- type OAuthLighthouseLoginRequest
- type OAuthLoginRequest
- type OAuthLoginResponse
- type OAuthUPNLoginRequest
- type PublicWebConfig
- type SysApiUserDetail
- type UPNSimpleConfigDBResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ConfigDBResult ¶
type DeviceLoginData ¶
type ManagementOSAutoupdateRequest ¶
type ManagementOSAutoupdateRequest struct {
Type string `json:"type"`
Name string `json:"name"`
Version string `json:"version"`
Description string `json:"description"`
LastUpdate time.Time `json:"last_update"`
LastUpdateOutput string `json:"last_update_output"`
Success bool `json:"success"`
SecurityUpdatesCount int `json:"security_updates_count"`
OtherUpdatesCount int `json:"other_updates_count"`
SecurityUpdates []string `json:"security_updates"`
OtherUpdates []string `json:"other_updates"`
}
type ManagementRequest ¶
type ManagementResponse ¶
type ManagementResponse struct {
Status string `json:"status"`
ConfigData *ManagementResponseConfig `json:"config_data"`
Dns *ManagementResponseDNS `json:"dns"`
}
type ManagementResponseConfig ¶
type ManagementResponseConfig struct {
AccessID int `json:"accessid"`
Name string `json:"name"`
UPN string `json:"upn"`
ConfigData ManagementResponseConfigData `json:"config"`
NebulaPunchBack bool `json:"nebulapunchback"`
NebulaRestrictiveNetwork bool `json:"nebularestrictivenetwork"`
Autoupdate bool `json:"autoupdate"`
WebSocketUrl string `json:"websocketurl"`
WebSocketIPs []string `json:"websocketips"`
WebSocketUsernamePassword string `json:"websocketusernamepassword"`
ApplianceListeners []ManagementResponseListener `json:"listeners"`
NebulaCIDR string `json:"nebulacidr"`
OSAutoupdatePolicy ManagementResponseOSAutoupdatePolicy `json:"osautoupdatepolicy"`
}
type ManagementResponseDNS ¶
type ManagementResponseOSAutoupdatePolicy ¶
type ManagementResponseOSAutoupdatePolicy struct {
Enabled bool `json:"enabled"`
SecurityAutoupdateEnabled bool `json:"securityautoupdateenabled"`
AllAutoupdateEnabled bool `json:"allautoupdateenabled"`
RestartAfterUpdate bool `json:"restartafterupdate"`
// 0 means any hour in day
UpdateHour int `json:"updatehour"`
}
type ManagementSimpleUPNResponse ¶
type ManagementSimpleUPNResponse struct {
Status string `json:"status"`
Hash string `json:"hash"`
Accesses *[]ManagementSimpleUPNResponseAccess `json:"accesses"`
}
type ManagementUPNResponse ¶
type ManagementUPNResponse struct {
Status string `json:"status"`
Hash string `json:"hash"`
ConfigData *[]ManagementResponseConfig `json:"config_data"`
Dns *ManagementResponseDNS `json:"dns"`
}
type OAuthLoginRequest ¶
type OAuthLoginResponse ¶
type OAuthUPNLoginRequest ¶
type PublicWebConfig ¶
type SysApiUserDetail ¶
Click to show internal directories.
Click to hide internal directories.