Documentation ¶
Index ¶
Constants ¶
View Source
const FileName = "hoist.yml"
FileName for the hoist.yml file.
Variables ¶
View Source
var ( ErrUnableToReadFile = erk.New(ErkUnableToReadFile{}, "cannot read '{{.path}}'; make sure you are in the correct directory") ErrUnableToUnmarshal = erk.New(ErkUnableToReadFile{}, "cannot unmarshal '{{.path}}' into the hoist.yml format: {{.err}}") )
View Source
var ( ErrVersionRequired = erk.New(ErkInvalidVersion{}, "hoist.yml 'version' is required") ErrVersionUnsupported = erk.New(ErkUnsupportedVersion{}, "only hoist.yml version 0.1.0 is supported, got '{{.version}}'") ErrStackMissingName = erk.New(ErkInvalidStack{}, "hoist.yml 'stack' missing 'name'") ErrStackNameInvalid = erk.New(ErkInvalidStack{}, "hoist.yml stack name, '{{.name}}', invalid; it can only contain a-z, 0-9, and '-'") ErrServiceNameInvalid = erk.New(ErkInvalidService{}, "service name '{{.name}}' is invalid; it can only contain a-z, 0-9, and '-'") ErrServiceMissingType = erk.New(ErkInvalidService{}, "service '{{.name}}' missing 'type'") ErrServiceMissingPath = erk.New(ErkInvalidService{}, "service '{{.name}}' missing 'path' (use '.' for same directory)") )
Functions ¶
This section is empty.
Types ¶
type ErkInvalidService ¶
type ErkInvalidServices ¶
type ErkInvalidStack ¶
type ErkInvalidVersion ¶
type ErkUnableToReadFile ¶
type ErkUnableToUnmarshal ¶
type ErkUnsupportedVersion ¶
type Service ¶
type Service struct { Name string `yaml:"-"` // Added by Services.Parse() Type string `yaml:"type"` Path string `yaml:"path"` }
Service in the Hoist stack.
Click to show internal directories.
Click to hide internal directories.