Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EnrollmentRequest ¶
type EnrollmentRequest struct {
Enrollment NodeEnrollmentBody `json:"enrollment"`
}
EnrollmentRequest is the response body returned from the API.
type NodeEnrollmentBody ¶
type NodeEnrollmentBody struct { Name string `json:"name"` Address string `json:"address"` Username string `json:"username"` Password string `json:"password"` Bundle string `json:"bundle,omitempty"` Token string `json:"token,omitempty"` Hostname string `json:"hostname,omitempty"` AutoApprove bool `json:"auto_approve"` CallHome bool `json:"call_home"` }
NodeEnrollmentBody is the response body returned from the API.
type NodeRuntimeStatus ¶
type NodeRuntimeStatus struct { ActionErr string `json:"action_error_message"` ActionType string `json:"action_type"` ConnectionStatus string `json:"connection_status"` }
NodeRuntimeStatus is the response body returned from the API.
type NodesListBody ¶
type NodesListBody struct { LHVPNAddress string `json:"lhvpn_address"` ID string `json:"id"` Status string `json:"status"` MacAddress string `json:"mac_address"` Model string `json:"model"` SerialNumber string `json:"serial_number"` Name string `json:"name"` Version string `json:"firmware_version"` RuntimeStatus NodeRuntimeStatus `json:"runtime_status"` }
NodesListBody is the response body returned from the API.
type NodesListResponse ¶
type NodesListResponse struct {
Nodes []NodesListBody `json:"nodes"`
}
NodesListResponse is the response body returned from the API.
type NodesSmartgroupResponse ¶
type NodesSmartgroupResponse struct {
Smartgroups []SmartgroupListBody `json:"smartgroups"`
}
NodesSmartgroupResponse is the response body returned from the API.
type SearchBody ¶
type SearchBody struct {
ID string `json:"id"`
}
SearchBody is the response body returned from the API.
type SearchResponse ¶
type SearchResponse struct {
SearchIDs SearchBody `json:"search"`
}
SearchResponse is the response body returned from the API.
type SmartgroupListBody ¶
type SmartgroupListBody struct { ID string `json:"id"` Name string `json:"name"` Query string `json:"query"` }
SmartgroupListBody is the response body returned from the API.
Click to show internal directories.
Click to hide internal directories.