Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Registry ¶
type Registry struct {
// contains filtered or unexported fields
}
Registry represent registry client
func (*Registry) DeleteImageDigest ¶
DeleteImageDigest delete digest from repository
func (*Registry) GetImageDigestList ¶
func (r *Registry) GetImageDigestList(path string) (*RepositoryDigestList, error)
GetImageDigestList return image information (tags are grouped by digest)
func (*Registry) GetTree ¶
func (r *Registry) GetTree(path string) (*RepositoryLeaf, error)
GetTree returns tree of repositories and images registered in registry
func (*Registry) IsValidURL ¶ added in v0.2.0
IsValidURL checks that provided registryURL is pointed to a registry v2
type RepositoryDigest ¶
type RepositoryDigest struct { Path string `json:"path"` Name string `json:"name"` TagList []string `json:"tags"` }
RepositoryDigest represent repository image digest
type RepositoryDigestList ¶
type RepositoryDigestList struct {
Children []*RepositoryDigest `json:"children"`
}
RepositoryDigestList represent list of RepositoryDigest
type RepositoryImage ¶
type RepositoryImage struct { Path string `json:"path"` Name string `json:"name"` Parent *RepositoryLeaf `json:"-"` }
RepositoryImage represent repository image
type RepositoryLeaf ¶
type RepositoryLeaf struct { Name string `json:"name"` Path string `json:"path"` Images []*RepositoryImage `json:"images"` Children []*RepositoryLeaf `json:"children"` Parent *RepositoryLeaf `json:"-"` }
RepositoryLeaf represent any look-like-a-folder structure within Registry
Click to show internal directories.
Click to hide internal directories.