Documentation
¶
Index ¶
- Constants
- func CodeForError(err error) int32
- func HandleError(err error, message string)
- func IsConflict(err error) bool
- func IsNotFound(err error) bool
- func NewInstanceNotUpError(requeueAfter time.Duration) error
- func NewLastDeployInProgressError(requeueAfter time.Duration) error
- func NewTimeIntervalNotReachedError(requeueAfter time.Duration) error
- type HttpError
- type RequeueError
Constants ¶
View Source
const InstanceNotUp = "instance is not up yet"
View Source
const LastDeployInProgress = "last deploy in progress"
View Source
const TimeIntervalNotReached = "time interval not reached"
Variables ¶
This section is empty.
Functions ¶
func CodeForError ¶
CodeForError returns the HTTP status for a particular error.
func HandleError ¶
func IsConflict ¶
func IsNotFound ¶
func NewInstanceNotUpError ¶
Types ¶
type HttpError ¶
type HttpError struct {
// contains filtered or unexported fields
}
func NewConflict ¶
func NewNotFound ¶
type RequeueError ¶
Click to show internal directories.
Click to hide internal directories.