env

package
v0.86.16 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2022 License: GPL-3.0 Imports: 13 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	HomeDir         = os.Getenv("SLING_HOME_DIR")
	DbNetDir        = os.Getenv("DBNET_HOME_DIR")
	HomeDirEnvFile  = ""
	DbNetDirEnvFile = ""
)

Functions

func Env

func Env() map[string]string

Env returns the environment variables to propogate

func FlattenEnvFile

func FlattenEnvFile(filePath string) (env map[string]string, err error)

func InitLogger

func InitLogger()

InitLogger initializes the g Logger

func NormalizeEnvFile

func NormalizeEnvFile(filePath string) (env map[string]interface{}, err error)

Types

type Conn

type Conn struct {
	Name        string
	Description string
	Source      string
	Connection  connection.Connection
}

func GetLocalConns

func GetLocalConns() []Conn

Jump to

Keyboard shortcuts

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