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"`
ContainerBuilder string `toml:"container-builder,omitempty"`
Registry string `toml:"registry,omitempty"`
ResourceGroupName string `toml:"resource-group-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"`
Watch bool `toml:"watch"`
WatchDelay int `toml:"watch-delay,omitempty"`
OverridePorts []string `toml:"override-ports,omitempty"`
AutoConnect bool `toml:"auto-connect"`
CustomTags []string `toml:"custom-tags,omitempty"`
Dockerfile string `toml:"dockerfile"`
Chart string `toml:"chart"`
}
Environment represents the environment for a given app at build time
Click to show internal directories.
Click to hide internal directories.