Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrInstanceNotFound tells that the requested instance was not found on the cloud provider ErrInstanceNotFound = errors.New("instance not found") )
Functions ¶
func IsTerminalError ¶ added in v0.2.2
func IsTerminalError(err error) (bool, v1alpha1.MachineStatusError, string)
IsTerminalError is a helper function that helps to determine if a given error is terminal
Types ¶
type TerminalError ¶ added in v0.2.2
type TerminalError struct { Reason v1alpha1.MachineStatusError Message string }
TerminalError is a helper struct that holds errors of type "terminal"
func (TerminalError) Error ¶ added in v0.2.2
func (te TerminalError) Error() string
Click to show internal directories.
Click to hide internal directories.