Versions in this module Expand all Collapse all v1 v1.0.5 Aug 24, 2015 Changes in this version + const StatusServerTimeout + const StatusTooManyRequests + const StatusUnprocessableEntity + func FromObject(obj runtime.Object) error + func IsAlreadyExists(err error) bool + func IsBadRequest(err error) bool + func IsConflict(err error) bool + func IsForbidden(err error) bool + func IsInvalid(err error) bool + func IsMethodNotSupported(err error) bool + func IsNotFound(err error) bool + func IsServerTimeout(err error) bool + func IsUnauthorized(err error) bool + func IsUnexpectedObjectError(err error) bool + func IsUnexpectedServerError(err error) bool + func NewAlreadyExists(kind, name string) error + func NewBadRequest(reason string) error + func NewConflict(kind, name string, err error) error + func NewForbidden(kind, name string, err error) error + func NewGenericServerResponse(code int, verb, kind, name, serverMessage string, retryAfterSeconds int, ...) error + func NewInternalError(err error) error + func NewInvalid(kind, name string, errs fielderrors.ValidationErrorList) error + func NewMethodNotSupported(kind, action string) error + func NewNotFound(kind, name string) error + func NewServerTimeout(kind, operation string, retryAfterSeconds int) error + func NewServiceUnavailable(reason string) error + func NewTimeoutError(message string, retryAfterSeconds int) error + func NewUnauthorized(reason string) error + func SuggestsClientDelay(err error) (int, bool) + type StatusError struct + ErrStatus api.Status + func (e *StatusError) DebugError() (string, []interface{}) + func (e *StatusError) Error() string + func (e *StatusError) Status() api.Status + type UnexpectedObjectError struct + Object runtime.Object + func (u *UnexpectedObjectError) Error() string