config

package
v3.0.3+incompatible Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2019 License: BSD-3-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Generate

func Generate(out io.Writer, tmplpath string, f interface{}) error

Generate executes the template stored at fpath on object f

func Parser

func Parser(filepath string, f interface{}) error

Parser parses configuration found in the file with the specified path.

Types

type Common

type Common struct {
	EngineName  string `json:"engineName"`
	ContainerID string `json:"containerID"`
	// EngineConfig is the raw JSON representation of the Engine's underlying config
	EngineConfig EngineConfig `json:"engineConfig"`
}

Common provides the basis for all engine configs. Anything that can not be properly described through the OCI config can be stored as generic JSON []byte

type EngineConfig

type EngineConfig interface{}

EngineConfig is a generic interface to represent the implementations of an EngineConfig

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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