Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Nodeselection ¶
type Nodeselection struct {
Simulator Simulator `cmd:"" helm:"simulate different node selections"`
}
type PerformanceRecord ¶
type Simulator ¶
type Simulator struct { Nodes string `help:"csv file with the node table export"` Performance string `help:"csv file with the node performance data"` Selector string `help:"selector definition" default:"random()"` Selection int `help:"number of selection to be simulated" default:"100000"` NodeCacheRefresh int `help:"number of samples after node cache is refreshed (only important for filterbest)." default:"10000"` // contains filtered or unexported fields }
func (*Simulator) ReadNodes ¶
func (s *Simulator) ReadNodes() (nodes []*nodeselection.SelectedNode, err error)
func (*Simulator) ReadPerformanceData ¶
func (s *Simulator) ReadPerformanceData(nodes []*nodeselection.SelectedNode) error
Click to show internal directories.
Click to hide internal directories.