Documentation ¶
Index ¶
Constants ¶
View Source
const (
// PathToDefaultRanDuParamsFile path to config file with default ran du parameters.
PathToDefaultRanDuParamsFile = "./default.yaml"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RanDuConfig ¶
type RanDuConfig struct { *config.GeneralConfig TestWorkload struct { Namespace string `yaml:"namespace" envconfig:"ECO_RANDU_TESTWORKLOAD_NAMESPACE"` CreateMethod string `yaml:"create_method" envconfig:"ECO_RANDU_TESTWORKLOAD_CREATE_METHOD"` CreateShellCmd string `yaml:"create_shell_cmd" envconfig:"ECO_RANDU_TESTWORKLOAD_CREATE_SHELLCMD"` } `yaml:"randu_test_workload"` SoftRebootIterations string `yaml:"soft_reboot_iterations" envconfig:"ECO_RANDU_SOFT_REBOOT_ITERATIONS"` HardRebootIterations string `yaml:"hard_reboot_iterations" envconfig:"ECO_RANDU_HARD_REBOOT_ITERATIONS"` IpmiToolImage string `yaml:"ipmitool_image" envconfig:"ECO_RANDU_IPMITOOL_IMAGE"` LaunchWorkloadIterations string `yaml:"launch_workload_iterations" envconfig:"ECO_RANDU_LAUNCH_WORKLOAD_ITERATIONS"` }
RanDuConfig type keeps ran du configuration.
func NewRanDuConfig ¶
func NewRanDuConfig() *RanDuConfig
NewRanDuConfig returns instance of RanDuConfig config type.
Click to show internal directories.
Click to hide internal directories.