loft

package
v0.5.18 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2024 License: MPL-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	WorkspaceIDEnv       = "WORKSPACE_ID"
	WorkspaceUIDEnv      = "WORKSPACE_UID"
	WorkspaceContextEnv  = "WORKSPACE_CONTEXT"
	WorkspaceProviderEnv = "WORKSPACE_PROVIDER"

	ConfigEnv  = "LOFT_CONFIG"
	ProjectEnv = "LOFT_PROJECT"
	RunnerEnv  = "LOFT_RUNNER"

	TemplateOptionEnv        = "LOFT_TEMPLATE"
	TemplateVersionOptionEnv = "LOFT_TEMPLATE_VERSION"

	TimeoutEnv = "LOFT_TIMEOUT"
)

Variables

This section is empty.

Functions

func GetDevPodVersion added in v0.5.13

func GetDevPodVersion(url string) (string, error)

func GetProInstanceDevPodVersion added in v0.5.13

func GetProInstanceDevPodVersion(proInstance *provider.ProInstance) (string, error)

func Timeout

func Timeout() time.Duration

Types

type VersionObject added in v0.5.13

type VersionObject struct {
	// Version is the remote devpod version
	DevPodVersion string `json:"devPodVersion,omitempty"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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