package etcd
import "k8s.io/kubernetes/pkg/api/errors/etcd"
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
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.
Source Files ¶
doc.go etcd.go
- Version
- v0.4.1
- Published
- Oct 17, 2014
- Platform
- js/wasm
- Imports
- 2 packages
- Last checked
- 5 minutes ago –
Tools for package owners.