k3s/vendor/github.com/ibuildthecloud/kvsql/clientv3/driver/client.go
Darren Shepherd fa08d6076c Update vendor
2019-01-11 21:58:27 -07:00

25 lines
468 B
Go

package driver
import (
"errors"
)
var (
ErrExists = errors.New("key exists")
ErrNotExists = errors.New("key and or Revision does not exists")
ErrRevisionMatch = errors.New("revision does not match")
)
type KeyValue struct {
ID int64
Key string
Value []byte
OldValue []byte
OldRevision int64
CreateRevision int64
Revision int64
TTL int64
Version int64
Del int64
}