Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Drainer ¶
type Drainer struct {
// contains filtered or unexported fields
}
Drainer defines the host drainer which drains the hosts which are to be put into maintenance
func NewDrainer ¶
func NewDrainer( parent tally.Scope, hostMgrClient hostsvc.InternalHostServiceYARPCClient, drainerPeriod time.Duration, rmTracker rmtask.Tracker, preemptionQueue preemption.Queue) *Drainer
NewDrainer creates a new Drainer
Click to show internal directories.
Click to hide internal directories.