Documentation ¶
Index ¶
Constants ¶
View Source
const ( EnvTestgroundHomeDir = "TESTGROUND_HOME" DefaultListenAddr = "localhost:8042" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientConfig ¶
type ClientConfig struct {
Endpoint string `toml:"endpoint"`
}
type CoalescedConfig ¶
type CoalescedConfig []map[string]interface{}
func (CoalescedConfig) Append ¶
func (c CoalescedConfig) Append(in map[string]interface{}) CoalescedConfig
func (CoalescedConfig) CoalesceIntoType ¶
func (c CoalescedConfig) CoalesceIntoType(typ reflect.Type) (interface{}, error)
type DaemonConfig ¶
type DaemonConfig struct {
Listen string `toml:"listen"`
}
type Directories ¶
type Directories struct {
// contains filtered or unexported fields
}
func (Directories) Home ¶
func (d Directories) Home() string
func (Directories) Outputs ¶
func (d Directories) Outputs() string
func (Directories) Plans ¶
func (d Directories) Plans() string
func (Directories) SDKs ¶
func (d Directories) SDKs() string
func (Directories) Work ¶
func (d Directories) Work() string
type DockerHubConfig ¶
type EnvConfig ¶
type EnvConfig struct { AWS AWSConfig `toml:"aws"` DockerHub DockerHubConfig `toml:"dockerhub"` Builders map[string]ConfigMap `toml:"builders"` Runners map[string]ConfigMap `toml:"runners"` Daemon DaemonConfig `toml:"daemon"` Client ClientConfig `toml:"client"` // contains filtered or unexported fields }
EnvConfig contains the environment configuration. It is populated by coalescing values from these sources, in descending order of precedence:
- environment variables.
- env.toml.
- default fallbacks.
func (EnvConfig) Dirs ¶
func (e EnvConfig) Dirs() Directories
Click to show internal directories.
Click to hide internal directories.