config

package
v1.4.2 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	UpdateGithubTerraform bool   `mapstructure:"UPDATE_GITHUB_TERRAFORM"`
	GithubBaseBranch      string `mapstructure:"GITHUB_BASE_BRANCH"`
	GithubFilePath        string `mapstructure:"GITHUB_FILE_PATH"`
	GithubRepoOwner       string `mapstructure:"GITHUB_REPO_OWNER"`
	GithubRepoName        string `mapstructure:"GITHUB_REPO_NAME"`
	GithubToken           string `mapstructure:"GITHUB_TOKEN"`
	CloudflareToken       string `mapstructure:"CLOUDFLARE_TOKEN"`
	RecordName            string `mapstructure:"RECORD_NAME"`
	ZoneName              string `mapstructure:"ZONE_NAME"`
	LogLevel              string `mapstructure:"LOG_LEVEL"`
}

func Load

func Load() (*Config, error)

Jump to

Keyboard shortcuts

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