Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HostPruner ¶
HostPruner is the interface to prune hosts set to PlacingOffer status for too long by resetting status to ReadyOffer
func NewHeldHostPruner ¶
func NewHeldHostPruner(pool offerpool.Pool, scope tally.Scope) HostPruner
NewHeldHostPruner initializes the host pruner for an OfferPool which prunes expired hosts in Held state
func NewPlacingHostPruner ¶
func NewPlacingHostPruner(pool offerpool.Pool, scope tally.Scope) HostPruner
NewPlacingHostPruner initializes the host pruner for an OfferPool which prunes expired hosts in Placing state
Click to show internal directories.
Click to hide internal directories.