Merged in refactoring (pull request #2)

Refactoring

Approved-by: Pavel Korotkov
remotes/KirillovDenis/bugfix/681-fix_acl_parsing
Evgeniy Kulikov 2020-07-09 11:49:48 +00:00 committed by Pavel Korotkov
commit 0bdd3e4507
401 changed files with 629 additions and 631 deletions

View File

@ -4,7 +4,7 @@ import (
"context"
"time"
minio "github.com/minio/minio/cmd"
minio "github.com/minio/minio/legacy"
"github.com/minio/minio/neofs/layer"
"github.com/minio/minio/neofs/pool"
"github.com/minio/minio/pkg/auth"

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package cmd
package legacy
import (
"encoding/xml"
@ -23,8 +23,8 @@ import (
"net/url"
"github.com/gorilla/mux"
xhttp "github.com/minio/minio/cmd/http"
"github.com/minio/minio/cmd/logger"
xhttp "github.com/minio/minio/legacy/http"
"github.com/minio/minio/legacy/logger"
"github.com/minio/minio/pkg/bucket/policy"
)

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package cmd
package legacy
import (
"bytes"
@ -26,15 +26,15 @@ import (
"strings"
"github.com/gorilla/mux"
"github.com/minio/minio/cmd/config"
"github.com/minio/minio/cmd/config/cache"
"github.com/minio/minio/cmd/config/etcd"
xldap "github.com/minio/minio/cmd/config/identity/ldap"
"github.com/minio/minio/cmd/config/identity/openid"
"github.com/minio/minio/cmd/config/policy/opa"
"github.com/minio/minio/cmd/config/storageclass"
"github.com/minio/minio/cmd/crypto"
"github.com/minio/minio/cmd/logger"
"github.com/minio/minio/legacy/config"
"github.com/minio/minio/legacy/config/cache"
"github.com/minio/minio/legacy/config/etcd"
xldap "github.com/minio/minio/legacy/config/identity/ldap"
"github.com/minio/minio/legacy/config/identity/openid"
"github.com/minio/minio/legacy/config/policy/opa"
"github.com/minio/minio/legacy/config/storageclass"
"github.com/minio/minio/legacy/crypto"
"github.com/minio/minio/legacy/logger"
"github.com/minio/minio/pkg/auth"
iampolicy "github.com/minio/minio/pkg/iam/policy"
"github.com/minio/minio/pkg/madmin"

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package cmd
package legacy
import (
"context"
@ -24,7 +24,7 @@ import (
"net/http"
"github.com/gorilla/mux"
"github.com/minio/minio/cmd/logger"
"github.com/minio/minio/legacy/logger"
"github.com/minio/minio/pkg/auth"
iampolicy "github.com/minio/minio/pkg/iam/policy"
"github.com/minio/minio/pkg/madmin"

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package cmd
package legacy
import (
"context"
@ -36,12 +36,12 @@ import (
"github.com/gorilla/mux"
"github.com/minio/minio/cmd/config"
"github.com/minio/minio/cmd/config/notify"
"github.com/minio/minio/cmd/crypto"
xhttp "github.com/minio/minio/cmd/http"
"github.com/minio/minio/cmd/logger"
"github.com/minio/minio/cmd/logger/message/log"
"github.com/minio/minio/legacy/config"
"github.com/minio/minio/legacy/config/notify"
"github.com/minio/minio/legacy/crypto"
xhttp "github.com/minio/minio/legacy/http"
"github.com/minio/minio/legacy/logger"
"github.com/minio/minio/legacy/logger/message/log"
"github.com/minio/minio/pkg/auth"
"github.com/minio/minio/pkg/handlers"
iampolicy "github.com/minio/minio/pkg/iam/policy"

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package cmd
package legacy
import (
"bytes"

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package cmd
package legacy
import (
"context"
@ -25,7 +25,7 @@ import (
"sync"
"time"
"github.com/minio/minio/cmd/logger"
"github.com/minio/minio/legacy/logger"
"github.com/minio/minio/pkg/madmin"
)

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package cmd
package legacy
import (
"encoding/json"
@ -22,8 +22,8 @@ import (
"net/http"
"github.com/gorilla/mux"
"github.com/minio/minio/cmd/config"
"github.com/minio/minio/cmd/logger"
"github.com/minio/minio/legacy/config"
"github.com/minio/minio/legacy/logger"
"github.com/minio/minio/pkg/env"
iampolicy "github.com/minio/minio/pkg/iam/policy"
)

View File

@ -14,13 +14,13 @@
* limitations under the License.
*/
package cmd
package legacy
import (
"net/http"
"github.com/gorilla/mux"
"github.com/minio/minio/cmd/config"
"github.com/minio/minio/legacy/config"
"github.com/minio/minio/pkg/env"
"github.com/minio/minio/pkg/madmin"
)

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package cmd
package legacy
import (
"net/http"

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package cmd
package legacy
import (
"encoding/xml"

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package cmd
package legacy
import (
"context"
@ -29,9 +29,9 @@ import (
minio "github.com/minio/minio-go/v6"
"github.com/minio/minio-go/v6/pkg/tags"
"github.com/minio/minio/cmd/config/etcd/dns"
"github.com/minio/minio/cmd/crypto"
"github.com/minio/minio/cmd/logger"
"github.com/minio/minio/legacy/config/etcd/dns"
"github.com/minio/minio/legacy/crypto"
"github.com/minio/minio/legacy/logger"
"github.com/minio/minio/pkg/auth"
"github.com/minio/minio/pkg/bucket/lifecycle"
objectlock "github.com/minio/minio/pkg/bucket/object/lock"

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package cmd
package legacy
import (
"context"
@ -23,7 +23,7 @@ import (
"path/filepath"
"testing"
"github.com/minio/minio/cmd/crypto"
"github.com/minio/minio/legacy/crypto"
"github.com/minio/minio/pkg/hash"
)

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package cmd
package legacy
import (
"bytes"
@ -27,8 +27,8 @@ import (
"strings"
"time"
"github.com/minio/minio/cmd/crypto"
xhttp "github.com/minio/minio/cmd/http"
"github.com/minio/minio/legacy/crypto"
xhttp "github.com/minio/minio/legacy/http"
)
// Returns a hexadecimal representation of time at the

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package cmd
package legacy
import (
"testing"

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package cmd
package legacy
import (
"encoding/base64"

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package cmd
package legacy
import (
"net/url"

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package cmd
package legacy
import (
"context"
@ -27,8 +27,8 @@ import (
"strings"
"time"
xhttp "github.com/minio/minio/cmd/http"
"github.com/minio/minio/cmd/logger"
xhttp "github.com/minio/minio/legacy/http"
"github.com/minio/minio/legacy/logger"
"github.com/minio/minio/pkg/handlers"
)

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package cmd
package legacy
import (
"net/http"

View File

@ -14,13 +14,13 @@
* limitations under the License.
*/
package cmd
package legacy
import (
"net/http"
"github.com/gorilla/mux"
xhttp "github.com/minio/minio/cmd/http"
xhttp "github.com/minio/minio/legacy/http"
)
func newHTTPServerFn() *xhttp.Server {

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package cmd
package legacy
import (
"strings"

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package cmd
package legacy
import (
"fmt"

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package cmd
package legacy
import (
"bytes"
@ -30,9 +30,9 @@ import (
"strings"
"time"
xhttp "github.com/minio/minio/cmd/http"
xjwt "github.com/minio/minio/cmd/jwt"
"github.com/minio/minio/cmd/logger"
xhttp "github.com/minio/minio/legacy/http"
xjwt "github.com/minio/minio/legacy/jwt"
"github.com/minio/minio/legacy/logger"
"github.com/minio/minio/pkg/auth"
objectlock "github.com/minio/minio/pkg/bucket/object/lock"
"github.com/minio/minio/pkg/bucket/policy"

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package cmd
package legacy
import (
"bytes"

View File

@ -14,13 +14,13 @@
* limitations under the License.
*/
package cmd
package legacy
import (
"context"
"time"
"github.com/minio/minio/cmd/logger"
"github.com/minio/minio/legacy/logger"
"github.com/minio/minio/pkg/madmin"
)

View File

@ -14,13 +14,13 @@
* limitations under the License.
*/
package cmd
package legacy
import (
"context"
"time"
"github.com/minio/minio/cmd/logger"
"github.com/minio/minio/legacy/logger"
)
const defaultMonitorNewDiskInterval = time.Minute * 10

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package cmd
package legacy
import (
"bytes"

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package cmd
package legacy
import (
"bytes"
@ -23,7 +23,7 @@ import (
"hash"
"io"
"github.com/minio/minio/cmd/logger"
"github.com/minio/minio/legacy/logger"
)
type errHashMismatch struct {

View File

@ -14,13 +14,13 @@
* limitations under the License.
*/
package cmd
package legacy
import (
"hash"
"io"
"github.com/minio/minio/cmd/logger"
"github.com/minio/minio/legacy/logger"
)
// Implementation to calculate bitrot for the whole file.

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package cmd
package legacy
import (
"errors"
@ -22,7 +22,7 @@ import (
"io"
"github.com/minio/highwayhash"
"github.com/minio/minio/cmd/logger"
"github.com/minio/minio/legacy/logger"
sha256 "github.com/minio/sha256-simd"
"golang.org/x/crypto/blake2b"
)

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package cmd
package legacy
import (
"io"

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package cmd
package legacy
import (
"context"
@ -30,9 +30,9 @@ import (
"github.com/gorilla/mux"
"github.com/minio/minio-go/v6/pkg/set"
xhttp "github.com/minio/minio/cmd/http"
"github.com/minio/minio/cmd/logger"
"github.com/minio/minio/cmd/rest"
xhttp "github.com/minio/minio/legacy/http"
"github.com/minio/minio/legacy/logger"
"github.com/minio/minio/legacy/rest"
)
const (

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package cmd
package legacy
import (
"encoding/xml"
@ -23,7 +23,7 @@ import (
"net/http"
"github.com/gorilla/mux"
"github.com/minio/minio/cmd/logger"
"github.com/minio/minio/legacy/logger"
"github.com/minio/minio/pkg/bucket/policy"
)

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package cmd
package legacy
import (
"errors"

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package cmd
package legacy
import (
"bytes"

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package cmd
package legacy
import (
"encoding/base64"
@ -28,13 +28,12 @@ import (
"strings"
"github.com/gorilla/mux"
"github.com/minio/minio-go/v6/pkg/set"
"github.com/minio/minio-go/v6/pkg/tags"
"github.com/minio/minio/cmd/config/etcd/dns"
"github.com/minio/minio/cmd/crypto"
xhttp "github.com/minio/minio/cmd/http"
"github.com/minio/minio/cmd/logger"
"github.com/minio/minio/legacy/config/etcd/dns"
"github.com/minio/minio/legacy/crypto"
xhttp "github.com/minio/minio/legacy/http"
"github.com/minio/minio/legacy/logger"
objectlock "github.com/minio/minio/pkg/bucket/object/lock"
"github.com/minio/minio/pkg/bucket/policy"
"github.com/minio/minio/pkg/event"

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package cmd
package legacy
import (
"bytes"

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package cmd
package legacy
import (
"encoding/xml"
@ -22,8 +22,8 @@ import (
"net/http"
"github.com/gorilla/mux"
xhttp "github.com/minio/minio/cmd/http"
"github.com/minio/minio/cmd/logger"
xhttp "github.com/minio/minio/legacy/http"
"github.com/minio/minio/legacy/logger"
"github.com/minio/minio/pkg/bucket/lifecycle"
"github.com/minio/minio/pkg/bucket/policy"
)

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package cmd
package legacy
import (
"bytes"

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package cmd
package legacy
import (
"github.com/minio/minio/pkg/bucket/lifecycle"

View File

@ -14,16 +14,15 @@
* limitations under the License.
*/
package cmd
package legacy
import (
"net/http"
"strings"
"github.com/gorilla/mux"
"github.com/minio/minio/cmd/crypto"
"github.com/minio/minio/cmd/logger"
"github.com/minio/minio/legacy/crypto"
"github.com/minio/minio/legacy/logger"
"github.com/minio/minio/pkg/bucket/policy"
)

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package cmd
package legacy
import (
"bytes"

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package cmd
package legacy
import (
"bytes"
@ -27,7 +27,7 @@ import (
"time"
"github.com/minio/minio-go/v6/pkg/tags"
"github.com/minio/minio/cmd/logger"
"github.com/minio/minio/legacy/logger"
bucketsse "github.com/minio/minio/pkg/bucket/encryption"
"github.com/minio/minio/pkg/bucket/lifecycle"
objectlock "github.com/minio/minio/pkg/bucket/object/lock"

View File

@ -1,4 +1,4 @@
package cmd
package legacy
// Code generated by github.com/tinylib/msgp DO NOT EDIT.

View File

@ -1,4 +1,4 @@
package cmd
package legacy
// Code generated by github.com/tinylib/msgp DO NOT EDIT.

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package cmd
package legacy
import (
"encoding/json"
@ -25,8 +25,8 @@ import (
"time"
"github.com/gorilla/mux"
xhttp "github.com/minio/minio/cmd/http"
"github.com/minio/minio/cmd/logger"
xhttp "github.com/minio/minio/legacy/http"
"github.com/minio/minio/legacy/logger"
"github.com/minio/minio/pkg/bucket/policy"
"github.com/minio/minio/pkg/event"
)

View File

@ -14,14 +14,14 @@
* limitations under the License.
*/
package cmd
package legacy
import (
"context"
"math"
"net/http"
"github.com/minio/minio/cmd/logger"
"github.com/minio/minio/legacy/logger"
"github.com/minio/minio/pkg/auth"
objectlock "github.com/minio/minio/pkg/bucket/object/lock"
"github.com/minio/minio/pkg/bucket/policy"

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package cmd
package legacy
import (
"encoding/json"
@ -23,7 +23,7 @@ import (
humanize "github.com/dustin/go-humanize"
"github.com/gorilla/mux"
"github.com/minio/minio/cmd/logger"
"github.com/minio/minio/legacy/logger"
"github.com/minio/minio/pkg/bucket/policy"
)

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package cmd
package legacy
import (
"bytes"

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package cmd
package legacy
import (
"encoding/json"
@ -26,8 +26,8 @@ import (
jsoniter "github.com/json-iterator/go"
miniogopolicy "github.com/minio/minio-go/v6/pkg/policy"
xhttp "github.com/minio/minio/cmd/http"
"github.com/minio/minio/cmd/logger"
xhttp "github.com/minio/minio/legacy/http"
"github.com/minio/minio/legacy/logger"
"github.com/minio/minio/pkg/bucket/policy"
"github.com/minio/minio/pkg/handlers"
)

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package cmd
package legacy
import (
"context"
@ -22,8 +22,8 @@ import (
"fmt"
"time"
"github.com/minio/minio/cmd/config"
"github.com/minio/minio/cmd/logger"
"github.com/minio/minio/legacy/config"
"github.com/minio/minio/legacy/logger"
"github.com/minio/minio/pkg/env"
"github.com/minio/minio/pkg/event"
"github.com/minio/minio/pkg/madmin"

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package cmd
package legacy
// DO NOT EDIT THIS FILE DIRECTLY. These are build-time constants
// set through buildscripts/gen-ldflags.go.

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package cmd
package legacy
import (
"crypto/x509"
@ -29,8 +29,8 @@ import (
dns2 "github.com/miekg/dns"
"github.com/minio/cli"
"github.com/minio/minio-go/v6/pkg/set"
"github.com/minio/minio/cmd/config"
"github.com/minio/minio/cmd/logger"
"github.com/minio/minio/legacy/config"
"github.com/minio/minio/legacy/logger"
"github.com/minio/minio/pkg/auth"
"github.com/minio/minio/pkg/certs"
"github.com/minio/minio/pkg/env"

View File

@ -14,14 +14,14 @@
* limitations under the License.
*/
package cmd
package legacy
import (
"bytes"
"context"
"errors"
"github.com/minio/minio/cmd/logger"
"github.com/minio/minio/legacy/logger"
"github.com/minio/minio/pkg/hash"
)

View File

@ -14,28 +14,28 @@
* limitations under the License.
*/
package cmd
package legacy
import (
"fmt"
"strings"
"sync"
"github.com/minio/minio/cmd/config"
"github.com/minio/minio/cmd/config/api"
"github.com/minio/minio/cmd/config/cache"
"github.com/minio/minio/cmd/config/compress"
"github.com/minio/minio/cmd/config/etcd"
"github.com/minio/minio/cmd/config/etcd/dns"
xldap "github.com/minio/minio/cmd/config/identity/ldap"
"github.com/minio/minio/cmd/config/identity/openid"
"github.com/minio/minio/cmd/config/notify"
"github.com/minio/minio/cmd/config/policy/opa"
"github.com/minio/minio/cmd/config/storageclass"
"github.com/minio/minio/cmd/crypto"
xhttp "github.com/minio/minio/cmd/http"
"github.com/minio/minio/cmd/logger"
"github.com/minio/minio/cmd/logger/target/http"
"github.com/minio/minio/legacy/config"
"github.com/minio/minio/legacy/config/api"
"github.com/minio/minio/legacy/config/cache"
"github.com/minio/minio/legacy/config/compress"
"github.com/minio/minio/legacy/config/etcd"
"github.com/minio/minio/legacy/config/etcd/dns"
xldap "github.com/minio/minio/legacy/config/identity/ldap"
"github.com/minio/minio/legacy/config/identity/openid"
"github.com/minio/minio/legacy/config/notify"
"github.com/minio/minio/legacy/config/policy/opa"
"github.com/minio/minio/legacy/config/storageclass"
"github.com/minio/minio/legacy/crypto"
xhttp "github.com/minio/minio/legacy/http"
"github.com/minio/minio/legacy/logger"
"github.com/minio/minio/legacy/logger/target/http"
"github.com/minio/minio/pkg/env"
"github.com/minio/minio/pkg/madmin"
)

View File

@ -14,14 +14,14 @@
* limitations under the License.
*/
package cmd
package legacy
import (
"context"
"os"
"testing"
"github.com/minio/minio/cmd/config"
"github.com/minio/minio/legacy/config"
)
func TestServerConfig(t *testing.T) {

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package cmd
package legacy
import (
"os"

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package cmd
package legacy
import (
"bytes"
@ -25,8 +25,8 @@ import (
"unicode/utf8"
etcd "github.com/coreos/etcd/clientv3"
"github.com/minio/minio/cmd/config"
"github.com/minio/minio/cmd/logger"
"github.com/minio/minio/legacy/config"
"github.com/minio/minio/legacy/logger"
"github.com/minio/minio/pkg/auth"
"github.com/minio/minio/pkg/madmin"
)

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package cmd
package legacy
import (
"bytes"

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package cmd
package legacy
import (
"bytes"
@ -25,16 +25,16 @@ import (
"path/filepath"
"strings"
"github.com/minio/minio/cmd/config"
"github.com/minio/minio/cmd/config/cache"
"github.com/minio/minio/cmd/config/compress"
xldap "github.com/minio/minio/cmd/config/identity/ldap"
"github.com/minio/minio/cmd/config/identity/openid"
"github.com/minio/minio/cmd/config/notify"
"github.com/minio/minio/cmd/config/policy/opa"
"github.com/minio/minio/cmd/config/storageclass"
"github.com/minio/minio/cmd/crypto"
"github.com/minio/minio/cmd/logger"
"github.com/minio/minio/legacy/config"
"github.com/minio/minio/legacy/config/cache"
"github.com/minio/minio/legacy/config/compress"
xldap "github.com/minio/minio/legacy/config/identity/ldap"
"github.com/minio/minio/legacy/config/identity/openid"
"github.com/minio/minio/legacy/config/notify"
"github.com/minio/minio/legacy/config/policy/opa"
"github.com/minio/minio/legacy/config/storageclass"
"github.com/minio/minio/legacy/crypto"
"github.com/minio/minio/legacy/logger"
"github.com/minio/minio/pkg/auth"
"github.com/minio/minio/pkg/event"
"github.com/minio/minio/pkg/event/target"

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package cmd
package legacy
import (
"fmt"
@ -22,7 +22,7 @@ import (
"os"
"testing"
"github.com/minio/minio/cmd/config"
"github.com/minio/minio/legacy/config"
)
// Test if config v1 is purged

View File

@ -14,21 +14,21 @@
* limitations under the License.
*/
package cmd
package legacy
import (
"sync"
"github.com/minio/minio/cmd/config"
"github.com/minio/minio/cmd/config/cache"
"github.com/minio/minio/cmd/config/compress"
xldap "github.com/minio/minio/cmd/config/identity/ldap"
"github.com/minio/minio/cmd/config/identity/openid"
"github.com/minio/minio/cmd/config/notify"
"github.com/minio/minio/cmd/config/policy/opa"
"github.com/minio/minio/cmd/config/storageclass"
"github.com/minio/minio/cmd/crypto"
"github.com/minio/minio/cmd/logger"
"github.com/minio/minio/legacy/config"
"github.com/minio/minio/legacy/config/cache"
"github.com/minio/minio/legacy/config/compress"
xldap "github.com/minio/minio/legacy/config/identity/ldap"
"github.com/minio/minio/legacy/config/identity/openid"
"github.com/minio/minio/legacy/config/notify"
"github.com/minio/minio/legacy/config/policy/opa"
"github.com/minio/minio/legacy/config/storageclass"
"github.com/minio/minio/legacy/crypto"
"github.com/minio/minio/legacy/logger"
"github.com/minio/minio/pkg/auth"
"github.com/minio/minio/pkg/event/target"
"github.com/minio/minio/pkg/quick"

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package cmd
package legacy
import (
"bytes"
@ -26,7 +26,7 @@ import (
"time"
jsoniter "github.com/json-iterator/go"
"github.com/minio/minio/cmd/config"
"github.com/minio/minio/legacy/config"
"github.com/minio/minio/pkg/madmin"
)

View File

@ -23,7 +23,7 @@ import (
"strings"
"time"
"github.com/minio/minio/cmd/config"
"github.com/minio/minio/legacy/config"
"github.com/minio/minio/pkg/env"
)

View File

@ -16,7 +16,7 @@
package api
import "github.com/minio/minio/cmd/config"
import "github.com/minio/minio/legacy/config"
// Help template for storageclass feature.
var (

View File

@ -22,7 +22,7 @@ import (
"path/filepath"
"strings"
"github.com/minio/minio/cmd/config"
"github.com/minio/minio/legacy/config"
"github.com/minio/minio/pkg/ellipses"
)

View File

@ -16,7 +16,7 @@
package cache
import "github.com/minio/minio/cmd/config"
import "github.com/minio/minio/legacy/config"
// Help template for caching feature.
var (

View File

@ -20,7 +20,7 @@ import (
"fmt"
"strings"
"github.com/minio/minio/cmd/config"
"github.com/minio/minio/legacy/config"
)
const (

View File

@ -20,7 +20,7 @@ import (
"errors"
"strconv"
"github.com/minio/minio/cmd/config"
"github.com/minio/minio/legacy/config"
"github.com/minio/minio/pkg/env"
)

View File

@ -20,7 +20,7 @@ import (
"fmt"
"strings"
"github.com/minio/minio/cmd/config"
"github.com/minio/minio/legacy/config"
"github.com/minio/minio/pkg/env"
)

View File

@ -16,7 +16,7 @@
package compress
import "github.com/minio/minio/cmd/config"
import "github.com/minio/minio/legacy/config"
// Help template for compress feature.
var (

View File

@ -19,7 +19,7 @@ package compress
import (
"strings"
"github.com/minio/minio/cmd/config"
"github.com/minio/minio/legacy/config"
)
// Legacy envs.

View File

@ -24,7 +24,7 @@ import (
"github.com/coreos/etcd/clientv3"
"github.com/coreos/etcd/clientv3/namespace"
"github.com/minio/minio/cmd/config"
"github.com/minio/minio/legacy/config"
"github.com/minio/minio/pkg/env"
xnet "github.com/minio/minio/pkg/net"
)

View File

@ -16,7 +16,7 @@
package etcd
import "github.com/minio/minio/cmd/config"
import "github.com/minio/minio/legacy/config"
// etcd config documented in default config
var (

View File

@ -25,7 +25,7 @@ import (
"strings"
"time"
"github.com/minio/minio/cmd/config"
"github.com/minio/minio/legacy/config"
"github.com/minio/minio/pkg/env"
ldap "gopkg.in/ldap.v3"
)

View File

@ -16,7 +16,7 @@
package ldap
import "github.com/minio/minio/cmd/config"
import "github.com/minio/minio/legacy/config"
// Help template for LDAP identity feature.
var (

View File

@ -16,7 +16,7 @@
package ldap
import "github.com/minio/minio/cmd/config"
import "github.com/minio/minio/legacy/config"
// SetIdentityLDAP - One time migration code needed, for migrating from older config to new for LDAPConfig.
func SetIdentityLDAP(s config.Config, ldapArgs Config) {

Some files were not shown because too many files have changed in this diff Show More