Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ACMEChallenge ¶
type AuditEntry ¶
type AuditEntry struct {
ID int64 `json:"id"`
Timestamp time.Time `json:"timestamp"`
ActorType ActorType `json:"actor_type"`
ActorID string `json:"actor_id"`
Action string `json:"action"`
ResourceType string `json:"resource_type"`
ResourceID *string `json:"resource_id,omitempty"`
Details json.RawMessage `json:"details,omitempty"`
IPAddress net.IP `json:"ip_address,omitempty"`
}
type Device ¶
type Device struct {
ID uuid.UUID `json:"id"`
Slug string `json:"slug"`
Hostname string `json:"hostname"`
CustomHostname *string `json:"custom_hostname"`
IdentityClass string `json:"identity_class"`
EKFingerprint string `json:"ek_fingerprint"`
AKPublicKey []byte `json:"-"`
IPAddress net.IP `json:"ip_address,omitempty"`
Timezone *string `json:"timezone,omitempty"`
Status DeviceStatus `json:"status"`
HostnameChangesThisYear int `json:"-"`
HostnameYear int `json:"-"`
LastHostnameChangeAt *time.Time `json:"-"`
CreatedAt time.Time `json:"created_at"`
LastSeenAt *time.Time `json:"last_seen_at,omitempty"`
}
type DeviceStatus ¶
type DeviceStatus string
const ( DeviceStatusActive DeviceStatus = "active" DeviceStatusSuspended DeviceStatus = "suspended" DeviceStatusRevoked DeviceStatus = "revoked" )
type NexusInstance ¶
type NexusInstance struct {
ID uuid.UUID `json:"id"`
Hostname string `json:"hostname"`
ResolvedAddresses []net.IP `json:"resolved_addresses"`
Region *string `json:"region,omitempty"`
HeartbeatIntervalSeconds int `json:"heartbeat_interval_seconds"`
Status NexusStatus `json:"status"`
RegisteredAt time.Time `json:"registered_at"`
LastSeenAt time.Time `json:"last_seen_at"`
}
type NexusStatus ¶
type NexusStatus string
const ( NexusStatusActive NexusStatus = "active" NexusStatusInactive NexusStatus = "inactive" )
Click to show internal directories.
Click to hide internal directories.