Versions in this module Expand all Collapse all v1 v1.4.0 Oct 17, 2016 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 SuggestsClientDelay(err error) (int, bool) + type APIStatus interface + Status func() unversioned.Status + type StatusError struct + ErrStatus unversioned.Status + func NewAlreadyExists(qualifiedResource unversioned.GroupResource, name string) *StatusError + func NewBadRequest(reason string) *StatusError + func NewConflict(qualifiedResource unversioned.GroupResource, name string, err error) *StatusError + func NewForbidden(qualifiedResource unversioned.GroupResource, name string, err error) *StatusError + func NewGenericServerResponse(code int, verb string, qualifiedResource unversioned.GroupResource, ...) *StatusError + func NewGone(message string) *StatusError + func NewInternalError(err error) *StatusError + func NewInvalid(qualifiedKind unversioned.GroupKind, name string, errs field.ErrorList) *StatusError + func NewMethodNotSupported(qualifiedResource unversioned.GroupResource, action string) *StatusError + func NewNotFound(qualifiedResource unversioned.GroupResource, name string) *StatusError + func NewServerTimeout(qualifiedResource unversioned.GroupResource, operation string, ...) *StatusError + func NewServerTimeoutForKind(qualifiedKind unversioned.GroupKind, operation string, retryAfterSeconds int) *StatusError + func NewServiceUnavailable(reason string) *StatusError + func NewTimeoutError(message string, retryAfterSeconds int) *StatusError + func NewUnauthorized(reason string) *StatusError + func (e *StatusError) DebugError() (string, []interface{}) + func (e *StatusError) Error() string + func (e *StatusError) Status() unversioned.Status + type UnexpectedObjectError struct + Object runtime.Object + func (u *UnexpectedObjectError) Error() string