*: move "mvcc" to "internal/mvcc"

Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
This commit is contained in:
Gyuho Lee
2018-01-26 11:14:41 -08:00
parent 349a377a67
commit 80d15948bc
100 changed files with 99 additions and 101 deletions

View File

@@ -18,7 +18,7 @@ import (
"context"
v3 "github.com/coreos/etcd/clientv3"
"github.com/coreos/etcd/mvcc/mvccpb"
"github.com/coreos/etcd/internal/mvcc/mvccpb"
)
// Barrier creates a key in etcd to block processes, then deletes the key to

View File

@@ -19,7 +19,7 @@ import (
"errors"
v3 "github.com/coreos/etcd/clientv3"
spb "github.com/coreos/etcd/mvcc/mvccpb"
spb "github.com/coreos/etcd/internal/mvcc/mvccpb"
)
var (

View File

@@ -19,7 +19,7 @@ import (
"github.com/coreos/etcd/clientv3"
"github.com/coreos/etcd/clientv3/concurrency"
"github.com/coreos/etcd/mvcc/mvccpb"
"github.com/coreos/etcd/internal/mvcc/mvccpb"
)
// DoubleBarrier blocks processes on Enter until an expected count enters, then

View File

@@ -19,7 +19,7 @@ import (
"fmt"
v3 "github.com/coreos/etcd/clientv3"
"github.com/coreos/etcd/mvcc/mvccpb"
"github.com/coreos/etcd/internal/mvcc/mvccpb"
)
// PriorityQueue implements a multi-reader, multi-writer distributed queue.

View File

@@ -18,7 +18,7 @@ import (
"context"
v3 "github.com/coreos/etcd/clientv3"
"github.com/coreos/etcd/mvcc/mvccpb"
"github.com/coreos/etcd/internal/mvcc/mvccpb"
)
// Queue implements a multi-reader, multi-writer distributed queue.

View File

@@ -19,7 +19,7 @@ import (
v3 "github.com/coreos/etcd/clientv3"
"github.com/coreos/etcd/clientv3/concurrency"
"github.com/coreos/etcd/mvcc/mvccpb"
"github.com/coreos/etcd/internal/mvcc/mvccpb"
)
type RWMutex struct {

View File

@@ -18,7 +18,7 @@ import (
"context"
"github.com/coreos/etcd/clientv3"
"github.com/coreos/etcd/mvcc/mvccpb"
"github.com/coreos/etcd/internal/mvcc/mvccpb"
)
// WaitEvents waits on a key until it observes the given events and returns the final one.