Versions in this module Expand all Collapse all v6 v6.4.2 Aug 17, 2020 Changes in this version + var ErrNotRoot = errors.New("worker must be run as root") — linux/amd64 + type Certs struct + Dir string + type CmdRunner struct + Cmd *exec.Cmd + func (runner CmdRunner) Run(signals <-chan os.Signal, ready chan<- struct{}) error + type ContainerdRuntime struct + Bin string + Config flag.File + DNS DNSConfig + DNSServers []string + MaxContainers int + NetworkPool string + RequestTimeout time.Duration + RestrictedNetworks []string + type DNSConfig struct + Enable bool + func (config DNSConfig) Server() (*dns.Server, error) + type GuardianRuntime struct + Bin string + Config flag.File + DNS DNSConfig + RequestTimeout time.Duration + type RuntimeConfiguration struct + Runtime string + type WorkerCommand struct + Baggageclaim baggageclaimcmd.BaggageclaimCommand + BindIP flag.IP + BindPort uint16 + Certs Certs + ConnectionDrainTimeout time.Duration + ContainerSweeperMaxInFlight uint16 + Containerd ContainerdRuntime + DebugBindIP flag.IP + DebugBindPort uint16 + ExternalGardenURL flag.URL + Guardian GuardianRuntime + HealthCheckTimeout time.Duration + HealthcheckBindIP flag.IP + HealthcheckBindPort uint16 + Logger flag.Lager + RebalanceInterval time.Duration + ResourceTypes flag.Dir + SweepInterval time.Duration + TSA worker.TSAConfig + VolumeSweeperMaxInFlight uint16 + WorkDir flag.Dir + Worker WorkerConfig + func (cmd *WorkerCommand) Execute(args []string) error + func (cmd *WorkerCommand) Runner(args []string) (ifrit.Runner, error) + func (cmd WorkerCommand) LessenRequirements(prefix string, command *flags.Command) + type WorkerConfig struct + Ephemeral bool + HTTPProxy string + HTTPSProxy string + Name string + NoProxy string + Tags []string + TeamName string + Version string + func (c WorkerConfig) Worker() atc.Worker