Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountAssertion ¶
type AccountAssertion struct {
ID uuid.UUID `json:"id" db:"id"`
CreatedAt time.Time `json:"created_at" db:"created_at"`
DeletedAt *time.Time `json:"deleted_at,omitempty" db:"deleted_at"`
Type string `json:"type" db:"type"`
AuthorityID string `json:"authority_id" db:"authority_id"`
Revision uint32 `json:"revision" db:"revision"`
AccountID uuid.UUID `json:"account_id" db:"account_id"`
DisplayName string `json:"display_name" db:"display_name"`
Username string `json:"username" db:"username"`
Validation string `json:"validation" db:"validation"`
Timestamp time.Time `json:"timestamp" db:"timestamp"`
SignKeySHA3_384 string `json:"sign_key_sha3_384" db:"sign_key_sha3_384"`
Signature string `json:"signature" db:"signature"`
}
type AccountKeyAssertion ¶
type AccountKeyAssertion struct {
ID uuid.UUID `json:"id" db:"id"`
CreatedAt time.Time `json:"created_at" db:"created_at"`
DeletedAt *time.Time `json:"deleted_at,omitempty" db:"deleted_at"`
Type string `json:"type" db:"type"`
AuthorityID string `json:"authority_id" db:"authority_id"`
RevisionSequenceNumber uint32 `json:"revision" db:"revision"`
PublicKeySha3_384Encoded string `json:"public_key_sha3_384" db:"public_key_sha3_384"`
AccountID uuid.UUID `json:"account_id" db:"account_id"`
Name string `json:"name" db:"name"`
Since time.Time `json:"since" db:"since"`
Until time.Time `json:"until" db:"until"`
BodyLength uint64 `json:"body_length" db:"body_length"`
Body []byte `json:"body" db:"body"` // TODO: figure out what (idk what this is) "base64 encoded version prefixed public key packet" means
SignKeySHA3_384 string `json:"sign_key_sha3_384" db:"sign_key_sha3_384"`
Signature string `json:"signature" db:"signature"`
}
type SnapBuildAssertion ¶
type SnapBuildAssertion struct {
ID uuid.UUID `json:"id" db:"id"`
CreatedAt time.Time `json:"created_at" db:"created_at"`
DeletedAt *time.Time `json:"deleted_at,omitempty" db:"deleted_at"`
Type string `json:"type" db:"type"`
AuthorityID string `json:"authority_id" db:"authority_id"`
SignKeySHA3_384 string `json:"sign_key_sha3_384" db:"sign_key_sha3_384"`
SnapEntryID uuid.UUID `json:"snap_entry_id" db:"snap_entry_id"`
DeveloperID uuid.UUID `json:"developer_id" db:"developer_id"`
SnapSize uint64 `json:"snap_size" db:"snap_size"`
SnapSHA3_384 string `json:"snap_sha3_384" db:"snap_sha3_384"`
Grade string `json:"grade" db:"grade"`
Timestamp time.Time `json:"timestamp" db:"timestamp"`
Signature string `json:"signature" db:"signature"`
}
type SnapDeclarationAssertion ¶
type SnapDeclarationAssertion struct {
ID uuid.UUID `json:"id" db:"id"`
CreatedAt time.Time `json:"created_at" db:"created_at"`
DeletedAt *time.Time `json:"deleted_at,omitempty" db:"deleted_at"`
Type string `json:"type" db:"type"`
AuthorityID string `json:"authority_id" db:"authority_id"`
Revision uint32 `json:"revision" db:"revision"`
Series string `json:"series" db:"series"`
PublisherID uuid.UUID `json:"publisher_id" db:"publisher_id"`
SnapEntryID uuid.UUID `json:"snap_id" db:"snap_id"`
SnapName string `json:"snap_name" db:"snap_name"`
Timestamp time.Time `json:"timestamp" db:"timestamp"`
RefreshControl pq.StringArray `json:"refresh_control" db:"refresh_control"`
Aliases []Alias `json:"aliases" db:"aliases"`
Plugs Plugs `json:"plugs" db:"plugs"`
Slots Slots `json:"slots" db:"slots"`
SignKeySHA3_384 string `json:"sign_key_sha3_384" db:"sign_key_sha3_384"`
Signature string `json:"signature" db:"signature"`
}
type SnapRevisionAssertion ¶
type SnapRevisionAssertion struct {
ID uuid.UUID `json:"id" bson:"_id,omitempty"`
CreatedAt time.Time `json:"created_at" bson:"createdat,omitempty"`
DeletedAt *time.Time `json:"deleted_at,omitempty" bson:"deletedat,omitempty"`
Type string `json:"type" bson:"type"`
AuthorityID string `json:"authority_id,omitempty" bson:"authorityid,omitempty"`
SnapSHA3_384 string `json:"snap_sha3_384" bson:"snapsha3_384"`
DeveloperID uuid.UUID `json:"developer_id,omitempty" bson:"developerid,omitempty"`
SnapEntryID uuid.UUID `json:"snap_entry_id,omitempty" bson:"snapentryid,omitempty"`
SnapRevisionSequenceNumber uint32 `json:"snap_revision_sequence_number,omitempty" bson:"snaprevisionsequencenumber,omitempty"`
SnapSize uint64 `json:"snap_size,omitempty" bson:"snapsize,omitempty"`
Timestamp time.Time `json:"timestamp,omitempty" bson:"timestamp,omitempty"`
SignKeySHA3_384 string `json:"sign_key_sha3_384,omitempty" bson:"signkeysha3_384,omitempty"`
Signature string `json:"signature" bson:"signature"`
}
Click to show internal directories.
Click to hide internal directories.