Documentation ¶
Index ¶
Constants ¶
View Source
const ( DrainStateInProgress = "in-progress" DrainStateDone = "done" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Drainer ¶
type Drainer struct { LastDrained string DrainCount int DrainDuration time.Duration Clock clock.Clock States map[string]string }
Click to show internal directories.
Click to hide internal directories.