config

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Dec 25, 2018 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Unmarshal

func Unmarshal(fname string) (*types.Config, error)

Types

type FirstLoad

type FirstLoad struct {
	Env     *[]string `hcl:"env"`
	Secrets *[]string `hcl:"secrets"`
	Remain  hcl.Body  `hcl:",remain"`
}

type SecondLoad

type SecondLoad struct {
	Workspace *string      `hcl:"workspace"`
	Vault     *vault.Vault `hcl:"vault,block"`
	Remain    hcl.Body     `hcl:",remain"`
}

type ThirdLoad added in v0.0.2

type ThirdLoad struct {
	Templates []*job.Job `hcl:"template,block"`
	Remain    hcl.Body   `hcl:",remain"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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