environment

package
v0.0.0-...-3015c2b Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2019 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const BuildTimeFormat = "2006-01-02T15:04:05-0700"
View Source
const ExpandMaxIterations = 50

Variables

This section is empty.

Functions

func NormalizeEnvironmentFile

func NormalizeEnvironmentFile(text string) ([]string, error)

Types

type Environment

type Environment map[string]string

func Default

func Default() (Environment, error)

func Merge

func Merge(environments ...Environment) Environment

func New

func New(values []string) Environment

func (Environment) ExpandSlice

func (e Environment) ExpandSlice(templates []string) ([]string, error)

func (Environment) ExpandString

func (e Environment) ExpandString(template string) (string, error)

func (Environment) Keys

func (e Environment) Keys() []string

func (Environment) Serialize

func (e Environment) Serialize() []string

Jump to

Keyboard shortcuts

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