credhelper

package
v0.0.0-...-18cb69e Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DockerConfigEnv         = "DOCKER_CONFIG"
	DefaultDockerConfigName = "config.json"
)

Variables

This section is empty.

Functions

func GetConfigDir

func GetConfigDir() (string, error)

func RegistryHostsFromDockerConfig

func RegistryHostsFromDockerConfig() docker.RegistryHosts

Types

type DockerConfig

type DockerConfig struct {
	CredentialHelpers map[string]string `json:"credHelpers"`
}

func ReadDockerConfig

func ReadDockerConfig(re io.Reader) (DockerConfig, error)

func ReadHostDockerConfig

func ReadHostDockerConfig() (DockerConfig, error)

Jump to

Keyboard shortcuts

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