config

package
v1.3.4 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type State

type State struct {
	Targets task.Targets      `json:"targets"`
	Env     map[string]string `json:"env"`
}

State represents a desired system state

func ConfigFromDirectory

func ConfigFromDirectory(dir, hostname string) (state State, err error)

ConfigFromDirectory searches a directory for configuration files and constructs a desired state from the declarations.

Jump to

Keyboard shortcuts

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