{"modulePath":"github.com/2lambda123/openshift-origin","version":"v3.10.0+incompatible","isLatest":false,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package docker\n\n## Types\n\n```go\ntype Helper struct {\n}\n```\nHelper contains all the valid config options for connecting to Docker from a command line.\n\n```go\nfunc NewHelper() *Helper\n```\nNewHelper creates a Flags object with the default values set.  Use this to use consistent Docker client loading behavior from different contexts.\n\n```go\nfunc (_ *Helper) GetClient() (client *docker.Client, endpoint string, err error)\n```\nGetClient returns a valid Docker client, the address of the client, or an error if the client couldn't be created.\n\n```go\nfunc (h *Helper) GetClientOrExit() (*docker.Client, string)\n```\nGetClientOrExit returns a valid Docker client and the address of the client, or prints an error and exits.\n\n```go\nfunc (_ *Helper) InstallFlags(flags *pflag.FlagSet)\n```\nInstallFlags installs the Docker flag helper into a FlagSet with the default options and default values from the Helper object.\n\n","path":"github.com/2lambda123/openshift-origin/pkg/oc/util/docker","name":"docker","synopsis":"","isRedistributable":true}
