config

package
v1.9.0 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type E2EConfig

type E2EConfig struct {
	OperatorChart string `yaml:"operatorChart"`
	CRDChart      string `yaml:"crdChart"`
	ExternalIP    string `yaml:"externalIP"`
	MagicDNS      string `yaml:"magicDNS"`
	BridgeIP      string `yaml:"bridgeIP"`
	ArtifactsDir  string `yaml:"artifactsDir"`

	CertManagerVersion  string `yaml:"certManagerVersion"`
	CertManagerChartURL string `yaml:"certManagerChartURL"`

	RancherVersion  string `yaml:"rancherVersion"`
	RancherChartURL string `yaml:"rancherChartURL"`

	AWSAccessKey       string `yaml:"awsAccessKey"`
	AWSSecretAccessKey string `yaml:"awsSecretAccessKey"`

	AWSRegion string `yaml:"awsRegion"`
}

func ReadE2EConfig

func ReadE2EConfig(configPath string) (*E2EConfig, error)

ReadE2EConfig read config from yaml and substitute variables using envsubst. All variables can be overridden by environmental variables.

Jump to

Keyboard shortcuts

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