docker

package
v1.4.4-0...-86ee0a9 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DockerComposeCLIVersion

func DockerComposeCLIVersion() (string, error)

NOTE: this doesn't necessarily points to a docker compose v1 installation. Sometimes, 'docker-compose' is an alias to the docker compose v2 plugin.

func DockerComposePluginVersion

func DockerComposePluginVersion() (string, error)

func DockerComposeVersion

func DockerComposeVersion() (string, error)

Types

type DockerConfig

type DockerConfig struct {
	Auths map[string]DockerConfigAuthEntry `json:"auths" datapolicy:"token"`
}

func NewDockerConfig

func NewDockerConfig(credentials []api.ImagePullCredentials) (*DockerConfig, error)

type DockerConfigAuthEntry

type DockerConfigAuthEntry struct {
	Username string `json:"username,omitempty"`
	Password string `json:"password,omitempty" datapolicy:"password"`
	Auth     string `json:"auth,omitempty" datapolicy:"token"`
}

Jump to

Keyboard shortcuts

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