Documentation ¶
Overview ¶
Package etcdv3 is the etcd wrapper implementation.
Index ¶
Constants ¶
View Source
const ( ErrCodeKeyNotFound int = iota + 1 ErrCodeKeyExists ErrCodeResourceVersionConflicts ErrCodeInvalidObj ErrCodeUnreachable )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type ErrorDatastoreError ¶
type ErrorDatastoreError struct { Err error Identifier interface{} }
Error indicating a problem connecting to the backend.
func (ErrorDatastoreError) Error ¶
func (e ErrorDatastoreError) Error() string
type EtcdV3Client ¶
type EtcdV3Client struct {
// contains filtered or unexported fields
}
func (*EtcdV3Client) Close ¶
func (c *EtcdV3Client) Close()
type StorageError ¶
func NewKeyExistsError ¶
func NewKeyExistsError(key string, rv int64) *StorageError
func (*StorageError) Error ¶
func (e *StorageError) Error() string
Click to show internal directories.
Click to hide internal directories.