Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Engine *xorm.Engine
Functions ¶
Types ¶
type Image ¶
type Image struct { Id int64 ImageId string `xorm:"unique not null"` JSON string `xorm:"text 'json'"` ParentJSON string `xorm:"text 'parent_json'"` Checksum string `xorm:"text"` Payload string `xorm:"text"` URLs string `xorm:"text 'urls'"` Size int64 `xorm:"default 0"` Uploaded bool `xorm:"default 0 'uploaded'"` CheckSumed bool `xorm:"default 0 'checksumed'"` Created time.Time `xorm:"created"` Updated time.Time `xorm:"updated"` Version int `xorm:"version"` }
type Organization ¶
type Repository ¶
type Repository struct { Id int64 Namespace string `xorm:"not null"` Repository string `xorm:"not null"` Description string `xorm:"text"` JSON string `xorm:"text 'json'"` Dockerfile string `xorm:"text"` Links string `xorm:"text"` Size int64 `xorm:"default 0"` Download int64 `xorm:"default 0"` Uploaded bool `xorm:"default 0 'uploaded'"` CheckSumed bool `xorm:"default 0 'checksumed'"` Star int64 `xorm:"default 0"` Tags string `xorm:"test"` Trusted bool `xorm:"default 0"` Privated bool `xorm:"default 0"` Created time.Time `xorm:"created"` Updated time.Time `xorm:"updated"` Version int `xorm:"version"` }
type User ¶
type User struct { Id int64 Username string `xorm:"unique not null"` Password string Email string `xorm:"unique not null"` Token string Session string `xorm:"unique"` Quota int64 `xorm:"default 100"` Size int64 `xorm:"default 2048"` Actived bool `xorm:"default false"` Created time.Time `xorm:"created"` Updated time.Time `xorm:"updated"` Version int `xorm:"version"` }
Click to show internal directories.
Click to hide internal directories.