constants

package
v0.0.25 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2021 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AllOption          = "all"
	AllShortOption     = "a"
	ConfigDir          = ".dev-env"
	ConfigFile         = "dev-env.json"
	ConnectOption      = "connect"
	ConnectShortOption = "c"
	DefaultDockerFile  = `
FROM alpine:latest
LABEL creator=dev-env
ENTRYPOINT ["/bin/ash"]
`
	DefaultEnvironment      = "main"
	DetachedOption          = "detached"
	DetachedShortOption     = "d"
	DevEnvTag               = "dev_env"
	DockerFile              = "Dockerfile"
	EntrypointOption        = "--entrypoint"
	EnvironmentOption       = "environment"
	EnvironmentShortOption  = "e"
	NoCacheOption           = "no-cache"
	NoCacheShortOption      = "n"
	OutOfDateWarningsOption = "out-of-date-warnings"
	RunOption               = "run"
	RunShellCommand         = "sh"
	RunShortOption          = "r"
	RunSuffix               = "_run"
	ShellCommandOption      = "-c"
	SpawnOption             = "spawn"
	SpawnShortOption        = "s"
	SpawnSuffix             = "_spawn"
	SpawnTailArgs           = "/dev/null"
	SpawnTailCommand        = "tail"
	SpawnTailOptions        = "-f"
)

Variables

View Source
var (
	DefaultContainerArgs = []string{"-v", "${PROJECTROOT}:/src", "-w", "/src"}
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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