Documentation
¶
Overview ¶
Package agent provides a daemon capable of running remote operations on behalf of a user.
Index ¶
Constants ¶
View Source
const ( DefaultID = "agent-001" DefaultConcurrency = 5 )
View Source
const HashicorpReleasesHost = "releases.hashicorp.com"
Variables ¶
Functions ¶
Types ¶
type Config ¶ added in v0.0.12
type Config struct {
Organization *string // only process runs belonging to org
External bool // dedicated agent (true) or integrated into otfd (false)
Concurrency int // number of workers
Sandbox bool // isolate privileged ops within sandbox
Debug bool // toggle debug mode
PluginCache bool // toggle use of terraform's shared plugin cache
}
Config configures the agent.
func NewConfigFromFlags ¶ added in v0.0.12
type Downloader ¶ added in v0.0.32
type Downloader interface {
// contains filtered or unexported methods
}
Downloader downloads a specific version of a binary and returns its path
Click to show internal directories.
Click to hide internal directories.