README ¶ gate Registers a Garden worker on an interval to a given ATC endpoint. Expand ▾ Collapse ▴ Documentation ¶ Index ¶ func NewHeartbeater(logger lager.Logger, interval time.Duration, gardenClient garden.Client, ...) ifrit.Runner type Drainer func NewDrainer(logger lager.Logger, client garden.Client) *Drainer func (d *Drainer) Drain() error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func NewHeartbeater ¶ func NewHeartbeater( logger lager.Logger, interval time.Duration, gardenClient garden.Client, atcEndpoint *rata.RequestGenerator, worker atc.Worker, ) ifrit.Runner Types ¶ type Drainer ¶ type Drainer struct { // contains filtered or unexported fields } func NewDrainer ¶ func NewDrainer( logger lager.Logger, client garden.Client, ) *Drainer func (*Drainer) Drain ¶ func (d *Drainer) Drain() error Source Files ¶ View all Source files drainer.go heartbeater.go Directories ¶ Show internal Expand all Path Synopsis cmd gate Click to show internal directories. Click to hide internal directories.