Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DbBench ¶
type DbBench struct {
// contains filtered or unexported fields
}
func NewDbBench ¶
func NewDbBench() *DbBench
func (*DbBench) AssignNode ¶
func (s *DbBench) AssignNode(nodes []pb.Node, specs []pb.NodeAssignmentSpec) ([]pb.AssignedNode, error)
func (*DbBench) LoggerIdentity ¶
type Error ¶
type Error struct {
Code pb.ScheduleFail
}
Error is reason for failed to schedule a spec to one node
type Scheduler ¶
type Scheduler interface {
AssignNode(nodes []pb.Node, specs []pb.NodeAssignmentSpec) ([]pb.AssignedNode, error)
}
Click to show internal directories.
Click to hide internal directories.