{"modulePath":"github.1git.de/openshift/origin","version":"v3.11.0+incompatible","isLatest":false,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package errors\n\n## Constants\n\n```go\nconst (\n\tNoDockerMacSolution = `\nPlease install Docker tools by following instructions at:\n\n   https://docs.docker.com/mac/\n`\n\tNoDockerWindowsSolution = `\nPlease install Docker tools by following instructions at:\n\n   https://docs.docker.com/windows/\n`\n\tNoDockerLinuxSolution = `\nEnsure that Docker is installed and accessible in your environment.\nUse your package manager or follow instructions at:\n\n   https://docs.docker.com/linux/\n`\n\tInvalidInsecureRegistryArgSolution = `\nEnsure that the Docker daemon is running with the following argument:\n\t--insecure-registry 172.30.0.0/16\n`\n\n\tKubeConfigSolutionUnix = `\nYou can unset the KUBECONFIG variable to use the default location for it:\n   unset KUBECONFIG\n\nOr you can set its value to a file that can be written to:\n   export KUBECONFIG=/path/to/file\n`\n\n\tKubeConfigSolutionWindows = `\nYou can clear the KUBECONFIG variable to use the default location for it:\n   set KUBECONFIG=\n\nOr you can set its value to a file that can be written to:\n   set KUBECONFIG=c:\\path\\to\\file\n`\n)\n```\n\n## Functions\n\n```go\nfunc ErrInvalidInsecureRegistryArgument() error\n```\nErrInvalidInsecureRegistryArgument is thrown when an --insecure-registry argument is found, but does not allow sufficient access for our services to operate\n\n```go\nfunc ErrKubeConfigNotWriteable(file string, err error) error\n```\nErrKubeConfigNotWriteable is returned when the file pointed to by KUBECONFIG cannot be created or written to\n\n```go\nfunc ErrNoDockerClient(err error) error\n```\nErrNoDockerClient is thrown when a Docker client cannot be obtained or cannot be pinged\n\n```go\nfunc ErrNoInsecureRegistryArgument() error\n```\nErrNoInsecureRegistryArgument is thrown when an --insecure-registry argument cannot be detected on the Docker daemon process\n\n```go\nfunc LogError(err error)\n```\n\n```go\nfunc PrintLog(out io.Writer, title string, content string)\n```\n\n## Types\n\n```go\ntype Error interface {\n\terror\n\tWithCause(error) Error\n\tWithSolution(string, ...interface{}) Error\n\tWithDetails(string) Error\n}\n```\n\n```go\nfunc NewError(msg string, args ...interface{}) Error\n```\n\n","path":"github.1git.de/openshift/origin/pkg/oc/clusterup/docker/errors","name":"errors","synopsis":"","isRedistributable":true}
