Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthRequest ¶
type SnapBranch ¶
type SnapEntry ¶
type SnapEntry struct { gorm.Model Name string `json:"name"` SnapStoreID string `json:"snap-id"` Revisions []SnapRevision Type string Confinement string Base string Uploads []SnapUpload AccountID uint Account Account }
func (*SnapEntry) ToStoreSnap ¶
func (se *SnapEntry) ToStoreSnap(snapRevision *SnapRevision) (*responses.StoreSnap, error)
type SnapRevision ¶
type SnapRisk ¶
type SnapRisk struct { gorm.Model Name string SnapTrackID uint SnapEntryID uint SnapEntry SnapEntry // TODO: fix this -- currently this is monotonically incrementing across ALL revisions, it should just be a given snap RevisionID uint Revision SnapRevision Branches []SnapBranch }
Click to show internal directories.
Click to hide internal directories.