variables

package
v1.1.1-0...-acba925 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Variables

type Variables struct {
	Env     map[string]string // Environment variables
	Project map[string]string // Project variables
	// contains filtered or unexported fields
}

Variables consists of the variables that are to be passed to the template

func New

func New() *Variables

New sets up environment and project variables to be passed through to the text template

func (*Variables) ProjectVariable

func (v *Variables) ProjectVariable(name, value string)

ProjectVariable sets a project variable

Jump to

Keyboard shortcuts

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