Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigFile ¶
ConfigFile defines structure of the serv yaml file
type Healthcheck ¶
type Healthcheck struct {
Command string `yaml:"command"`
Timeout int `yaml:"timeout"`
Sleep int `yaml:"sleep"`
}
Healthcheck defines structure of health check command
type Postcondition ¶
type Postcondition struct {
Command string `yaml:"command"`
}
Postcondition defines structure of post condition command
type Repository ¶
Repository defines structure of single repository
type Service ¶
type Service struct {
Repository `yaml:",inline"`
Command string `yaml:"command"`
Healthchecks []Healthcheck `yaml:"healthchecks"`
Postconditions []Postcondition `yaml:"postconditions"`
}
Service defines structure of a single project
Click to show internal directories.
Click to hide internal directories.