config

package
v1.0.9 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadFrom

func LoadFrom(path string) error

LoadFrom loads the config from the specified file path.

Types

type Config

type Config struct {
	DockerAPIBaseURL         string `toml:"docker_api_base_url"`
	DockerAPIBaseExtendedURL string `toml:"docker_api_base_extended_url"`
	DockerRegistryUser       string `toml:"docker_registry_user"`
	DockerRegistryPwd        string `toml:"docker_registry_pwd"`
	SDKPath                  string `toml:"docker_sdk_path"`
	DockerRegistry           string `toml:"docker_registry_pwd"`
	VulcanChecksRepo         string `toml:"vulcan_checks_repo"`

	PrimaryMasterBranchEnvs   []string `toml:"primary_master_branch_envs"`
	SecondaryMasterBranchEnvs []string `toml:"secondary_master_branch_envs"`

	PrimaryDevBranchEnvs   []string `toml:"primary_dev_branch_envs"`
	SecondaryDevBranchEnvs []string `toml:"secondary_dev_branch_envs"`
}

Config stores the configuration needed by the build system.

var Cfg Config

Cfg contains the loaded confing.

Jump to

Keyboard shortcuts

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