errors

package
v3.11.0-alpha.0+incomp... Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2018 License: Apache-2.0 Imports: 7 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	NoDockerMacSolution = `
Please install Docker tools by following instructions at:

   https://docs.docker.com/mac/
`
	NoDockerWindowsSolution = `
Please install Docker tools by following instructions at:

   https://docs.docker.com/windows/
`
	NoDockerLinuxSolution = `` /* 156-byte string literal not displayed */

	InvalidInsecureRegistryArgSolution = `
Ensure that the Docker daemon is running with the following argument:
	--insecure-registry 172.30.0.0/16
`

	KubeConfigSolutionUnix = `` /* 190-byte string literal not displayed */

	KubeConfigSolutionWindows = `` /* 188-byte string literal not displayed */

)

Variables

This section is empty.

Functions

func ErrInvalidInsecureRegistryArgument

func ErrInvalidInsecureRegistryArgument() error

ErrInvalidInsecureRegistryArgument is thrown when an --insecure-registry argument is found, but does not allow sufficient access for our services to operate

func ErrKubeConfigNotWriteable

func ErrKubeConfigNotWriteable(file string, err error) error

ErrKubeConfigNotWriteable is returned when the file pointed to by KUBECONFIG cannot be created or written to

func ErrNoDockerClient

func ErrNoDockerClient(err error) error

ErrNoDockerClient is thrown when a Docker client cannot be obtained or cannot be pinged

func ErrNoInsecureRegistryArgument

func ErrNoInsecureRegistryArgument() error

ErrNoInsecureRegistryArgument is thrown when an --insecure-registry argument cannot be detected on the Docker daemon process

func LogError

func LogError(err error)

func PrintLog

func PrintLog(out io.Writer, title string, content string)

Types

type Error

type Error interface {
	error
	WithCause(error) Error
	WithSolution(string, ...interface{}) Error
	WithDetails(string) Error
}

func NewError

func NewError(msg string, args ...interface{}) Error

Jump to

Keyboard shortcuts

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