ssm

package
v1.4.3 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2020 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExpandArgs

func ExpandArgs(args []string) []string

ExpandArgs expands arguments using env vars

func ExpandValue

func ExpandValue(val string) string

ExpandValue interpolates values using env vars

func GetParameters

func GetParameters(names, paths, plainNames, plainPaths []string, transformationsList []transformations.Transformation, expand, strict, recursive bool) (parameters map[string]string, err error)

GetParameters returns all parameters by path/names, with optional env vars expansion

Types

type Env

type Env struct{}

Env just adapts os.LookupEnv to this interface

func (Env) Get

func (e Env) Get(key string) (string, bool)

Get gets env var by the provided key

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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