Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ImageMissingErr ¶
type ImageMissingErr struct{}
ImageMissingErr is returned when the ExecutionContext passed to NewContainerProcess doesn't contain tke key "image"
To fix this, ensure that a container image is set
func (ImageMissingErr) Error ¶
func (e ImageMissingErr) Error() string
Error implements the error interface and returns a contextual message
This error, while simple and (at least on the face of it) an over-engineered version of fmt.Errorf("container image missing"), is verbosely implemented so that callers may use errors.Is(err, orchestrator.ContainerImageMissingErr) to handle error cases better
type NonZeroExit ¶
type NonZeroExit int64
NonZeroExit is returned when the container exists with anything other than exit code 0
Container logs should shed light on what went wrong
func (NonZeroExit) Error ¶
func (e NonZeroExit) Error() string
Error returns the error message associated with this error