mirror of https://github.com/minio/minio.git
Change all minio-io path to minio
This commit is contained in:
parent
e39de4f603
commit
8d06504068
|
@ -1,8 +1,8 @@
|
|||
### Setup your Minio Github Repository
|
||||
Fork [Minio upstream](https://github.com/Minio-io/minio/fork) source repository to your own personal repository. Copy the URL and pass it to ``go get`` command. Go uses git to clone a copy into your project workspace folder.
|
||||
```sh
|
||||
$ mkdir -p $GOPATH/src/github.com/minio-io
|
||||
$ cd $GOPATH/src/github.com/minio-io
|
||||
$ mkdir -p $GOPATH/src/github.com/minio
|
||||
$ cd $GOPATH/src/github.com/minio
|
||||
$ git clone https://github.com/$USER_ID/minio
|
||||
$ cd minio
|
||||
```
|
||||
|
@ -23,8 +23,8 @@ Building Libraries
|
|||
|
||||
### Setting up git remote as ``upstream``
|
||||
```sh
|
||||
$ cd $GOPATH/src/github.com/minio-io/minio
|
||||
$ git remote add upstream https://github.com/minio-io/minio
|
||||
$ cd $GOPATH/src/github.com/minio/minio
|
||||
$ git remote add upstream https://github.com/minio/minio
|
||||
$ git fetch upstream
|
||||
$ git merge upstream/master
|
||||
...
|
||||
|
|
|
@ -20,9 +20,9 @@ RUN curl -O -s https://storage.googleapis.com/golang/${GOLANG_TARBALL} && \
|
|||
tar -xzf ${GOLANG_TARBALL} -C ${GOROOT%*go*} && \
|
||||
rm ${GOLANG_TARBALL}
|
||||
|
||||
ADD . ${GOPATH}/src/github.com/minio-io/minio
|
||||
ADD . ${GOPATH}/src/github.com/minio/minio
|
||||
|
||||
RUN cd ${GOPATH}/src/github.com/minio-io/minio && \
|
||||
RUN cd ${GOPATH}/src/github.com/minio/minio && \
|
||||
make
|
||||
|
||||
RUN apt-get remove -y build-essential curl git && \
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"ImportPath": "github.com/minio-io/minio",
|
||||
"ImportPath": "github.com/minio/minio",
|
||||
"GoVersion": "go1.4.2",
|
||||
"Packages": [
|
||||
"./..."
|
||||
|
@ -18,11 +18,11 @@
|
|||
"Rev": "660d31f8602b95058fed6833debf113e85350868"
|
||||
},
|
||||
{
|
||||
"ImportPath": "github.com/minio-io/check",
|
||||
"ImportPath": "github.com/minio/check",
|
||||
"Rev": "bc4e66da8cd7ff58a4b9b84301f906352b8f2c94"
|
||||
},
|
||||
{
|
||||
"ImportPath": "github.com/minio-io/cli",
|
||||
"ImportPath": "github.com/minio/cli",
|
||||
"Comment": "1.2.0-110-g111d644",
|
||||
"Rev": "111d6445d384505978aaf5b218ce96d163b73c57"
|
||||
},
|
||||
|
|
|
@ -3,11 +3,11 @@ Instructions
|
|||
|
||||
Install the package with:
|
||||
|
||||
go get github.com/minio-io/check
|
||||
go get github.com/minio/check
|
||||
|
||||
Import it with:
|
||||
|
||||
import "github.com/minio-io/check"
|
||||
import "github.com/minio/check"
|
||||
|
||||
and use _check_ as the package name inside the code.
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
package check_test
|
||||
|
||||
import (
|
||||
. "github.com/minio-io/check"
|
||||
. "github.com/minio/check"
|
||||
"time"
|
||||
)
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@ package check_test
|
|||
|
||||
import (
|
||||
"fmt"
|
||||
"github.com/minio-io/check"
|
||||
"github.com/minio/check"
|
||||
"strings"
|
||||
)
|
||||
|
||||
|
|
|
@ -12,7 +12,7 @@ import (
|
|||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/minio-io/check"
|
||||
"github.com/minio/check"
|
||||
)
|
||||
|
||||
// We count the number of suites run at least to get a vague hint that the
|
||||
|
|
|
@ -2,7 +2,7 @@ package check_test
|
|||
|
||||
import (
|
||||
"errors"
|
||||
"github.com/minio-io/check"
|
||||
"github.com/minio/check"
|
||||
"reflect"
|
||||
"runtime"
|
||||
)
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
package check_test
|
||||
|
||||
import (
|
||||
. "github.com/minio-io/check"
|
||||
. "github.com/minio/check"
|
||||
)
|
||||
|
||||
// -----------------------------------------------------------------------
|
||||
|
|
|
@ -8,7 +8,7 @@ package check_test
|
|||
|
||||
import (
|
||||
"fmt"
|
||||
"github.com/minio-io/check"
|
||||
"github.com/minio/check"
|
||||
"log"
|
||||
"os"
|
||||
"regexp"
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
package check_test
|
||||
|
||||
import (
|
||||
"github.com/minio-io/check"
|
||||
"github.com/minio/check"
|
||||
"os"
|
||||
"reflect"
|
||||
"runtime"
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package check_test
|
||||
|
||||
import (
|
||||
. "github.com/minio-io/check"
|
||||
. "github.com/minio/check"
|
||||
)
|
||||
|
||||
var _ = Suite(&PrinterS{})
|
||||
|
|
|
@ -4,7 +4,7 @@ package check_test
|
|||
|
||||
import (
|
||||
"errors"
|
||||
. "github.com/minio-io/check"
|
||||
. "github.com/minio/check"
|
||||
"os"
|
||||
"sync"
|
||||
)
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
cli.go is simple, fast, and fun package for building command line apps in Go. The goal is to enable developers to write fast and distributable command line applications in an expressive way. - This is a fork of ``github.com/codegangsta/cli`` until our patches get merge upstream
|
||||
|
||||
You can view the API docs here:
|
||||
http://godoc.org/github.com/minio-io/cli
|
||||
http://godoc.org/github.com/minio/cli
|
||||
|
||||
## Overview
|
||||
Command line apps are usually so tiny that there is absolutely no reason why your code should *not* be self-documenting. Things like generating help text and parsing command flags should not hinder productivity when writing a command line app.
|
||||
|
@ -14,7 +14,7 @@ Make sure you have a working Go environment (go 1.1 is *required*). [See the ins
|
|||
|
||||
To install `cli.go`, simply run:
|
||||
```
|
||||
$ go get github.com/minio-io/cli
|
||||
$ go get github.com/minio/cli
|
||||
```
|
||||
|
||||
Make sure your `PATH` includes to the `$GOPATH/bin` directory so your commands can be easily used:
|
||||
|
@ -30,7 +30,7 @@ package main
|
|||
|
||||
import (
|
||||
"os"
|
||||
"github.com/minio-io/cli"
|
||||
"github.com/minio/cli"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
@ -45,7 +45,7 @@ package main
|
|||
|
||||
import (
|
||||
"os"
|
||||
"github.com/minio-io/cli"
|
||||
"github.com/minio/cli"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
@ -73,7 +73,7 @@ package main
|
|||
|
||||
import (
|
||||
"os"
|
||||
"github.com/minio-io/cli"
|
||||
"github.com/minio/cli"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
|
|
@ -6,7 +6,7 @@ import (
|
|||
"os"
|
||||
"testing"
|
||||
|
||||
"github.com/minio-io/cli"
|
||||
"github.com/minio/cli"
|
||||
)
|
||||
|
||||
func ExampleApp() {
|
||||
|
|
|
@ -3,7 +3,7 @@ package cli_test
|
|||
import (
|
||||
"os"
|
||||
|
||||
"github.com/minio-io/cli"
|
||||
"github.com/minio/cli"
|
||||
)
|
||||
|
||||
func Example() {
|
||||
|
|
|
@ -4,7 +4,7 @@ import (
|
|||
"flag"
|
||||
"testing"
|
||||
|
||||
"github.com/minio-io/cli"
|
||||
"github.com/minio/cli"
|
||||
)
|
||||
|
||||
func TestCommandDoNotIgnoreFlags(t *testing.T) {
|
||||
|
|
|
@ -5,7 +5,7 @@ import (
|
|||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/minio-io/cli"
|
||||
"github.com/minio/cli"
|
||||
)
|
||||
|
||||
func TestNewContext(t *testing.T) {
|
||||
|
|
|
@ -7,7 +7,7 @@ import (
|
|||
"strings"
|
||||
"testing"
|
||||
|
||||
"github.com/minio-io/cli"
|
||||
"github.com/minio/cli"
|
||||
)
|
||||
|
||||
var boolFlagTests = []struct {
|
||||
|
|
6
Makefile
6
Makefile
|
@ -6,10 +6,10 @@ checkdeps:
|
|||
|
||||
checkgopath:
|
||||
@echo "Checking if project is at ${GOPATH}"
|
||||
@for mcpath in $(echo ${GOPATH} | sed 's/:/\n/g' | grep -v Godeps); do if [ ! -d ${mcpath}/src/github.com/minio-io/minio ]; then echo "Project not found in ${mcpath}, please follow instructions provided at https://github.com/Minio-io/minio/blob/master/CONTRIBUTING.md#setup-your-minio-github-repository" && exit 1; fi done
|
||||
@for mcpath in $(echo ${GOPATH} | sed 's/:/\n/g' | grep -v Godeps); do if [ ! -d ${mcpath}/src/github.com/minio/minio ]; then echo "Project not found in ${mcpath}, please follow instructions provided at https://github.com/Minio-io/minio/blob/master/CONTRIBUTING.md#setup-your-minio-github-repository" && exit 1; fi done
|
||||
|
||||
getdeps: checkdeps checkgopath
|
||||
@go get github.com/minio-io/godep && echo "Installed godep:"
|
||||
@go get github.com/minio/godep && echo "Installed godep:"
|
||||
@go get github.com/golang/lint/golint && echo "Installed golint:"
|
||||
@go get golang.org/x/tools/cmd/vet && echo "Installed vet:"
|
||||
@go get github.com/fzipp/gocyclo && echo "Installed gocyclo:"
|
||||
|
@ -49,7 +49,7 @@ minio: pre-build build-all test-all
|
|||
|
||||
install: minio
|
||||
@echo "Installing minio:"
|
||||
@godep go install -a -ldflags "-X main.BuildDate `date --universal '+%FT%T.%N%:z'`" github.com/minio-io/minio
|
||||
@godep go install -a -ldflags "-X main.BuildDate `date --universal '+%FT%T.%N%:z'`" github.com/minio/minio
|
||||
|
||||
save: restore
|
||||
@godep save ./...
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
Minio is an open source object storage released under [Apache license v2](./LICENSE) . It uses ``Rubberband Erasure`` coding to dynamically protect the data.
|
||||
Minio's design is inspired by Amazon's S3 for its API and Facebook's Haystack for its immutable data structure.
|
||||
|
||||
[![GoDoc](https://godoc.org/github.com/minio-io/minio?status.svg)](https://godoc.org/github.com/minio-io/minio) [![Build Status](https://travis-ci.org/minio-io/minio.svg)](https://travis-ci.org/minio-io/minio)
|
||||
[![GoDoc](https://godoc.org/github.com/minio/minio?status.svg)](https://godoc.org/github.com/minio/minio) [![Build Status](https://travis-ci.org/minio/minio.svg)](https://travis-ci.org/minio/minio)
|
||||
|
||||
### Join Community
|
||||
* Community hangout on Gitter [![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/Minio-io/minio?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
|
||||
|
|
10
main.go
10
main.go
|
@ -27,11 +27,11 @@ import (
|
|||
"time"
|
||||
|
||||
"github.com/dustin/go-humanize"
|
||||
"github.com/minio-io/cli"
|
||||
"github.com/minio-io/minio/pkg/featureflags"
|
||||
"github.com/minio-io/minio/pkg/iodine"
|
||||
"github.com/minio-io/minio/pkg/server"
|
||||
"github.com/minio-io/minio/pkg/server/httpserver"
|
||||
"github.com/minio/cli"
|
||||
"github.com/minio/minio/pkg/featureflags"
|
||||
"github.com/minio/minio/pkg/iodine"
|
||||
"github.com/minio/minio/pkg/server"
|
||||
"github.com/minio/minio/pkg/server/httpserver"
|
||||
)
|
||||
|
||||
var globalDebugFlag = false
|
||||
|
|
|
@ -21,9 +21,9 @@ import (
|
|||
"strconv"
|
||||
|
||||
"github.com/gorilla/mux"
|
||||
"github.com/minio-io/minio/pkg/iodine"
|
||||
"github.com/minio-io/minio/pkg/storage/drivers"
|
||||
"github.com/minio-io/minio/pkg/utils/log"
|
||||
"github.com/minio/minio/pkg/iodine"
|
||||
"github.com/minio/minio/pkg/storage/drivers"
|
||||
"github.com/minio/minio/pkg/utils/log"
|
||||
)
|
||||
|
||||
func (server *minioAPI) isValidOp(w http.ResponseWriter, req *http.Request, acceptsContentType contentType) bool {
|
||||
|
|
|
@ -22,7 +22,7 @@ import (
|
|||
"strings"
|
||||
"time"
|
||||
|
||||
"github.com/minio-io/minio/pkg/api/config"
|
||||
"github.com/minio/minio/pkg/api/config"
|
||||
)
|
||||
|
||||
type timeHandler struct {
|
||||
|
|
|
@ -24,9 +24,9 @@ import (
|
|||
"encoding/xml"
|
||||
|
||||
"github.com/gorilla/mux"
|
||||
"github.com/minio-io/minio/pkg/iodine"
|
||||
"github.com/minio-io/minio/pkg/storage/drivers"
|
||||
"github.com/minio-io/minio/pkg/utils/log"
|
||||
"github.com/minio/minio/pkg/iodine"
|
||||
"github.com/minio/minio/pkg/storage/drivers"
|
||||
"github.com/minio/minio/pkg/utils/log"
|
||||
)
|
||||
|
||||
const (
|
||||
|
|
|
@ -21,7 +21,7 @@ import (
|
|||
"sort"
|
||||
"strconv"
|
||||
|
||||
"github.com/minio-io/minio/pkg/storage/drivers"
|
||||
"github.com/minio/minio/pkg/storage/drivers"
|
||||
)
|
||||
|
||||
// Reply date format
|
||||
|
|
|
@ -21,12 +21,12 @@ import (
|
|||
"net/http"
|
||||
|
||||
router "github.com/gorilla/mux"
|
||||
"github.com/minio-io/minio/pkg/api/config"
|
||||
"github.com/minio-io/minio/pkg/api/logging"
|
||||
"github.com/minio-io/minio/pkg/api/quota"
|
||||
"github.com/minio-io/minio/pkg/featureflags"
|
||||
"github.com/minio-io/minio/pkg/iodine"
|
||||
"github.com/minio-io/minio/pkg/storage/drivers"
|
||||
"github.com/minio/minio/pkg/api/config"
|
||||
"github.com/minio/minio/pkg/api/logging"
|
||||
"github.com/minio/minio/pkg/api/quota"
|
||||
"github.com/minio/minio/pkg/featureflags"
|
||||
"github.com/minio/minio/pkg/iodine"
|
||||
"github.com/minio/minio/pkg/storage/drivers"
|
||||
)
|
||||
|
||||
// private use
|
||||
|
|
|
@ -32,14 +32,14 @@ import (
|
|||
"net/http"
|
||||
"net/http/httptest"
|
||||
|
||||
"github.com/minio-io/minio/pkg/featureflags"
|
||||
"github.com/minio-io/minio/pkg/storage/drivers"
|
||||
"github.com/minio-io/minio/pkg/storage/drivers/donut"
|
||||
"github.com/minio-io/minio/pkg/storage/drivers/memory"
|
||||
"github.com/minio-io/minio/pkg/storage/drivers/mocks"
|
||||
"github.com/minio/minio/pkg/featureflags"
|
||||
"github.com/minio/minio/pkg/storage/drivers"
|
||||
"github.com/minio/minio/pkg/storage/drivers/donut"
|
||||
"github.com/minio/minio/pkg/storage/drivers/memory"
|
||||
"github.com/minio/minio/pkg/storage/drivers/mocks"
|
||||
"github.com/stretchr/testify/mock"
|
||||
|
||||
. "github.com/minio-io/check"
|
||||
. "github.com/minio/check"
|
||||
)
|
||||
|
||||
func Test(t *testing.T) { TestingT(t) }
|
||||
|
|
|
@ -24,7 +24,7 @@ import (
|
|||
"path"
|
||||
"sync"
|
||||
|
||||
"github.com/minio-io/minio/pkg/iodine"
|
||||
"github.com/minio/minio/pkg/iodine"
|
||||
)
|
||||
|
||||
// Config context
|
||||
|
|
|
@ -23,8 +23,8 @@ import (
|
|||
"sync"
|
||||
"testing"
|
||||
|
||||
. "github.com/minio-io/check"
|
||||
"github.com/minio-io/minio/pkg/utils/crypto/keys"
|
||||
. "github.com/minio/check"
|
||||
"github.com/minio/minio/pkg/utils/crypto/keys"
|
||||
)
|
||||
|
||||
type MySuite struct{}
|
||||
|
|
|
@ -24,7 +24,7 @@ import (
|
|||
"strconv"
|
||||
"time"
|
||||
|
||||
"github.com/minio-io/minio/pkg/storage/drivers"
|
||||
"github.com/minio/minio/pkg/storage/drivers"
|
||||
)
|
||||
|
||||
// No encoder interface exists, so we create one.
|
||||
|
|
|
@ -24,8 +24,8 @@ import (
|
|||
"os"
|
||||
"time"
|
||||
|
||||
"github.com/minio-io/minio/pkg/iodine"
|
||||
"github.com/minio-io/minio/pkg/utils/log"
|
||||
"github.com/minio/minio/pkg/iodine"
|
||||
"github.com/minio/minio/pkg/utils/log"
|
||||
)
|
||||
|
||||
type logHandler struct {
|
||||
|
|
|
@ -25,8 +25,8 @@ import (
|
|||
|
||||
"sync"
|
||||
|
||||
"github.com/minio-io/minio/pkg/iodine"
|
||||
"github.com/minio-io/minio/pkg/utils/log"
|
||||
"github.com/minio/minio/pkg/iodine"
|
||||
"github.com/minio/minio/pkg/utils/log"
|
||||
)
|
||||
|
||||
// bandwidthQuotaHandler
|
||||
|
|
|
@ -21,7 +21,7 @@ import (
|
|||
"net/http"
|
||||
"sync"
|
||||
|
||||
"github.com/minio-io/minio/pkg/utils/log"
|
||||
"github.com/minio/minio/pkg/utils/log"
|
||||
)
|
||||
|
||||
// requestLimitHandler
|
||||
|
|
|
@ -22,7 +22,7 @@ import (
|
|||
"net/http"
|
||||
"time"
|
||||
|
||||
"github.com/minio-io/minio/pkg/utils/log"
|
||||
"github.com/minio/minio/pkg/utils/log"
|
||||
)
|
||||
|
||||
// requestLimitHandler
|
||||
|
|
|
@ -20,7 +20,7 @@ import (
|
|||
"net/url"
|
||||
"strconv"
|
||||
|
||||
"github.com/minio-io/minio/pkg/storage/drivers"
|
||||
"github.com/minio/minio/pkg/storage/drivers"
|
||||
)
|
||||
|
||||
// parse bucket url queries
|
||||
|
|
|
@ -23,10 +23,10 @@ import (
|
|||
"path"
|
||||
|
||||
"github.com/gorilla/mux"
|
||||
"github.com/minio-io/minio/pkg/api/config"
|
||||
"github.com/minio-io/minio/pkg/iodine"
|
||||
"github.com/minio-io/minio/pkg/utils/crypto/keys"
|
||||
"github.com/minio-io/minio/pkg/utils/log"
|
||||
"github.com/minio/minio/pkg/api/config"
|
||||
"github.com/minio/minio/pkg/iodine"
|
||||
"github.com/minio/minio/pkg/utils/crypto/keys"
|
||||
"github.com/minio/minio/pkg/utils/log"
|
||||
)
|
||||
|
||||
const (
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
### Setup your Erasure Github Repository
|
||||
Fork [Erasure upstream](https://github.com/minio-io/erasure/fork) source repository to your own personal repository. Copy the URL and pass it to ``go get`` command. Go uses git to clone a copy into your project workspace folder.
|
||||
Fork [Erasure upstream](https://github.com/minio/erasure/fork) source repository to your own personal repository. Copy the URL and pass it to ``go get`` command. Go uses git to clone a copy into your project workspace folder.
|
||||
```sh
|
||||
$ git clone https://github.com/$USER_ID/erasure
|
||||
$ cd erasure
|
||||
$ mkdir -p ${GOPATH}/src/github.com/minio-io
|
||||
$ ln -s ${PWD} $GOPATH/src/github.com/minio-io/
|
||||
$ mkdir -p ${GOPATH}/src/github.com/minio
|
||||
$ ln -s ${PWD} $GOPATH/src/github.com/minio/
|
||||
```
|
||||
|
||||
### Compiling Erasure from source
|
||||
|
|
|
@ -20,7 +20,7 @@ import (
|
|||
"bytes"
|
||||
"testing"
|
||||
|
||||
. "github.com/minio-io/check"
|
||||
. "github.com/minio/check"
|
||||
)
|
||||
|
||||
type MySuite struct{}
|
||||
|
|
|
@ -19,7 +19,7 @@ package erasure
|
|||
import (
|
||||
"bytes"
|
||||
|
||||
. "github.com/minio-io/check"
|
||||
. "github.com/minio/check"
|
||||
)
|
||||
|
||||
func corruptChunks(chunks [][]byte, errorIndex []int) [][]byte {
|
||||
|
|
|
@ -225,6 +225,6 @@ func init() {
|
|||
_, iodineFile, _, _ := runtime.Caller(0)
|
||||
iodineFile = path.Dir(iodineFile) // trim iodine.go
|
||||
iodineFile = path.Dir(iodineFile) // trim iodine
|
||||
iodineFile = path.Dir(iodineFile) // trim minio-io
|
||||
iodineFile = path.Dir(iodineFile) // trim minio
|
||||
gopath = path.Dir(iodineFile) + "/" // trim github.com
|
||||
}
|
||||
|
|
|
@ -19,7 +19,7 @@ package httpserver
|
|||
import (
|
||||
"net/http"
|
||||
|
||||
"github.com/minio-io/minio/pkg/utils/log"
|
||||
"github.com/minio/minio/pkg/utils/log"
|
||||
)
|
||||
|
||||
// Config - http server config
|
||||
|
|
|
@ -22,13 +22,13 @@ import (
|
|||
"reflect"
|
||||
"time"
|
||||
|
||||
"github.com/minio-io/minio/pkg/api"
|
||||
"github.com/minio-io/minio/pkg/api/web"
|
||||
"github.com/minio-io/minio/pkg/iodine"
|
||||
"github.com/minio-io/minio/pkg/server/httpserver"
|
||||
"github.com/minio-io/minio/pkg/storage/drivers/donut"
|
||||
"github.com/minio-io/minio/pkg/storage/drivers/memory"
|
||||
"github.com/minio-io/minio/pkg/utils/log"
|
||||
"github.com/minio/minio/pkg/api"
|
||||
"github.com/minio/minio/pkg/api/web"
|
||||
"github.com/minio/minio/pkg/iodine"
|
||||
"github.com/minio/minio/pkg/server/httpserver"
|
||||
"github.com/minio/minio/pkg/storage/drivers/donut"
|
||||
"github.com/minio/minio/pkg/storage/drivers/memory"
|
||||
"github.com/minio/minio/pkg/utils/log"
|
||||
)
|
||||
|
||||
// MemoryFactory is used to build memory api servers
|
||||
|
|
|
@ -19,7 +19,7 @@ package donut
|
|||
import (
|
||||
"errors"
|
||||
|
||||
"github.com/minio-io/minio/pkg/iodine"
|
||||
"github.com/minio/minio/pkg/iodine"
|
||||
)
|
||||
|
||||
// donut struct internal data
|
||||
|
|
|
@ -29,7 +29,7 @@ import (
|
|||
"crypto/md5"
|
||||
"encoding/hex"
|
||||
|
||||
"github.com/minio-io/minio/pkg/iodine"
|
||||
"github.com/minio/minio/pkg/iodine"
|
||||
)
|
||||
|
||||
// internal struct carrying bucket specific information
|
||||
|
|
|
@ -29,8 +29,8 @@ import (
|
|||
"strconv"
|
||||
"strings"
|
||||
|
||||
"github.com/minio-io/minio/pkg/iodine"
|
||||
"github.com/minio-io/minio/pkg/utils/split"
|
||||
"github.com/minio/minio/pkg/iodine"
|
||||
"github.com/minio/minio/pkg/utils/split"
|
||||
)
|
||||
|
||||
/// This file contains all the internal functions used by Bucket interface
|
||||
|
|
|
@ -24,7 +24,7 @@ import (
|
|||
|
||||
"io/ioutil"
|
||||
|
||||
"github.com/minio-io/minio/pkg/iodine"
|
||||
"github.com/minio/minio/pkg/iodine"
|
||||
)
|
||||
|
||||
// internal disk struct
|
||||
|
|
|
@ -20,8 +20,8 @@ import (
|
|||
"errors"
|
||||
"strconv"
|
||||
|
||||
encoding "github.com/minio-io/minio/pkg/erasure"
|
||||
"github.com/minio-io/minio/pkg/iodine"
|
||||
encoding "github.com/minio/minio/pkg/erasure"
|
||||
"github.com/minio/minio/pkg/iodine"
|
||||
)
|
||||
|
||||
// encoder internal struct
|
||||
|
|
|
@ -19,7 +19,7 @@ package donut
|
|||
import (
|
||||
"errors"
|
||||
|
||||
"github.com/minio-io/minio/pkg/iodine"
|
||||
"github.com/minio/minio/pkg/iodine"
|
||||
)
|
||||
|
||||
// node struct internal
|
||||
|
|
|
@ -21,7 +21,7 @@ import (
|
|||
"os"
|
||||
"strings"
|
||||
|
||||
"github.com/minio-io/minio/pkg/iodine"
|
||||
"github.com/minio/minio/pkg/iodine"
|
||||
)
|
||||
|
||||
// Rebalance -
|
||||
|
|
|
@ -28,7 +28,7 @@ import (
|
|||
"testing"
|
||||
"time"
|
||||
|
||||
. "github.com/minio-io/check"
|
||||
. "github.com/minio/check"
|
||||
)
|
||||
|
||||
func Test(t *testing.T) { TestingT(t) }
|
||||
|
|
|
@ -5,7 +5,7 @@ import (
|
|||
"errors"
|
||||
"path"
|
||||
|
||||
"github.com/minio-io/minio/pkg/iodine"
|
||||
"github.com/minio/minio/pkg/iodine"
|
||||
)
|
||||
|
||||
// Heal - heal a donut and fix bad data blocks
|
||||
|
|
|
@ -24,7 +24,7 @@ import (
|
|||
"strconv"
|
||||
"strings"
|
||||
|
||||
"github.com/minio-io/minio/pkg/iodine"
|
||||
"github.com/minio/minio/pkg/iodine"
|
||||
)
|
||||
|
||||
// MakeBucket - make a new bucket
|
||||
|
|
|
@ -25,7 +25,7 @@ import (
|
|||
"path"
|
||||
"strings"
|
||||
|
||||
"github.com/minio-io/minio/pkg/iodine"
|
||||
"github.com/minio/minio/pkg/iodine"
|
||||
)
|
||||
|
||||
/// This file contains all the internal functions used by Object interface
|
||||
|
|
|
@ -26,8 +26,8 @@ import (
|
|||
|
||||
"time"
|
||||
|
||||
"github.com/minio-io/check"
|
||||
"github.com/minio-io/minio/pkg/iodine"
|
||||
"github.com/minio/check"
|
||||
"github.com/minio/minio/pkg/iodine"
|
||||
)
|
||||
|
||||
// APITestSuite - collection of API tests
|
||||
|
|
|
@ -31,10 +31,10 @@ import (
|
|||
|
||||
"errors"
|
||||
|
||||
"github.com/minio-io/minio/pkg/iodine"
|
||||
"github.com/minio-io/minio/pkg/storage/donut"
|
||||
"github.com/minio-io/minio/pkg/storage/drivers"
|
||||
"github.com/minio-io/minio/pkg/utils/log"
|
||||
"github.com/minio/minio/pkg/iodine"
|
||||
"github.com/minio/minio/pkg/storage/donut"
|
||||
"github.com/minio/minio/pkg/storage/drivers"
|
||||
"github.com/minio/minio/pkg/utils/log"
|
||||
)
|
||||
|
||||
// donutDriver - creates a new single disk drivers driver using donut
|
||||
|
|
|
@ -21,8 +21,8 @@ import (
|
|||
"os"
|
||||
"testing"
|
||||
|
||||
. "github.com/minio-io/check"
|
||||
"github.com/minio-io/minio/pkg/storage/drivers"
|
||||
. "github.com/minio/check"
|
||||
"github.com/minio/minio/pkg/storage/drivers"
|
||||
)
|
||||
|
||||
func Test(t *testing.T) { TestingT(t) }
|
||||
|
|
|
@ -35,8 +35,8 @@ import (
|
|||
|
||||
"math/rand"
|
||||
|
||||
"github.com/minio-io/minio/pkg/iodine"
|
||||
"github.com/minio-io/minio/pkg/storage/drivers"
|
||||
"github.com/minio/minio/pkg/iodine"
|
||||
"github.com/minio/minio/pkg/storage/drivers"
|
||||
)
|
||||
|
||||
// memoryDriver - local variables
|
||||
|
|
|
@ -20,8 +20,8 @@ import (
|
|||
"testing"
|
||||
"time"
|
||||
|
||||
. "github.com/minio-io/check"
|
||||
"github.com/minio-io/minio/pkg/storage/drivers"
|
||||
. "github.com/minio/check"
|
||||
"github.com/minio/minio/pkg/storage/drivers"
|
||||
)
|
||||
|
||||
func Test(t *testing.T) { TestingT(t) }
|
||||
|
|
|
@ -4,8 +4,8 @@ import (
|
|||
"bytes"
|
||||
"io"
|
||||
|
||||
"github.com/minio-io/minio/pkg/iodine"
|
||||
"github.com/minio-io/minio/pkg/storage/drivers"
|
||||
"github.com/minio/minio/pkg/iodine"
|
||||
"github.com/minio/minio/pkg/storage/drivers"
|
||||
"github.com/stretchr/testify/mock"
|
||||
)
|
||||
|
||||
|
|
|
@ -23,8 +23,8 @@ import (
|
|||
"strings"
|
||||
"testing"
|
||||
|
||||
. "github.com/minio-io/check"
|
||||
"github.com/minio-io/minio/pkg/utils/cpu"
|
||||
. "github.com/minio/check"
|
||||
"github.com/minio/minio/pkg/utils/cpu"
|
||||
)
|
||||
|
||||
func Test(t *testing.T) { TestingT(t) }
|
||||
|
|
|
@ -19,8 +19,8 @@ package keys_test
|
|||
import (
|
||||
"testing"
|
||||
|
||||
. "github.com/minio-io/check"
|
||||
"github.com/minio-io/minio/pkg/utils/crypto/keys"
|
||||
. "github.com/minio/check"
|
||||
"github.com/minio/minio/pkg/utils/crypto/keys"
|
||||
)
|
||||
|
||||
func Test(t *testing.T) { TestingT(t) }
|
||||
|
|
|
@ -5,8 +5,8 @@ import (
|
|||
"encoding/hex"
|
||||
"testing"
|
||||
|
||||
. "github.com/minio-io/check"
|
||||
"github.com/minio-io/minio/pkg/utils/crypto/md5"
|
||||
. "github.com/minio/check"
|
||||
"github.com/minio/minio/pkg/utils/crypto/md5"
|
||||
)
|
||||
|
||||
func Test(t *testing.T) { TestingT(t) }
|
||||
|
|
|
@ -14,7 +14,7 @@ import (
|
|||
"hash"
|
||||
"io"
|
||||
|
||||
"github.com/minio-io/minio/pkg/utils/cpu"
|
||||
"github.com/minio/minio/pkg/utils/cpu"
|
||||
)
|
||||
|
||||
// The size of a SHA1 checksum in bytes.
|
||||
|
|
|
@ -14,7 +14,7 @@ import (
|
|||
"hash"
|
||||
"io"
|
||||
|
||||
"github.com/minio-io/minio/pkg/utils/cpu"
|
||||
"github.com/minio/minio/pkg/utils/cpu"
|
||||
)
|
||||
|
||||
// The size of a SHA1 checksum in bytes.
|
||||
|
|
|
@ -14,7 +14,7 @@ import (
|
|||
"hash"
|
||||
"io"
|
||||
|
||||
"github.com/minio-io/minio/pkg/utils/cpu"
|
||||
"github.com/minio/minio/pkg/utils/cpu"
|
||||
)
|
||||
|
||||
// The size of a SHA256 checksum in bytes.
|
||||
|
|
|
@ -15,7 +15,7 @@ import (
|
|||
"hash"
|
||||
"io"
|
||||
|
||||
"github.com/minio-io/minio/pkg/utils/cpu"
|
||||
"github.com/minio/minio/pkg/utils/cpu"
|
||||
)
|
||||
|
||||
// The size of a SHA512 checksum in bytes.
|
||||
|
|
|
@ -24,8 +24,8 @@ import (
|
|||
"strconv"
|
||||
"testing"
|
||||
|
||||
. "github.com/minio-io/check"
|
||||
"github.com/minio-io/minio/pkg/utils/split"
|
||||
. "github.com/minio/check"
|
||||
"github.com/minio/minio/pkg/utils/split"
|
||||
)
|
||||
|
||||
type MySuite struct{}
|
||||
|
|
Loading…
Reference in New Issue