Documentation ¶
Overview ¶
Package etcd provides conversion of etcd errors to API errors.
Index ¶
- func InterpretCreateError(err error, kind, name string) error
- func InterpretDeleteError(err error, kind, name string) error
- func InterpretGetError(err error, kind, name string) error
- func InterpretResourceVersionError(err error, kind, value string) error
- func InterpretUpdateError(err error, kind, name string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InterpretCreateError ¶
InterpretCreateError converts a generic etcd error on a create operation into the appropriate API error.
func InterpretDeleteError ¶
InterpretDeleteError converts a generic etcd error on a create operation into the appropriate API error.
func InterpretGetError ¶
InterpretGetError converts a generic etcd error on a retrieval operation into the appropriate API error.
func InterpretResourceVersionError ¶
InterpretResourceVersionError returns the appropriate api error for a failure to convert the resource version of an object sent to the API to an etcd uint64 index.
func InterpretUpdateError ¶
InterpretUpdateError converts a generic etcd error on a create operation into the appropriate API error.
Types ¶
This section is empty.