errors

package
v4.0.0-0.7.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2018 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NoDockerLinuxSolution = `` /* 156-byte string literal not displayed */

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

)

Variables

This section is empty.

Functions

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 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