Documentation
¶
Index ¶
- Constants
- func SaveCredentials(r *Registry) error
- type ImageManifest
- type ImageTags
- type LayerInfo
- type Registry
- func (r *Registry) Clear()
- func (r *Registry) DeleteImageByTag(image string, tag string) error
- func (r *Registry) GetImageTagDate(image string, tag string) (time.Time, error)
- func (r *Registry) ImageManifest(image string, tag string) (ImageManifest, error)
- func (r *Registry) ListImages() ([]string, error)
- func (r *Registry) ListTagsByImage(image string) ([]string, error)
- type Repositories
Constants ¶
View Source
const (
AcceptHeader = "application/vnd.docker.distribution.manifest.v2+json"
)
Variables ¶
This section is empty.
Functions ¶
func SaveCredentials ¶
Types ¶
type ImageManifest ¶
type Registry ¶
func NewRegistry ¶
func (*Registry) DeleteImageByTag ¶
func (*Registry) GetImageTagDate ¶
func (*Registry) ImageManifest ¶
func (r *Registry) ImageManifest(image string, tag string) (ImageManifest, error)
func (*Registry) ListImages ¶
type Repositories ¶
type Repositories struct {
Images []string `json:"repositories"`
}
Click to show internal directories.
Click to hide internal directories.