|
|
@ -44,17 +44,18 @@ type Device struct {
|
|
|
|
Name string `json:"name"`
|
|
|
|
Name string `json:"name"`
|
|
|
|
Hostname string `json:"hostname"`
|
|
|
|
Hostname string `json:"hostname"`
|
|
|
|
|
|
|
|
|
|
|
|
ClientVersion string `json:"clientVersion"` // Empty for external devices.
|
|
|
|
ClientVersion string `json:"clientVersion"` // Empty for external devices.
|
|
|
|
UpdateAvailable bool `json:"updateAvailable"` // Empty for external devices.
|
|
|
|
UpdateAvailable bool `json:"updateAvailable"` // Empty for external devices.
|
|
|
|
OS string `json:"os"`
|
|
|
|
OS string `json:"os"`
|
|
|
|
Created string `json:"created"` // Empty for external devices.
|
|
|
|
Tags []string `json:"tags"`
|
|
|
|
LastSeen string `json:"lastSeen"`
|
|
|
|
Created string `json:"created"` // Empty for external devices.
|
|
|
|
KeyExpiryDisabled bool `json:"keyExpiryDisabled"`
|
|
|
|
LastSeen string `json:"lastSeen"`
|
|
|
|
Expires string `json:"expires"`
|
|
|
|
KeyExpiryDisabled bool `json:"keyExpiryDisabled"`
|
|
|
|
Authorized bool `json:"authorized"`
|
|
|
|
Expires string `json:"expires"`
|
|
|
|
IsExternal bool `json:"isExternal"`
|
|
|
|
Authorized bool `json:"authorized"`
|
|
|
|
MachineKey string `json:"machineKey"` // Empty for external devices.
|
|
|
|
IsExternal bool `json:"isExternal"`
|
|
|
|
NodeKey string `json:"nodeKey"`
|
|
|
|
MachineKey string `json:"machineKey"` // Empty for external devices.
|
|
|
|
|
|
|
|
NodeKey string `json:"nodeKey"`
|
|
|
|
|
|
|
|
|
|
|
|
// BlocksIncomingConnections is configured via the device's
|
|
|
|
// BlocksIncomingConnections is configured via the device's
|
|
|
|
// Tailscale client preferences. This field is only reported
|
|
|
|
// Tailscale client preferences. This field is only reported
|
|
|
|