execconf

package
v0.0.0-...-799583d Latest Latest
Warning

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

Go to latest
Published: May 11, 2019 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExecConf

type ExecConf struct {
	Job     string   `json:"job"`
	Command string   `json:"command"`
	Args    []string `json:"args"`
	Env     []string `json:"env"`
	Dir     string   `json:"dir"`
}

ExecConf is a struct to define configuration of execution configs

func ReadExecConfDir

func ReadExecConfDir(directory string) ([]ExecConf, error)

func ReadExecConfFile

func ReadExecConfFile(filename string) ([]ExecConf, error)

ReadExecConfFile Reads configuration json file and converts to ExecConf

Jump to

Keyboard shortcuts

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