Documentation ¶
Index ¶
Constants ¶
View Source
const ACCEPT_HEADER = "application/vnd.docker.distribution.manifest.v2+json"
View Source
const CREDENTIALS_FILE = ".credentials"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ImageManifest ¶
type Registry ¶
type Registry struct { Host string `toml:"nexus_host"` Username string `toml:"nexus_username"` Password string `toml:"nexus_password"` Repository string `toml:"nexus_repository"` }
func NewRegistry ¶
func (Registry) DeleteImageByTag ¶
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.