Documentation ¶
Index ¶
Constants ¶
View Source
const (
// PathToDefaultCnfRanParamsFile path to config file with default system tests parameters.
PathToDefaultCnfRanParamsFile = "./default.yaml"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HubConfig ¶
type HubConfig struct { HubAPIClient *clients.Settings HubOCPVersion string ZTPVersion string HubOperatorVersions map[ranparam.HubOperatorName]string HubKubeconfig string `envconfig:"ECO_CNF_RAN_KUBECONFIG_HUB"` }
HubConfig contains the configuration for the hub cluster, if present.
type RANConfig ¶
type RANConfig struct { *cnfconfig.CNFConfig *HubConfig *Spoke1Config *Spoke2Config MetricSamplingInterval string `yaml:"metricSamplingInterval" envconfig:"ECO_CNF_RAN_METRIC_SAMPLING_INTERVAL"` NoWorkloadDuration string `yaml:"noWorkloadDuration" envconfig:"ECO_CNF_RAN_NO_WORKLOAD_DURATION"` WorkloadDuration string `yaml:"workloadDuration" envconfig:"ECO_CNF_RAN_WORKLOAD_DURATION"` StressngTestImage string `yaml:"stressngTestImage" envconfig:"ECO_CNF_RAN_STRESSNG_TEST_IMAGE"` CnfTestImage string `yaml:"cnfTestImage" envconfig:"ECO_CNF_RAN_TEST_IMAGE"` OcpUpgradeUpstreamURL string `yaml:"ocpUpgradeUpstreamUrl" envconfig:"ECO_CNF_RAN_OCP_UPGRADE_UPSTREAM_URL"` PtpOperatorNamespace string `yaml:"ptpOperatorNamespace" envconfig:"ECO_CNF_RAN_PTP_OPERATOR_NAMESPACE"` TalmPreCachePolicies []string `yaml:"talmPreCachePolicies" envconfig:"ECO_CNF_RAN_TALM_PRECACHE_POLICIES"` ZtpSiteGenerateImage string `yaml:"ztpSiteGenerateImage" envconfig:"ECO_CNF_RAN_ZTP_SITE_GENERATE_IMAGE"` }
RANConfig contains configuration for the RAN directory.
type Spoke1Config ¶
type Spoke1Config struct { Spoke1BMC *bmc.BMC Spoke1APIClient *clients.Settings Spoke1Name string Spoke1OCPVersion string BMCUsername string `envconfig:"ECO_CNF_RAN_BMC_USERNAME"` BMCPassword string `envconfig:"ECO_CNF_RAN_BMC_PASSWORD"` BMCHosts []string `envconfig:"ECO_CNF_RAN_BMC_HOSTS"` BMCTimeout time.Duration `yaml:"bmcTimeout" envconfig:"ECO_CNF_RAN_BMC_TIMEOUT"` }
Spoke1Config contains the configuration for the spoke 1 cluster, which should always be present.
Click to show internal directories.
Click to hide internal directories.