kubernetes

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: May 17, 2023 License: MPL-2.0 Imports: 32 Imported by: 0

Documentation

Index

Constants

View Source
const DevContainerInfoAnnotation = "devpod.sh/info"

Variables

View Source
var CriticalStatus = map[string]bool{
	"Error":                      true,
	"Unknown":                    true,
	"ImagePullBackOff":           true,
	"CrashLoopBackOff":           true,
	"RunContainerError":          true,
	"ErrImagePull":               true,
	"CreateContainerConfigError": true,
	"InvalidImageName":           true,
}

CriticalStatus container status

Functions

func NewKubernetesDriver

func NewKubernetesDriver(workspaceInfo *provider2.AgentWorkspaceInfo, log log.Logger) driver.Driver

Types

type DevContainerInfo

type DevContainerInfo struct {
	ParsedConfig   *config.DevContainerConfig
	MergedConfig   *config.MergedDevContainerConfig
	ImageDetails   *config.ImageDetails
	ImageName      string
	WorkspaceMount string
	Labels         []string
}

Jump to

Keyboard shortcuts

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