Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TestConfig ¶
type TestConfig struct { ClusterName string `yaml:"clusterName"` ClusterRegion string `yaml:"clusterRegion"` NodeadmUrlAMD string `yaml:"nodeadmUrlAMD"` NodeadmUrlARM string `yaml:"nodeadmUrlARM"` SetRootPassword bool `yaml:"setRootPassword"` NodeK8sVersion string `yaml:"nodeK8SVersion"` LogsBucket string `yaml:"logsBucket"` Endpoint string `yaml:"endpoint"` // ArtifactsFolder is the local path where the test will store the artifacts. ArtifactsFolder string `yaml:"artifactsFolder"` }
func ReadConfig ¶
func ReadConfig(configPath string) (*TestConfig, error)
ReadConfig reads the configuration from the specified file path and unmarshals it into the TestConfig struct.
Click to show internal directories.
Click to hide internal directories.