Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Organization ¶
type RegKey ¶
type RegKey struct { Base OwnerID uuid.UUID `json:"owner_id,omitempty"` VpcID uuid.UUID `json:"vpc_id,omitempty"` OrganizationID uuid.UUID `json:"-"` // OrganizationID is denormalized from the VPC record for performance BearerToken string `json:"bearer_token,omitempty"` // BearerToken is the bearer token the client should use to authenticate the device registration request. Description string `json:"description,omitempty"` DeviceId *uuid.UUID `json:"device_id,omitempty"` // DeviceId is set if the RegKey was created for single use ExpiresAt *time.Time `json:"expires_at,omitempty"` // ExpiresAt is optional, if set the registration key is only valid until the ExpiresAt time. }
type SecurityGroup ¶
type SecurityGroup struct { Base Description string `json:"description"` VpcId uuid.UUID `json:"vpc_id"` OrganizationID uuid.UUID `json:"-"` // Denormalized from the VPC record for performance InboundRules []SecurityRule `json:"inbound_rules,omitempty" gorm:"type:JSONB; serializer:json"` OutboundRules []SecurityRule `json:"outbound_rules,omitempty" gorm:"type:JSONB; serializer:json"` Revision uint64 `json:"revision" gorm:"type:bigserial;index:"` }
type SecurityRule ¶
Click to show internal directories.
Click to hide internal directories.