 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
      View Source
      
  
    const ( // GenericExitCodeKilled indicates the container runtime killed the process. GenericExitCodeKilled = 137 // GenericExitCodeCannotExec indicates the command cannot be executed. // In a shell, this generally is a form of permission issues (i.e. the // binary was found but is not +x). However, container runtimes also // use this to indicate that the binary wasn't found at all, which is // extremely common when we try to use common tools such as `tar` but // the image is missing them. GenericExitCodeCannotExec = 126 GenericExitCodeNotFound = 127 )
      View Source
      
  const TarExitCodePermissionDenied = 2
    TarExitCodePermissionDenied is returned by `tar` if it does not have sufficient permissions to write the extracted files.
Variables ¶
This section is empty.
Functions ¶
func ExtractExitCode ¶ added in v0.26.0
ExtractExitCode returns exit status information from different types of errors.
Types ¶
type ContainerUpdater ¶
type DockerUpdater ¶ added in v0.17.0
type DockerUpdater struct {
	// contains filtered or unexported fields
}
    func NewDockerUpdater ¶ added in v0.17.0
func NewDockerUpdater(dCli docker.Client) *DockerUpdater
func (*DockerUpdater) UpdateContainer ¶ added in v0.17.0
func (*DockerUpdater) WillBuildToKubeContext ¶ added in v0.20.7
func (cu *DockerUpdater) WillBuildToKubeContext(kctx k8s.KubeContext) bool
type ExecUpdater ¶
type ExecUpdater struct {
	// contains filtered or unexported fields
}
    func NewExecUpdater ¶
func NewExecUpdater(kCli k8s.Client) *ExecUpdater
func (*ExecUpdater) UpdateContainer ¶
type FakeContainerUpdater ¶
type FakeContainerUpdater struct {
	UpdateErrs []error
	Calls []UpdateContainerCall
}
    func (*FakeContainerUpdater) SetUpdateErr ¶ added in v0.10.0
func (cu *FakeContainerUpdater) SetUpdateErr(err error)
func (*FakeContainerUpdater) UpdateContainer ¶
type UpdateContainerCall ¶
 Click to show internal directories. 
   Click to hide internal directories.