vcoreconfig

package
v0.0.0-...-3439013 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 7, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// PathToDefaultVCoreParamsFile path to config file with default vCore parameters.
	PathToDefaultVCoreParamsFile = "./default.yaml"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type VCoreConfig

type VCoreConfig struct {
	*systemtestsconfig.SystemTestsConfig
	Namespace                   string `yaml:"vcore_default_ns" envconfig:"ECO_SYSTEM_VCORE_NS"`
	OdfMCPName                  string `yaml:"odf_mcp" envconfig:"ECO_SYSTEM_VCORE_ODF_MCP"`
	VCorePpMCPName              string `yaml:"vcore_pp_mcp" envconfig:"ECO_SYSTEM_VCORE_PP_MCP"`
	VCoreCpMCPName              string `yaml:"vcore_cp_mcp" envconfig:"ECO_SYSTEM_VCORE_CP_MCP"`
	Host                        string `yaml:"host" envconfig:"ECO_SYSTEM_VCORE_HOST"`
	User                        string `yaml:"user" envconfig:"ECO_SYSTEM_VCORE_USER"`
	Pass                        string `yaml:"pass" envconfig:"ECO_SYSTEM_VCORE_PASS"`
	MirrorRegistryUser          string `yaml:"mirror_registry_user" envconfig:"ECO_SYSTEM_VCORE_MIRROR_REGISTRY_USER"`
	MirrorRegistryPass          string `yaml:"mirror_registry_pass" envconfig:"ECO_SYSTEM_VCORE_MIRROR_REGISTRY_PASSWORD"`
	CombinedPullSecretFile      string `yaml:"combined_pull_secret" envconfig:"ECO_SYSTEM_VCORE_COMBINED_PULL_SECRET"`
	PrivateKey                  string `yaml:"private_key" envconfig:"ECO_SYSTEM_VCORE_PRIVATE_KEY"`
	RegistryRepository          string `yaml:"registry_repository" envconfig:"ECO_SYSTEM_VCORE_REGISTRY_REPOSITORY"`
	CPUIsolated                 string `yaml:"cpu_isolated" envconfig:"ECO_SYSTEM_VCORE_CPU_ISOLATED"`
	CPUReserved                 string `yaml:"cpu_reserved" envconfig:"ECO_SYSTEM_VCORE_CPU_RESERVED"`
	KubeconfigPath              string `yaml:"kubeconfig_path" envconfig:"ECO_SYSTEM_VCORE_KUBECONFIG"`
	OdfLabel                    string
	VCorePpLabel                string
	VCoreCpLabel                string
	ControlPlaneLabelListOption metav1.ListOptions
	WorkerLabelListOption       metav1.ListOptions
	OdfLabelListOption          metav1.ListOptions
	VCorePpLabelListOption      metav1.ListOptions
	VCoreCpLabelListOption      metav1.ListOptions
	OdfLabelMap                 map[string]string
	VCorePpLabelMap             map[string]string
	VCoreCpLabelMap             map[string]string
}

VCoreConfig type keeps vCore configuration.

func NewVCoreConfig

func NewVCoreConfig() *VCoreConfig

NewVCoreConfig returns instance of VCoreConfig config type.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL