Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NodesDevices ¶
type NodesDevices struct {
Devices map[string][]SampleDevice `yaml:"devices"`
}
func Generate ¶ added in v0.2.2
func Generate(count int) *NodesDevices
func Parse ¶
func Parse(path, resName string) (*NodesDevices, error)
type SampleDevice ¶
type SampleDevice struct { ID string `yaml:"id"` Healthy bool `yaml:"healthy"` NUMANode int `yaml:"numanode"` }
func (*SampleDevice) ToHealthy ¶
func (dc *SampleDevice) ToHealthy() string
Click to show internal directories.
Click to hide internal directories.