Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var NotImplementedError = fmt.Errorf("not implemented")
Functions ¶
This section is empty.
Types ¶
type MachineError ¶
type MachineError struct {
Reason commonerrors.MachineStatusError
Message string
}
A more descriptive kind of error that represents an error condition that should be set in the Machine.Status. The "Reason" field is meant for short, enum-style constants meant to be interpreted by machines. The "Message" field is meant to be read by humans.
func CreateMachine ¶
func CreateMachine(msg string, args ...interface{}) *MachineError
func DeleteMachine ¶
func DeleteMachine(msg string, args ...interface{}) *MachineError
func InvalidMachineConfiguration ¶
func InvalidMachineConfiguration(msg string, args ...interface{}) *MachineError
func (*MachineError) Error ¶
func (e *MachineError) Error() string
Click to show internal directories.
Click to hide internal directories.