errors

package
v3.6.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2017 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	KubeConfigFileSolutionWindows = `
Make sure that the value of the --config flag passed contains a valid path:
   --config=c:\path\to\valid\file
`
	KubeConfigFileSolutionUnix = `
Make sure that the value of the --config flag passed contains a valid path:
   --config=/path/to/valid/file
`
	KubeConfigSolutionUnix = `` /* 190-byte string literal not displayed */

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

)

Variables

This section is empty.

Functions

func ErrKubeConfigNotWriteable

func ErrKubeConfigNotWriteable(file string, isExplicitFile bool, err error) error

ErrKubeConfigNotWriteable is returned when the file pointed to by KUBECONFIG cannot be created or written to if isExplicitFile flag is true, the path to .kubeconfig was set using a --config=... flag

func NoProjectsExistMessage added in v1.5.0

func NoProjectsExistMessage(canRequestProjects bool, commandName string) string

NoProjectsExistMessage returns a message indicating that no projects have been created by the current user.

Types

This section is empty.

Jump to

Keyboard shortcuts

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