env

package
v0.0.0-...-4f497cb Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// PipelineConfigFilename is the pipeline config the parser is looking for.
	PipelineConfigFilename = ".drizzle.yml"
)

Variables

This section is empty.

Functions

func ExpandVars

func ExpandVars(variables map[string]string, secretRetriever drizzle.SecretRetriever) (map[string]string, error)

ExpandVars replaces ${var} or $var in the string according to the values of the current environment variables or, if not found, with a secret manager.

Types

type ConfigParser

type ConfigParser struct {
	// contains filtered or unexported fields
}

ConfigParser parses given file from path to a Pipeline.

func (*ConfigParser) Parse

func (cp *ConfigParser) Parse(configDirPath string) (drizzle.Pipeline, error)

Parse parses yml file of given path and creates a Pipeline.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳