package
Version:
v1.0.0
Opens a new window with list of versions in this module.
Published: Mar 14, 2019
License: MIT
Opens a new window with license information.
Imports: 13
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
DecodeMount parses mount format for directories to be mounted as bind volumes
Configs describes the parsed information from the dunner file
GetConfigs reads and parses tasks from the dunner file
type DirMount struct {
Src string `yaml:"src"`
Dest string `yaml:"dest"`
ReadOnly bool `yaml:"read-only"`
}
type Task struct {
Name string `yaml:"name"`
Image string `yaml:"image"`
SubDir string `yaml:"dir"`
Command []string `yaml:"command"`
Envs []string `yaml:"envs"`
Mounts []string `yaml:"mounts"`
Args []string `yaml:"args"`
}
Task describes a single task to be run in a docker container
Source Files
¶
Click to show internal directories.
Click to hide internal directories.