Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CleanUp ¶
CleanUp is a struct for the post-pipeline actions to clean up the build and save artifacts
type Config ¶
type Config struct {
Environment Environment
Project Project
Services []Service
CleanUp CleanUp
}
Config is a struct to parse the TOML config into
type Environment ¶
Environment is the config for the environment
type HealthCheck ¶
type HealthCheck struct {
Type string // Either cmd, http_get, icmp_ping or ptrace_attach
CMD string
Address string
ExpectedCondition string
Retrys int
}
HealthCheck is a struct to check for a service's 'upness'
type Project ¶
type Project struct {
RepoURL string
CloneCMD string
AuthType string
SSHPrivKeyPath string
SSHPubKeyPath string
Username string
Password string
PromptForPWD bool
MaestrodHostEnv string
MaestrodPortEnv string
MaestrodHost string
MaestrodPort int
}
Project is the struct of the project to build
type Service ¶
type Service struct {
Name string
Tag string
TagType string
Path string
BuildLogFilePath string
BuildCMD []string
TestCMD []string
CheckCMD []string
CreateCMD []string
UpdateCMD []string
HealthCheck HealthCheck `toml:"[Services.HealthCheck]"`
DependsOn []string
}
Service is a struct of the service to build
Click to show internal directories.
Click to hide internal directories.