Documentation ¶
Index ¶
Constants ¶
View Source
const ( LangGo = "go" LangJavaScript = "javascript" SysDocker = "docker" SysSystemd = "systemd" ArchARMv6 = "ARMv6" )
Service constants
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Service ¶
type Service struct { Name string `yaml:"-"` TargetNames []string `yaml:"targets"` Targets []*Target `yaml:"-"` Language string `yaml:"language"` EnvFiles []string `yaml:"env_files"` }
Service is the microservice to be deployed
func FindService ¶
FindService returns a service by name or nil if it doesn't exist
func (*Service) DashedName ¶
DashedName returns home-automation-s-foo for service.foo
func (*Service) SyslogIdentifier ¶
SyslogIdentifier returns the value that can be used in a systemd unit file.
Click to show internal directories.
Click to hide internal directories.