Documentation
¶
Index ¶
Constants ¶
View Source
const ( LabelRepoName = "org.ustcmirror.name" LabelStorageDir = "org.ustcmirror.storage-dir" LabelImages = "org.ustcmirror.images" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetRepoMetaResponse ¶ added in v0.4.0
type GetRepoMetaResponse struct {
Name string `json:"name"`
Upstream string `json:"upstream"`
Syncing bool `json:"syncing"`
Size int64 `json:"size"`
ExitCode int `json:"exitCode"`
LastSuccess int64 `json:"lastSuccess"`
UpdatedAt int64 `json:"updatedAt"`
PrevRun int64 `json:"prevRun"`
NextRun int64 `json:"nextRun"`
}
type ListRepoMetasResponse ¶ added in v0.4.0
type ListRepoMetasResponse = []GetRepoMetaResponse
type ListReposResponse ¶ added in v0.4.0
type ListReposResponse = []ListReposResponseItem
Click to show internal directories.
Click to hide internal directories.