image

package
v0.0.0-...-6eb79dc Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 10, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config map[string]ConfigEntry

Config represents the config file used by the docker CLI. This represents the credentials that should be used when pulling images from specific image repositories.

type ConfigEntry

type ConfigEntry struct {
	Username string `json:"username"`
	Password string `json:"password"`
	Auth     string `json:"auth"`
}

ConfigEntry an entry in the Config

type ConfigJSON

type ConfigJSON struct {
	Auths Config `json:"auths"`
}

ConfigJSON contains auths for pulling from image repositories

type ImageReference

type ImageReference struct {
	Registry   string
	Repository string
	Image      string
	Tag        string
}

ImageReference is a reference to a docker image

func ParseImageReference

func ParseImageReference(imageURI string) (*ImageReference, error)

ParseImageReference parse an imageURI

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL