Documentation
¶
Index ¶
Constants ¶
View Source
const CrFree = 300
CrFree 阿里云乞丐版默认300
Variables ¶
View Source
var Debug bool
Debug debug mode
Functions ¶
This section is empty.
Types ¶
type Namespace ¶
type Namespace struct {
Namespace string `json:"namespace"`
NamespaceStatus string `json:"namespaceStatus"`
AuthorizeType string `json:"authorizeType"`
}
Namespace 命令空间
type NamespacesRes ¶
type NamespacesRes struct {
Data struct {
Namespaces []Namespace `json:"namespaces"`
} `json:"data"`
}
NamespacesRes 命名空间接口返回元数据
type Repo ¶
type Repo struct {
// Summary string `json:"summary"`
// RepoDomainList struct {
// Internal string `json:"internal"`
// Public string `json:"public"`
// Vpc string `json:"vpc"`
// } `json:"repoDomainList"`
RepoAuthorizeType string `json:"repoAuthorizeType"`
Downloads int `json:"downloads"`
// Logo string `json:"logo"`
// Stars int `json:"stars"`
RepoType string `json:"repoType"`
RepoNamespace string `json:"repoNamespace"`
RepoName string `json:"repoName"`
RepoStatus string `json:"repoStatus"`
RepoID int `json:"repoId"`
// RepoBuildType string `json:"repoBuildType"`
RegionID string `json:"regionId"`
RepoOriginType string `json:"repoOriginType"`
GmtCreate int64 `json:"gmtCreate"`
GmtModified int64 `json:"gmtModified"`
LastTag string `json:"lasttag"`
ImageUpdate int64 `json:"imageUpdate"`
}
Repo 仓库元数据
type ReposRes ¶
type ReposRes struct {
Data struct {
Total int `json:"total"`
Page int `json:"page"`
PageSize int `json:"pageSize"`
Repos []Repo `json:"repos"`
} `json:"data"`
}
ReposRes 仓库接口返回元数据
Click to show internal directories.
Click to hide internal directories.