Change joeslay paths to chrislusf paths
This commit is contained in:
@@ -6,11 +6,11 @@ import (
|
||||
"path/filepath"
|
||||
"strings"
|
||||
|
||||
"github.com/joeslay/seaweedfs/weed/glog"
|
||||
"github.com/joeslay/seaweedfs/weed/pb/filer_pb"
|
||||
"github.com/joeslay/seaweedfs/weed/replication/sink"
|
||||
"github.com/joeslay/seaweedfs/weed/replication/source"
|
||||
"github.com/joeslay/seaweedfs/weed/util"
|
||||
"github.com/chrislusf/seaweedfs/weed/glog"
|
||||
"github.com/chrislusf/seaweedfs/weed/pb/filer_pb"
|
||||
"github.com/chrislusf/seaweedfs/weed/replication/sink"
|
||||
"github.com/chrislusf/seaweedfs/weed/replication/source"
|
||||
"github.com/chrislusf/seaweedfs/weed/util"
|
||||
)
|
||||
|
||||
type Replicator struct {
|
||||
|
||||
@@ -8,12 +8,12 @@ import (
|
||||
"strings"
|
||||
|
||||
"github.com/Azure/azure-storage-blob-go/azblob"
|
||||
"github.com/joeslay/seaweedfs/weed/filer2"
|
||||
"github.com/joeslay/seaweedfs/weed/glog"
|
||||
"github.com/joeslay/seaweedfs/weed/pb/filer_pb"
|
||||
"github.com/joeslay/seaweedfs/weed/replication/sink"
|
||||
"github.com/joeslay/seaweedfs/weed/replication/source"
|
||||
"github.com/joeslay/seaweedfs/weed/util"
|
||||
"github.com/chrislusf/seaweedfs/weed/filer2"
|
||||
"github.com/chrislusf/seaweedfs/weed/glog"
|
||||
"github.com/chrislusf/seaweedfs/weed/pb/filer_pb"
|
||||
"github.com/chrislusf/seaweedfs/weed/replication/sink"
|
||||
"github.com/chrislusf/seaweedfs/weed/replication/source"
|
||||
"github.com/chrislusf/seaweedfs/weed/util"
|
||||
)
|
||||
|
||||
type AzureSink struct {
|
||||
|
||||
@@ -4,11 +4,11 @@ import (
|
||||
"context"
|
||||
"strings"
|
||||
|
||||
"github.com/joeslay/seaweedfs/weed/filer2"
|
||||
"github.com/joeslay/seaweedfs/weed/pb/filer_pb"
|
||||
"github.com/joeslay/seaweedfs/weed/replication/sink"
|
||||
"github.com/joeslay/seaweedfs/weed/replication/source"
|
||||
"github.com/joeslay/seaweedfs/weed/util"
|
||||
"github.com/chrislusf/seaweedfs/weed/filer2"
|
||||
"github.com/chrislusf/seaweedfs/weed/pb/filer_pb"
|
||||
"github.com/chrislusf/seaweedfs/weed/replication/sink"
|
||||
"github.com/chrislusf/seaweedfs/weed/replication/source"
|
||||
"github.com/chrislusf/seaweedfs/weed/util"
|
||||
"github.com/kurin/blazer/b2"
|
||||
)
|
||||
|
||||
|
||||
@@ -7,11 +7,11 @@ import (
|
||||
"strings"
|
||||
"sync"
|
||||
|
||||
"github.com/joeslay/seaweedfs/weed/glog"
|
||||
"github.com/joeslay/seaweedfs/weed/operation"
|
||||
"github.com/joeslay/seaweedfs/weed/pb/filer_pb"
|
||||
"github.com/joeslay/seaweedfs/weed/security"
|
||||
"github.com/joeslay/seaweedfs/weed/util"
|
||||
"github.com/chrislusf/seaweedfs/weed/glog"
|
||||
"github.com/chrislusf/seaweedfs/weed/operation"
|
||||
"github.com/chrislusf/seaweedfs/weed/pb/filer_pb"
|
||||
"github.com/chrislusf/seaweedfs/weed/security"
|
||||
"github.com/chrislusf/seaweedfs/weed/util"
|
||||
)
|
||||
|
||||
func (fs *FilerSink) replicateChunks(ctx context.Context, sourceChunks []*filer_pb.FileChunk) (replicatedChunks []*filer_pb.FileChunk, err error) {
|
||||
|
||||
@@ -3,16 +3,16 @@ package filersink
|
||||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
"github.com/joeslay/seaweedfs/weed/security"
|
||||
"github.com/chrislusf/seaweedfs/weed/security"
|
||||
"github.com/spf13/viper"
|
||||
"google.golang.org/grpc"
|
||||
|
||||
"github.com/joeslay/seaweedfs/weed/filer2"
|
||||
"github.com/joeslay/seaweedfs/weed/glog"
|
||||
"github.com/joeslay/seaweedfs/weed/pb/filer_pb"
|
||||
"github.com/joeslay/seaweedfs/weed/replication/sink"
|
||||
"github.com/joeslay/seaweedfs/weed/replication/source"
|
||||
"github.com/joeslay/seaweedfs/weed/util"
|
||||
"github.com/chrislusf/seaweedfs/weed/filer2"
|
||||
"github.com/chrislusf/seaweedfs/weed/glog"
|
||||
"github.com/chrislusf/seaweedfs/weed/pb/filer_pb"
|
||||
"github.com/chrislusf/seaweedfs/weed/replication/sink"
|
||||
"github.com/chrislusf/seaweedfs/weed/replication/source"
|
||||
"github.com/chrislusf/seaweedfs/weed/util"
|
||||
)
|
||||
|
||||
type FilerSink struct {
|
||||
|
||||
@@ -6,12 +6,12 @@ import (
|
||||
"os"
|
||||
|
||||
"cloud.google.com/go/storage"
|
||||
"github.com/joeslay/seaweedfs/weed/filer2"
|
||||
"github.com/joeslay/seaweedfs/weed/glog"
|
||||
"github.com/joeslay/seaweedfs/weed/pb/filer_pb"
|
||||
"github.com/joeslay/seaweedfs/weed/replication/sink"
|
||||
"github.com/joeslay/seaweedfs/weed/replication/source"
|
||||
"github.com/joeslay/seaweedfs/weed/util"
|
||||
"github.com/chrislusf/seaweedfs/weed/filer2"
|
||||
"github.com/chrislusf/seaweedfs/weed/glog"
|
||||
"github.com/chrislusf/seaweedfs/weed/pb/filer_pb"
|
||||
"github.com/chrislusf/seaweedfs/weed/replication/sink"
|
||||
"github.com/chrislusf/seaweedfs/weed/replication/source"
|
||||
"github.com/chrislusf/seaweedfs/weed/util"
|
||||
"google.golang.org/api/option"
|
||||
)
|
||||
|
||||
|
||||
@@ -2,9 +2,9 @@ package sink
|
||||
|
||||
import (
|
||||
"context"
|
||||
"github.com/joeslay/seaweedfs/weed/pb/filer_pb"
|
||||
"github.com/joeslay/seaweedfs/weed/replication/source"
|
||||
"github.com/joeslay/seaweedfs/weed/util"
|
||||
"github.com/chrislusf/seaweedfs/weed/pb/filer_pb"
|
||||
"github.com/chrislusf/seaweedfs/weed/replication/source"
|
||||
"github.com/chrislusf/seaweedfs/weed/util"
|
||||
)
|
||||
|
||||
type ReplicationSink interface {
|
||||
|
||||
@@ -11,12 +11,12 @@ import (
|
||||
"github.com/aws/aws-sdk-go/aws/session"
|
||||
"github.com/aws/aws-sdk-go/service/s3"
|
||||
"github.com/aws/aws-sdk-go/service/s3/s3iface"
|
||||
"github.com/joeslay/seaweedfs/weed/filer2"
|
||||
"github.com/joeslay/seaweedfs/weed/glog"
|
||||
"github.com/joeslay/seaweedfs/weed/pb/filer_pb"
|
||||
"github.com/joeslay/seaweedfs/weed/replication/sink"
|
||||
"github.com/joeslay/seaweedfs/weed/replication/source"
|
||||
"github.com/joeslay/seaweedfs/weed/util"
|
||||
"github.com/chrislusf/seaweedfs/weed/filer2"
|
||||
"github.com/chrislusf/seaweedfs/weed/glog"
|
||||
"github.com/chrislusf/seaweedfs/weed/pb/filer_pb"
|
||||
"github.com/chrislusf/seaweedfs/weed/replication/sink"
|
||||
"github.com/chrislusf/seaweedfs/weed/replication/source"
|
||||
"github.com/chrislusf/seaweedfs/weed/util"
|
||||
)
|
||||
|
||||
type S3Sink struct {
|
||||
|
||||
@@ -9,10 +9,10 @@ import (
|
||||
"github.com/aws/aws-sdk-go/aws"
|
||||
"github.com/aws/aws-sdk-go/aws/awserr"
|
||||
"github.com/aws/aws-sdk-go/service/s3"
|
||||
"github.com/joeslay/seaweedfs/weed/filer2"
|
||||
"github.com/joeslay/seaweedfs/weed/glog"
|
||||
"github.com/joeslay/seaweedfs/weed/pb/filer_pb"
|
||||
"github.com/joeslay/seaweedfs/weed/util"
|
||||
"github.com/chrislusf/seaweedfs/weed/filer2"
|
||||
"github.com/chrislusf/seaweedfs/weed/glog"
|
||||
"github.com/chrislusf/seaweedfs/weed/pb/filer_pb"
|
||||
"github.com/chrislusf/seaweedfs/weed/util"
|
||||
)
|
||||
|
||||
func (s3sink *S3Sink) deleteObject(key string) error {
|
||||
|
||||
@@ -3,16 +3,16 @@ package source
|
||||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
"github.com/joeslay/seaweedfs/weed/security"
|
||||
"github.com/chrislusf/seaweedfs/weed/security"
|
||||
"github.com/spf13/viper"
|
||||
"google.golang.org/grpc"
|
||||
"io"
|
||||
"net/http"
|
||||
"strings"
|
||||
|
||||
"github.com/joeslay/seaweedfs/weed/glog"
|
||||
"github.com/joeslay/seaweedfs/weed/pb/filer_pb"
|
||||
"github.com/joeslay/seaweedfs/weed/util"
|
||||
"github.com/chrislusf/seaweedfs/weed/glog"
|
||||
"github.com/chrislusf/seaweedfs/weed/pb/filer_pb"
|
||||
"github.com/chrislusf/seaweedfs/weed/util"
|
||||
)
|
||||
|
||||
type ReplicationSource interface {
|
||||
|
||||
@@ -8,9 +8,9 @@ import (
|
||||
"github.com/aws/aws-sdk-go/aws/credentials"
|
||||
"github.com/aws/aws-sdk-go/aws/session"
|
||||
"github.com/aws/aws-sdk-go/service/sqs"
|
||||
"github.com/joeslay/seaweedfs/weed/glog"
|
||||
"github.com/joeslay/seaweedfs/weed/pb/filer_pb"
|
||||
"github.com/joeslay/seaweedfs/weed/util"
|
||||
"github.com/chrislusf/seaweedfs/weed/glog"
|
||||
"github.com/chrislusf/seaweedfs/weed/pb/filer_pb"
|
||||
"github.com/chrislusf/seaweedfs/weed/util"
|
||||
"github.com/golang/protobuf/proto"
|
||||
)
|
||||
|
||||
|
||||
@@ -3,9 +3,9 @@ package sub
|
||||
import (
|
||||
"context"
|
||||
|
||||
"github.com/joeslay/seaweedfs/weed/glog"
|
||||
"github.com/joeslay/seaweedfs/weed/pb/filer_pb"
|
||||
"github.com/joeslay/seaweedfs/weed/util"
|
||||
"github.com/chrislusf/seaweedfs/weed/glog"
|
||||
"github.com/chrislusf/seaweedfs/weed/pb/filer_pb"
|
||||
"github.com/chrislusf/seaweedfs/weed/util"
|
||||
"github.com/golang/protobuf/proto"
|
||||
"gocloud.dev/pubsub"
|
||||
_ "gocloud.dev/pubsub/awssnssqs"
|
||||
|
||||
@@ -6,9 +6,9 @@ import (
|
||||
"os"
|
||||
|
||||
"cloud.google.com/go/pubsub"
|
||||
"github.com/joeslay/seaweedfs/weed/glog"
|
||||
"github.com/joeslay/seaweedfs/weed/pb/filer_pb"
|
||||
"github.com/joeslay/seaweedfs/weed/util"
|
||||
"github.com/chrislusf/seaweedfs/weed/glog"
|
||||
"github.com/chrislusf/seaweedfs/weed/pb/filer_pb"
|
||||
"github.com/chrislusf/seaweedfs/weed/util"
|
||||
"github.com/golang/protobuf/proto"
|
||||
"google.golang.org/api/option"
|
||||
)
|
||||
|
||||
@@ -8,9 +8,9 @@ import (
|
||||
"time"
|
||||
|
||||
"github.com/Shopify/sarama"
|
||||
"github.com/joeslay/seaweedfs/weed/glog"
|
||||
"github.com/joeslay/seaweedfs/weed/pb/filer_pb"
|
||||
"github.com/joeslay/seaweedfs/weed/util"
|
||||
"github.com/chrislusf/seaweedfs/weed/glog"
|
||||
"github.com/chrislusf/seaweedfs/weed/pb/filer_pb"
|
||||
"github.com/chrislusf/seaweedfs/weed/util"
|
||||
"github.com/golang/protobuf/proto"
|
||||
)
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
package sub
|
||||
|
||||
import (
|
||||
"github.com/joeslay/seaweedfs/weed/pb/filer_pb"
|
||||
"github.com/joeslay/seaweedfs/weed/util"
|
||||
"github.com/chrislusf/seaweedfs/weed/pb/filer_pb"
|
||||
"github.com/chrislusf/seaweedfs/weed/util"
|
||||
)
|
||||
|
||||
type NotificationInput interface {
|
||||
|
||||
Reference in New Issue
Block a user