2021-04-24 18:29:05 +02:00
|
|
|
package container
|
|
|
|
|
|
|
|
import "errors"
|
|
|
|
|
|
|
|
var errorNoImageInfo = errors.New("no available image info")
|
2021-11-12 06:21:34 -05:00
|
|
|
var errorNoContainerInfo = errors.New("no available container info")
|
2021-04-24 18:29:05 +02:00
|
|
|
var errorInvalidConfig = errors.New("container configuration missing or invalid")
|
2023-09-16 17:13:41 +02:00
|
|
|
var errorLabelNotFound = errors.New("label was not found in container")
|
2024-01-05 19:12:11 +01:00
|
|
|
|
|
|
|
// ErrorLifecycleSkip is returned by a lifecycle hook when the exit code of the command indicated that it ought to be skipped
|
|
|
|
var ErrorLifecycleSkip = errors.New("skipping container as the pre-update command returned exit code 75 (EX_TEMPFAIL)")
|