Documentation
      ¶
    
    
  
    
  
    Index ¶
- Constants
 - func ErrCannotPingDocker(err error) error
 - func ErrInvalidInsecureRegistryArgument() error
 - func ErrKubeConfigNotWriteable(file string, err error) error
 - func ErrNoDockerClient(err error) error
 - func ErrNoDockerMachineClient(name string, err error) error
 - func ErrNoInsecureRegistryArgument() error
 - func LogError(err error)
 - func PrintLog(out io.Writer, title string, content string)
 - type Error
 
Constants ¶
      View Source
      
  
const ( NoDockerMacSolution = `` /* 217-byte string literal not displayed */ NoDockerMachineMacSolution = `` /* 422-byte string literal not displayed */ NoDockerWindowsSolution = `` /* 221-byte string literal not displayed */ NoDockerMachineWindowsSolution = `` /* 409-byte string literal not displayed */ NoDockerLinuxSolution = `` /* 156-byte string literal not displayed */ NoDockerMachineClientSolution = `` /* 140-byte string literal not displayed */ InvalidInsecureRegistryArgSolution = ` Ensure that the Docker daemon is running with the following argument: --insecure-registry 172.30.0.0/16 ` InvalidInsecureRegistryArgSolutionDockerMachine = InvalidInsecureRegistryArgSolution + ` You can run this command with --create-machine to create a machine with the right argument. ` KubeConfigSolutionUnix = `` /* 190-byte string literal not displayed */ KubeConfigSolutionWindows = `` /* 188-byte string literal not displayed */ )
Variables ¶
This section is empty.
Functions ¶
func ErrCannotPingDocker ¶
ErrCannotPingDocker is returned when a ping to Docker with the Docker client fails
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 ¶
ErrKubeConfigNotWriteable is returned when the file pointed to by KUBECONFIG cannot be created or written to
func ErrNoDockerClient ¶
ErrNoDockerClient is thrown when a Docker client cannot be obtained or cannot be pinged
func ErrNoDockerMachineClient ¶
ErrNoDockerMachineClient is returned when a Docker client cannot be obtained from the given Docker machine
Types ¶
      
      Source Files
      ¶
    
- docker.go
 - errors.go
 
 Click to show internal directories. 
   Click to hide internal directories.