mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-07-01 19:50:53 +00:00
c1a8884d62
- add backend selection option - by default it will auto-detect a backend
12 lines
274 B
Go
12 lines
274 B
Go
package types
|
|
|
|
// State defines a container state.
|
|
type State struct {
|
|
// Container exit code
|
|
ExitCode int `json:"exit_code"`
|
|
// Container exited, true or false
|
|
Exited bool `json:"exited"`
|
|
// Container is oom killed, true or false
|
|
OOMKilled bool `json:"oom_killed"`
|
|
}
|