Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFactory ¶
NewFactory creates a factory for redfish receiver.
Types ¶
type Config ¶
type Config struct {
scraperhelper.ControllerConfig `mapstructure:",squash"`
metadata.MetricsBuilderConfig `mapstructure:",squash"`
Servers []Server `mapstructure:"servers"`
// contains filtered or unexported fields
}
type Server ¶
type Server struct {
BaseURL string `mapstructure:"base_url"`
User string `mapstructure:"username"`
Pwd configopaque.String `mapstructure:"password"`
Insecure bool `mapstructure:"insecure"`
Timeout string `mapstructure:"timeout"`
Redfish redfishConfig `mapstructure:"redfish"`
ComputerSystemID string `mapstructure:"computer_system_id"`
Resources []Resource `mapstructure:"resources"`
}
Click to show internal directories.
Click to hide internal directories.