Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HostMover ¶
type HostMover interface { // MoveHosts moves hosts from source Pool to destination Pool MoveHosts(ctx context.Context, srcPool string, desiredSrcPoolHosts int32, destPool string, desiredDestPoolHosts int32) error }
HostMover provides abstraction to move host across pools
func NewHostMover ¶
func NewHostMover( manager manager.HostPoolManager, hostInfoOps ormobjects.HostInfoOps, driver goalstate.Driver, scope tally.Scope, resmgrClient resmgrsvc.ResourceManagerServiceYARPCClient, ) HostMover
NewHostMover creates the HostMover object
type Metrics ¶
type Metrics struct {
// contains filtered or unexported fields
}
Metrics tracks various metrics at task state level.
func NewMetrics ¶
NewMetrics returns a new Metrics struct, with all metrics initialized and rooted at the given tally.Scope
Click to show internal directories.
Click to hide internal directories.