Documentation ¶
Index ¶
Constants ¶
View Source
const ( // DefaultEnvironmentName is the name invoked from draft.toml on `draft up` when // --environment is not supplied. DefaultEnvironmentName = "development" // DefaultNamespace specifies the namespace apps should be deployed to by default. DefaultNamespace = "default" // DefaultWatchDelaySeconds is the time delay between files being changed and when a // new draft up` invocation is called when --watch is supplied. DefaultWatchDelaySeconds = 2 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Environment ¶
type Environment struct { Name string `toml:"name,omitempty"` BuildTarPath string `toml:"build_tar,omitempty"` ChartTarPath string `toml:"chart_tar,omitempty"` Namespace string `toml:"namespace,omitempty"` Values []string `toml:"set,omitempty"` Wait bool `toml:"wait,omitempty"` Watch bool `toml:"watch,omitempty"` WatchDelay int `toml:"watch_delay,omitempty"` }
Environment represents the environment for a given app at build time
Click to show internal directories.
Click to hide internal directories.