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 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 delete operation into the appropriate API error.
func InterpretGetError ¶
InterpretGetError converts a generic etcd error on a retrieval operation into the appropriate API error.
func InterpretUpdateError ¶
InterpretUpdateError converts a generic etcd error on a update operation into the appropriate API error.
Source Files ¶
doc.go etcd.go
- Version
- v0.19.3
- Published
- Jun 22, 2015
- Platform
- windows/amd64
- Imports
- 2 packages
- Last checked
- 4 minutes ago –
Tools for package owners.