Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SupportedProtocols ¶
func SupportedProtocols() []string
Types ¶
type ConfigHardware ¶
type ConfigHardware struct { Devices []struct { Name string `json:"name"` Vendor string `json:"vendor"` Model string `json:"model"` BmcHost string `json:"bmcHost" yaml:"bmcHost"` // yaml struct tags defined because the library requires it BmcUser string `json:"bmcUser" yaml:"bmcUser"` BmcPass string `json:"bmcPass" yaml:"bmcPass"` IpmiPort string `json:"ipmiPort" yaml:"ipmiPort"` } `json:"devices"` }
type ConfigTests ¶
type DeviceResult ¶
DeviceResult holds the test results for a given device
type Result ¶
type Result struct { Feature string Protocol string ProvidersAttempted []string SuccessfulProvider string Output string Error string Succeeded bool Runtime string }
Result is a single test result
type ResultStore ¶
type ResultStore struct {
// contains filtered or unexported fields
}
ResultStore stores test results
func NewTestResultStore ¶
func NewTestResultStore() *ResultStore
func (*ResultStore) Read ¶
func (r *ResultStore) Read() []DeviceResult
func (*ResultStore) Save ¶
func (r *ResultStore) Save(result DeviceResult)
type Tester ¶
type Tester struct {
// contains filtered or unexported fields
}
Tester runs tests on a host, this struct holds config attributes for tester
Click to show internal directories.
Click to hide internal directories.