env

package
v0.0.0-...-2e0f108 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2024 License: MIT Imports: 12 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClearAppEnvkey

func ClearAppEnvkey(appId string) error

func EnvkeyFromAppId

func EnvkeyFromAppId(orgId string, appId string, verboseOutput bool, localDevHost bool) (string, parser.EnvMap, error)

func ReadEnvFileFromCwdUpwards

func ReadEnvFileFromCwdUpwards(verboseOutput bool) (parser.EnvMap, uint8, error)

func ReadFileFromCwdUpwards

func ReadFileFromCwdUpwards(filename string, verboseOutput bool) ([]byte, uint8, error)

Types

type AppConfig

type AppConfig struct {
	OrgId string `json:"orgId"`
	AppId string `json:"appId"`
}

func GetEnvkey

func GetEnvkey(verboseOutput bool, envFilePath string, toStderr bool, localDevHost bool) (string, AppConfig, parser.EnvMap)

type ErrorRes

type ErrorRes struct {
	Error string `json:"error"`
}

type LocalKeyRes

type LocalKeyRes struct {
	LocalKey string `json:"localKey"`
}

Jump to

Keyboard shortcuts

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