environmentmanager

package
v0.5.0-beta.6 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

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