Documentation ¶
Overview ¶
Package repo handles a list of repositories from a registry
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RepoList ¶
type RepoList struct { RepoRegistryList // contains filtered or unexported fields }
RepoList is the response for a repository listing.
func (RepoList) MarshalJSON ¶
func (RepoList) RawHeaders ¶
type RepoRegistryList ¶
type RepoRegistryList struct {
Repositories []string `json:"repositories"`
}
RepoRegistryList is a list of repositories from the _catalog API
func (RepoRegistryList) GetRepos ¶
func (rl RepoRegistryList) GetRepos() ([]string, error)
GetRepos returns the repositories
func (RepoRegistryList) MarshalPretty ¶
func (rl RepoRegistryList) MarshalPretty() ([]byte, error)
MarshalPretty is used for printPretty template formatting
Click to show internal directories.
Click to hide internal directories.