Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNotImplemented = errors.New("not implemented")
Functions ¶
This section is empty.
Types ¶
type ClusterError ¶
type ClusterError struct { Reason commonerrors.ClusterStatusError Message string }
A more descriptive kind of error that represents an error condition that should be set in the Cluster.Status. The "Reason" field is meant for short, enum-style constants meant to be interpreted by clusters. The "Message" field is meant to be read by humans.
func CreateCluster ¶
func CreateCluster(format string, args ...interface{}) *ClusterError
func DeleteCluster ¶
func DeleteCluster(format string, args ...interface{}) *ClusterError
func InvalidClusterConfiguration ¶
func InvalidClusterConfiguration(format string, args ...interface{}) *ClusterError
func (*ClusterError) Error ¶
func (e *ClusterError) Error() string
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 UpdateMachine ¶
func UpdateMachine(msg string, args ...interface{}) *MachineError
func (*MachineError) Error ¶
func (e *MachineError) Error() string
Click to show internal directories.
Click to hide internal directories.