Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Repository ¶
type Repository struct { StarCount int64 `json:"star_count"` PullCount int64 `json:"pull_count"` Hub string `json:"hub"` Owner string `json:"owner"` Name string `json:"name"` Desc string `json:"desc"` Automated bool `json:"automated"` Official bool `json:"official"` }
func (*Repository) ToJson ¶
func (obj *Repository) ToJson() ([]byte, error)
type RepositoryList ¶
type RepositoryList []Repository
func GetRepository ¶
func GetRepository(name string) (*RepositoryList, error)
func (*RepositoryList) ToJson ¶
func (list *RepositoryList) ToJson() ([]byte, error)
type Tag ¶
type Tag struct { Name string `json:"name"` ID int64 `json:"id"` Size int64 `json:"size"` Repo int64 `json:"repo"` Creator int64 `json:"creator"` LastUpdater int64 `json:"last_updated"` V2 bool `json:"v2"` ImageID int64 `json:"image_id"` Platforms []int64 `json:"platforms"` LastUpdated time.Time `json:"last_updated"` }
Click to show internal directories.
Click to hide internal directories.