dockercfg

package
v0.3.4 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2015 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Helper

type Helper struct {
}

Helper contains all the valid config options for reading the local dockercfg file

func NewHelper

func NewHelper() *Helper

NewHelper creates a Flags object with the default values set.

func (*Helper) GetDockerAuth

func (h *Helper) GetDockerAuth(registry string) (docker.AuthConfiguration, bool)

GetDockerAuth returns a valid Docker AuthConfiguration entry, and whether it was read from the local dockercfg file

func (*Helper) InstallFlags

func (h *Helper) InstallFlags(flags *pflag.FlagSet)

InstallFlags installs the Docker flag helper into a FlagSet with the default options and default values from the Helper object.

Jump to

Keyboard shortcuts

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