docker

package
v0.1.14 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2022 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package docker contains common types for docker configuration.

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 config that represents the credentials that should be used when pulling images from specific image repositories.

type ConfigEntry

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

ConfigEntry holds the user information that grant the access to docker registry

type ConfigJSON

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

ConfigJSON represents a local docker auth config file for pulling images.

Jump to

Keyboard shortcuts

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