template

package
v0.0.0-...-50ee31f Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2020 License: MPL-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

View Source
const SprigVersion = "3.1.0"

SprigVersion contains the semver of the included sprig library it is used in command/version and provided in the sprig_version template function

Variables

This section is empty.

Functions

func RenderJob

func RenderJob(templateFile string, variableFiles []string, addr string, flagVars *map[string]string) (job *nomad.Job, err error)

RenderJob takes in a template and variables performing a render of the template followed by Nomad jobspec parse.

func RenderTemplate

func RenderTemplate(templateFile string, variableFiles []string, addr string, flagVars *map[string]string) (tpl *bytes.Buffer, err error)

RenderTemplate is the main entry point to render the template based on the passed variables file.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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