service

package
v1.0.0-RC1 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2018 License: GPL-2.0 Imports: 0 Imported by: 8

Documentation

Index

Constants

View Source
const (
	Boot    = iota
	Restart = iota
	Stop    = iota
	Die     = iota
	Adopt   = iota
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Configuration

type Configuration struct {
	Name                string   `yaml:"name"`
	BaseImage           string   `yaml:"image"`
	Source              string   `yaml:"source"`
	BW2Entity           string   `yaml:"bw2Entity"`
	CPUShares           uint64   `yaml:"cpuShares"`
	Memory              uint64   `yaml:"memory"`
	Build               []string `yaml:"build,omitempty"`
	Run                 []string `yaml:"run"`
	IncludedFiles       []string `yaml:"includedFiles,omitempty"`
	IncludedDirectories []string `yaml:"includedDirectories,omitempty"`
	AutoRestart         bool     `yaml:"autoRestart,omitempty"`
	UseHostNet          bool     `yaml:"useHostNet,omitempty"`
	Volumes             []string `yaml:"volumes,omitempty"`
	Devices             []string `yaml:"devices,omitempty"`
}

type Event

type Event int

type LogMessage

type LogMessage struct {
	Contents  string
	Timestamp int64
}

Jump to

Keyboard shortcuts

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