loci

package module
v0.0.0-...-1b9c657 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2020 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildImage

func BuildImage(cli *client.Client, config LociConfig) string

func Loci

func Loci(config LociConfig)

func PrepConfig

func PrepConfig(config *LociConfig) error

func PullImage

func PullImage(cli *client.Client, config LociConfig) string

Types

type BadConfig

type BadConfig struct {
	Message   string
	ExtraInfo string
}

func (*BadConfig) Error

func (e *BadConfig) Error() string

type LociConfig

type LociConfig struct {
	Image                string            `yaml:"image"`
	Dockerfile           string            `yaml:"dockerfile"`
	BuildFolder          string            `yaml:"build_folder"`           //default: /build
	ImmutableBuildFolder bool              `yaml:"immutable_build_folder"` //default: false
	ExtraVolumes         []Volume          `yaml:"extra_volumes"`
	Rebuild              bool              `yaml:"rebuild"`
	EnvironmentVars      map[string]string `yaml:"environment"`
	Command              string            `yaml:"command"`
}

func LoadConfig

func LoadConfig() LociConfig

type Volume

type Volume struct {
	Source    string `yaml:"source"`
	Target    string `yaml:"target"`
	Immutable bool   `yaml:"immutable"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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