Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInternal = errors.New("internal error") ErrBucketExisted = errors.New("BucketAlreadyExists") )
Functions ¶
This section is empty.
Types ¶
type BucketValidator ¶
BucketValidator is the generic validator for bucket
func NewUniqueBucketValidator ¶
func NewUniqueBucketValidator(keyPrefix string, client *etcd.Client) BucketValidator
NewUniqueBucketValidator is the validator checking if the bucket name is unique
Click to show internal directories.
Click to hide internal directories.