Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContainerStatus ¶
ContianerStatus holds the status and related status message of a container
type ExitCodes ¶
type ExitCodes struct {
Codes []int
}
ExitCodes holds a list of exit codes
type FileMonitor ¶
type FileMonitor struct { File string `the file to monitor` Regex *regexp.Regexp `the regular expression to look for` Status string `weather to succeed or fail` }
FileMonitor holds information about file monitors for our containers
type Requires ¶
type Requires struct {
Require []string
}
Requires stores the requirements for each compose-file
type StateConditions ¶
type StateConditions struct { ExitCodes *ExitCodes `the exit code to expect. the value '-1' indicates that the process should not exit` FileMonitors map[string][]FileMonitor `a map of map[filepath][]FileMonitor type to store filemonitors` Timeout *Timeout `how long we should wait (in seconds) for a success prior to automatically failing.` }
StateConditions holds our conditions tht have been applied to services
Click to show internal directories.
Click to hide internal directories.