{"modulePath":"github.com/sub-mod/kubernetes","version":"v0.4.2","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package etcd\n\nPackage etcd provides conversion of etcd errors to API errors.\n\n## Functions\n\n```go\nfunc InterpretCreateError(err error, kind, name string) error\n```\nInterpretCreateError converts a generic etcd error on a create operation into the appropriate API error.\n\n```go\nfunc InterpretDeleteError(err error, kind, name string) error\n```\nInterpretDeleteError converts a generic etcd error on a create operation into the appropriate API error.\n\n```go\nfunc InterpretGetError(err error, kind, name string) error\n```\nInterpretGetError converts a generic etcd error on a retrieval operation into the appropriate API error.\n\n```go\nfunc InterpretResourceVersionError(err error, kind, value string) error\n```\nInterpretResourceVersionError 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.\n\n```go\nfunc InterpretUpdateError(err error, kind, name string) error\n```\nInterpretUpdateError converts a generic etcd error on a create operation into the appropriate API error.\n\n","path":"github.com/sub-mod/kubernetes/pkg/api/errors/etcd","name":"etcd","synopsis":"Package etcd provides conversion of etcd errors to API errors.","isRedistributable":true}
