environmentmanager

package
v0.11.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	UPPERCASE             = "UPPERCASE"
	LOWERCASE             = "LOWERCASE"
	CAPITALIZE            = "CAPITALIZE"
	POSTGRESQL_MODEL      = "POSTGRESQL_MODEL"
	POSTGRESQL_URL_FORMAT = "POSTGRESQL_URL_FORMAT"
)

Variables

Functions

func GenerateEnvFile

func GenerateEnvFile(configJSON []byte, newEnvFilePath string, readOnlyEnvFilesPath string) int

Types

type Config

type Config struct {
	Version              string `json:"version"`
	SoftwareTarget       string `json:"software_target"`
	Filename             string `json:"filename"`
	StaticVariables      []Variable
	RandomValueVariables []Variable
	CustomValueVariables []Variable
	EnvVariables         []Variable
	ReadOnlyVariables    []Variable
	ExistingVariables    []Variable
}

type Variable

type Variable struct {
	Key   string `json:"key"`
	Value string `json:"value"`
}

Jump to

Keyboard shortcuts

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