Bump up madmin-go and pkg deps (#17469)

This commit is contained in:
Aditya Manthramurthy 2023-06-19 17:53:08 -07:00 committed by GitHub
parent bbb7ae156c
commit 5a1612fe32
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
110 changed files with 116 additions and 113 deletions

View File

@ -27,7 +27,7 @@ import (
"os" "os"
"time" "time"
"github.com/minio/madmin-go/v2" "github.com/minio/madmin-go/v3"
) )
func main() { func main() {

View File

@ -32,7 +32,7 @@ import (
jsoniter "github.com/json-iterator/go" jsoniter "github.com/json-iterator/go"
"github.com/klauspost/compress/zip" "github.com/klauspost/compress/zip"
"github.com/minio/kes-go" "github.com/minio/kes-go"
"github.com/minio/madmin-go/v2" "github.com/minio/madmin-go/v3"
"github.com/minio/minio-go/v7/pkg/tags" "github.com/minio/minio-go/v7/pkg/tags"
"github.com/minio/minio/internal/bucket/lifecycle" "github.com/minio/minio/internal/bucket/lifecycle"
objectlock "github.com/minio/minio/internal/bucket/object/lock" objectlock "github.com/minio/minio/internal/bucket/object/lock"

View File

@ -24,7 +24,7 @@ import (
"net/http" "net/http"
"github.com/minio/kes-go" "github.com/minio/kes-go"
"github.com/minio/madmin-go/v2" "github.com/minio/madmin-go/v3"
"github.com/minio/minio/internal/auth" "github.com/minio/minio/internal/auth"
"github.com/minio/minio/internal/config" "github.com/minio/minio/internal/config"
iampolicy "github.com/minio/pkg/iam/policy" iampolicy "github.com/minio/pkg/iam/policy"

View File

@ -26,7 +26,7 @@ import (
"strconv" "strconv"
"strings" "strings"
"github.com/minio/madmin-go/v2" "github.com/minio/madmin-go/v3"
"github.com/minio/minio/internal/config" "github.com/minio/minio/internal/config"
"github.com/minio/minio/internal/config/cache" "github.com/minio/minio/internal/config/cache"
"github.com/minio/minio/internal/config/etcd" "github.com/minio/minio/internal/config/etcd"

View File

@ -26,7 +26,7 @@ import (
"net/http" "net/http"
"strings" "strings"
"github.com/minio/madmin-go/v2" "github.com/minio/madmin-go/v3"
"github.com/minio/minio-go/v7/pkg/set" "github.com/minio/minio-go/v7/pkg/set"
"github.com/minio/minio/internal/config" "github.com/minio/minio/internal/config"
cfgldap "github.com/minio/minio/internal/config/identity/ldap" cfgldap "github.com/minio/minio/internal/config/identity/ldap"

View File

@ -22,7 +22,7 @@ import (
"io" "io"
"net/http" "net/http"
"github.com/minio/madmin-go/v2" "github.com/minio/madmin-go/v3"
"github.com/minio/minio/internal/logger" "github.com/minio/minio/internal/logger"
"github.com/minio/mux" "github.com/minio/mux"
iampolicy "github.com/minio/pkg/iam/policy" iampolicy "github.com/minio/pkg/iam/policy"

View File

@ -26,7 +26,7 @@ import (
"strings" "strings"
"time" "time"
"github.com/minio/madmin-go/v2" "github.com/minio/madmin-go/v3"
"github.com/minio/mux" "github.com/minio/mux"
"github.com/minio/minio/internal/logger" "github.com/minio/minio/internal/logger"

View File

@ -30,7 +30,7 @@ import (
"testing" "testing"
"time" "time"
"github.com/minio/madmin-go/v2" "github.com/minio/madmin-go/v3"
minio "github.com/minio/minio-go/v7" minio "github.com/minio/minio-go/v7"
"github.com/minio/pkg/sync/errgroup" "github.com/minio/pkg/sync/errgroup"
) )

View File

@ -30,7 +30,7 @@ import (
"time" "time"
"github.com/klauspost/compress/zip" "github.com/klauspost/compress/zip"
"github.com/minio/madmin-go/v2" "github.com/minio/madmin-go/v3"
"github.com/minio/minio/internal/auth" "github.com/minio/minio/internal/auth"
"github.com/minio/minio/internal/config/dns" "github.com/minio/minio/internal/config/dns"
"github.com/minio/minio/internal/logger" "github.com/minio/minio/internal/logger"

View File

@ -33,7 +33,7 @@ import (
"testing" "testing"
"time" "time"
"github.com/minio/madmin-go/v2" "github.com/minio/madmin-go/v3"
"github.com/minio/minio-go/v7" "github.com/minio/minio-go/v7"
"github.com/minio/minio-go/v7/pkg/credentials" "github.com/minio/minio-go/v7/pkg/credentials"
cr "github.com/minio/minio-go/v7/pkg/credentials" cr "github.com/minio/minio-go/v7/pkg/credentials"

View File

@ -45,8 +45,8 @@ import (
"github.com/dustin/go-humanize" "github.com/dustin/go-humanize"
"github.com/klauspost/compress/zip" "github.com/klauspost/compress/zip"
"github.com/minio/madmin-go/v2" "github.com/minio/madmin-go/v3"
"github.com/minio/madmin-go/v2/estream" "github.com/minio/madmin-go/v3/estream"
"github.com/minio/minio-go/v7/pkg/set" "github.com/minio/minio-go/v7/pkg/set"
"github.com/minio/minio/internal/dsync" "github.com/minio/minio/internal/dsync"
"github.com/minio/minio/internal/handlers" "github.com/minio/minio/internal/handlers"

View File

@ -31,7 +31,7 @@ import (
"testing" "testing"
"time" "time"
"github.com/minio/madmin-go/v2" "github.com/minio/madmin-go/v3"
"github.com/minio/minio/internal/auth" "github.com/minio/minio/internal/auth"
"github.com/minio/mux" "github.com/minio/mux"
) )

View File

@ -27,7 +27,7 @@ import (
"sync" "sync"
"time" "time"
"github.com/minio/madmin-go/v2" "github.com/minio/madmin-go/v3"
"github.com/minio/minio/internal/logger" "github.com/minio/minio/internal/logger"
) )

View File

@ -22,7 +22,7 @@ import (
"github.com/klauspost/compress/gzhttp" "github.com/klauspost/compress/gzhttp"
"github.com/klauspost/compress/gzip" "github.com/klauspost/compress/gzip"
"github.com/minio/madmin-go/v2" "github.com/minio/madmin-go/v3"
"github.com/minio/minio/internal/logger" "github.com/minio/minio/internal/logger"
"github.com/minio/mux" "github.com/minio/mux"
) )

View File

@ -26,7 +26,7 @@ import (
"strings" "strings"
"time" "time"
"github.com/minio/madmin-go/v2" "github.com/minio/madmin-go/v3"
"github.com/minio/minio/internal/config" "github.com/minio/minio/internal/config"
"github.com/minio/minio/internal/kms" "github.com/minio/minio/internal/kms"
"github.com/minio/minio/internal/logger" "github.com/minio/minio/internal/logger"

View File

@ -31,7 +31,7 @@ import (
"github.com/minio/minio/internal/ioutil" "github.com/minio/minio/internal/ioutil"
"google.golang.org/api/googleapi" "google.golang.org/api/googleapi"
"github.com/minio/madmin-go/v2" "github.com/minio/madmin-go/v3"
"github.com/minio/minio-go/v7" "github.com/minio/minio-go/v7"
"github.com/minio/minio-go/v7/pkg/tags" "github.com/minio/minio-go/v7/pkg/tags"
"github.com/minio/minio/internal/auth" "github.com/minio/minio/internal/auth"

View File

@ -24,7 +24,7 @@ import (
"strconv" "strconv"
"time" "time"
"github.com/minio/madmin-go/v2" "github.com/minio/madmin-go/v3"
"github.com/minio/minio/internal/logger" "github.com/minio/minio/internal/logger"
"github.com/minio/pkg/env" "github.com/minio/pkg/env"
) )

View File

@ -30,7 +30,7 @@ import (
"time" "time"
"github.com/dustin/go-humanize" "github.com/dustin/go-humanize"
"github.com/minio/madmin-go/v2" "github.com/minio/madmin-go/v3"
"github.com/minio/minio-go/v7/pkg/set" "github.com/minio/minio-go/v7/pkg/set"
"github.com/minio/minio/internal/config" "github.com/minio/minio/internal/config"
"github.com/minio/minio/internal/logger" "github.com/minio/minio/internal/logger"

View File

@ -37,7 +37,7 @@ import (
"github.com/dustin/go-humanize" "github.com/dustin/go-humanize"
"github.com/lithammer/shortuuid/v4" "github.com/lithammer/shortuuid/v4"
"github.com/minio/madmin-go/v2" "github.com/minio/madmin-go/v3"
"github.com/minio/minio-go/v7" "github.com/minio/minio-go/v7"
miniogo "github.com/minio/minio-go/v7" miniogo "github.com/minio/minio-go/v7"
"github.com/minio/minio-go/v7/pkg/credentials" "github.com/minio/minio-go/v7/pkg/credentials"

View File

@ -23,7 +23,7 @@ import (
"sync" "sync"
"time" "time"
"github.com/minio/madmin-go/v2" "github.com/minio/madmin-go/v3"
"github.com/minio/minio/internal/pubsub" "github.com/minio/minio/internal/pubsub"
) )

View File

@ -26,7 +26,7 @@ import (
"net/http" "net/http"
"github.com/minio/kes-go" "github.com/minio/kes-go"
"github.com/minio/madmin-go/v2" "github.com/minio/madmin-go/v3"
"github.com/minio/minio/internal/kms" "github.com/minio/minio/internal/kms"
"github.com/minio/minio/internal/logger" "github.com/minio/minio/internal/logger"
"github.com/minio/mux" "github.com/minio/mux"

View File

@ -41,7 +41,7 @@ import (
"github.com/minio/mux" "github.com/minio/mux"
"github.com/valyala/bytebufferpool" "github.com/valyala/bytebufferpool"
"github.com/minio/madmin-go/v2" "github.com/minio/madmin-go/v3"
"github.com/minio/minio-go/v7" "github.com/minio/minio-go/v7"
"github.com/minio/minio-go/v7/pkg/set" "github.com/minio/minio-go/v7/pkg/set"
"github.com/minio/minio-go/v7/pkg/tags" "github.com/minio/minio-go/v7/pkg/tags"

View File

@ -32,7 +32,7 @@ import (
"time" "time"
"github.com/google/uuid" "github.com/google/uuid"
"github.com/minio/madmin-go/v2" "github.com/minio/madmin-go/v3"
"github.com/minio/minio-go/v7/pkg/tags" "github.com/minio/minio-go/v7/pkg/tags"
"github.com/minio/minio/internal/amztime" "github.com/minio/minio/internal/amztime"
sse "github.com/minio/minio/internal/bucket/encryption" sse "github.com/minio/minio/internal/bucket/encryption"

View File

@ -25,7 +25,7 @@ import (
"sync" "sync"
"time" "time"
"github.com/minio/madmin-go/v2" "github.com/minio/madmin-go/v3"
"github.com/minio/minio-go/v7/pkg/set" "github.com/minio/minio-go/v7/pkg/set"
"github.com/minio/minio-go/v7/pkg/tags" "github.com/minio/minio-go/v7/pkg/tags"
bucketsse "github.com/minio/minio/internal/bucket/encryption" bucketsse "github.com/minio/minio/internal/bucket/encryption"

View File

@ -29,7 +29,7 @@ import (
"path" "path"
"time" "time"
"github.com/minio/madmin-go/v2" "github.com/minio/madmin-go/v3"
"github.com/minio/minio-go/v7/pkg/tags" "github.com/minio/minio-go/v7/pkg/tags"
bucketsse "github.com/minio/minio/internal/bucket/encryption" bucketsse "github.com/minio/minio/internal/bucket/encryption"
"github.com/minio/minio/internal/bucket/lifecycle" "github.com/minio/minio/internal/bucket/lifecycle"

View File

@ -24,7 +24,7 @@ import (
"net/http" "net/http"
humanize "github.com/dustin/go-humanize" humanize "github.com/dustin/go-humanize"
"github.com/minio/madmin-go/v2" "github.com/minio/madmin-go/v3"
"github.com/minio/minio/internal/logger" "github.com/minio/minio/internal/logger"
"github.com/minio/mux" "github.com/minio/mux"
"github.com/minio/pkg/bucket/policy" "github.com/minio/pkg/bucket/policy"

View File

@ -24,7 +24,7 @@ import (
"fmt" "fmt"
"time" "time"
"github.com/minio/madmin-go/v2" "github.com/minio/madmin-go/v3"
"github.com/minio/minio/internal/logger" "github.com/minio/minio/internal/logger"
) )

View File

@ -28,7 +28,7 @@ import (
"sync" "sync"
"time" "time"
"github.com/minio/madmin-go/v2" "github.com/minio/madmin-go/v3"
"github.com/minio/minio/internal/bucket/replication" "github.com/minio/minio/internal/bucket/replication"
xhttp "github.com/minio/minio/internal/http" xhttp "github.com/minio/minio/internal/http"
) )

View File

@ -35,7 +35,7 @@ import (
"time" "time"
"github.com/dustin/go-humanize" "github.com/dustin/go-humanize"
"github.com/minio/madmin-go/v2" "github.com/minio/madmin-go/v3"
"github.com/minio/minio-go/v7" "github.com/minio/minio-go/v7"
"github.com/minio/minio-go/v7/pkg/encrypt" "github.com/minio/minio-go/v7/pkg/encrypt"
"github.com/minio/minio-go/v7/pkg/tags" "github.com/minio/minio-go/v7/pkg/tags"

View File

@ -24,7 +24,7 @@ import (
"testing" "testing"
"time" "time"
"github.com/minio/madmin-go/v2" "github.com/minio/madmin-go/v3"
"github.com/minio/minio/internal/bucket/replication" "github.com/minio/minio/internal/bucket/replication"
xhttp "github.com/minio/minio/internal/http" xhttp "github.com/minio/minio/internal/http"
) )

View File

@ -25,7 +25,7 @@ import (
"time" "time"
jsoniter "github.com/json-iterator/go" jsoniter "github.com/json-iterator/go"
"github.com/minio/madmin-go/v2" "github.com/minio/madmin-go/v3"
"github.com/minio/minio-go/v7" "github.com/minio/minio-go/v7"
"github.com/minio/minio-go/v7/pkg/credentials" "github.com/minio/minio-go/v7/pkg/credentials"
"github.com/minio/minio/internal/bucket/replication" "github.com/minio/minio/internal/bucket/replication"

View File

@ -24,7 +24,7 @@ import (
"net/http" "net/http"
humanize "github.com/dustin/go-humanize" humanize "github.com/dustin/go-humanize"
"github.com/minio/madmin-go/v2" "github.com/minio/madmin-go/v3"
"github.com/minio/minio/internal/bucket/versioning" "github.com/minio/minio/internal/bucket/versioning"
"github.com/minio/minio/internal/logger" "github.com/minio/minio/internal/logger"
"github.com/minio/mux" "github.com/minio/mux"

View File

@ -28,7 +28,7 @@ import (
"net/url" "net/url"
"time" "time"
"github.com/minio/madmin-go/v2" "github.com/minio/madmin-go/v3"
"github.com/minio/minio/internal/logger" "github.com/minio/minio/internal/logger"
) )

View File

@ -52,7 +52,7 @@ import (
"github.com/minio/console/restapi" "github.com/minio/console/restapi"
"github.com/minio/console/restapi/operations" "github.com/minio/console/restapi/operations"
"github.com/minio/kes-go" "github.com/minio/kes-go"
"github.com/minio/madmin-go/v2" "github.com/minio/madmin-go/v3"
"github.com/minio/minio-go/v7" "github.com/minio/minio-go/v7"
"github.com/minio/minio-go/v7/pkg/credentials" "github.com/minio/minio-go/v7/pkg/credentials"
"github.com/minio/minio-go/v7/pkg/set" "github.com/minio/minio-go/v7/pkg/set"

View File

@ -24,7 +24,7 @@ import (
"strings" "strings"
"sync" "sync"
"github.com/minio/madmin-go/v2" "github.com/minio/madmin-go/v3"
"github.com/minio/minio/internal/config" "github.com/minio/minio/internal/config"
"github.com/minio/minio/internal/config/api" "github.com/minio/minio/internal/config/api"
"github.com/minio/minio/internal/config/cache" "github.com/minio/minio/internal/config/cache"

View File

@ -21,7 +21,7 @@ import (
"bytes" "bytes"
"testing" "testing"
"github.com/minio/madmin-go/v2" "github.com/minio/madmin-go/v3"
"github.com/minio/minio/internal/auth" "github.com/minio/minio/internal/auth"
) )

View File

@ -27,7 +27,7 @@ import (
"strings" "strings"
jsoniter "github.com/json-iterator/go" jsoniter "github.com/json-iterator/go"
"github.com/minio/madmin-go/v2" "github.com/minio/madmin-go/v3"
"github.com/minio/minio/internal/config" "github.com/minio/minio/internal/config"
"github.com/minio/minio/internal/kms" "github.com/minio/minio/internal/kms"
) )

View File

@ -23,7 +23,7 @@ import (
"sync" "sync"
"sync/atomic" "sync/atomic"
"github.com/minio/madmin-go/v2" "github.com/minio/madmin-go/v3"
"github.com/minio/minio/internal/logger" "github.com/minio/minio/internal/logger"
"github.com/minio/minio/internal/logger/target/console" "github.com/minio/minio/internal/logger/target/console"
"github.com/minio/minio/internal/logger/target/types" "github.com/minio/minio/internal/logger/target/types"

View File

@ -7,7 +7,7 @@ import (
"time" "time"
"unsafe" "unsafe"
"github.com/minio/madmin-go/v2" "github.com/minio/madmin-go/v3"
"github.com/minio/minio/internal/bucket/lifecycle" "github.com/minio/minio/internal/bucket/lifecycle"
) )

View File

@ -34,7 +34,7 @@ import (
"time" "time"
"github.com/dustin/go-humanize" "github.com/dustin/go-humanize"
"github.com/minio/madmin-go/v2" "github.com/minio/madmin-go/v3"
"github.com/minio/minio/internal/bucket/lifecycle" "github.com/minio/minio/internal/bucket/lifecycle"
"github.com/minio/minio/internal/bucket/object/lock" "github.com/minio/minio/internal/bucket/object/lock"
"github.com/minio/minio/internal/bucket/replication" "github.com/minio/minio/internal/bucket/replication"

View File

@ -33,7 +33,7 @@ import (
"github.com/cespare/xxhash/v2" "github.com/cespare/xxhash/v2"
"github.com/klauspost/compress/zstd" "github.com/klauspost/compress/zstd"
"github.com/minio/madmin-go/v2" "github.com/minio/madmin-go/v3"
"github.com/minio/minio/internal/bucket/lifecycle" "github.com/minio/minio/internal/bucket/lifecycle"
"github.com/minio/minio/internal/hash" "github.com/minio/minio/internal/hash"
"github.com/minio/minio/internal/logger" "github.com/minio/minio/internal/logger"

View File

@ -21,7 +21,7 @@ import (
"sort" "sort"
"time" "time"
"github.com/minio/madmin-go/v2" "github.com/minio/madmin-go/v3"
) )
// BucketTargetUsageInfo - bucket target usage info provides // BucketTargetUsageInfo - bucket target usage info provides

View File

@ -22,7 +22,7 @@ import (
"context" "context"
"time" "time"
"github.com/minio/madmin-go/v2" "github.com/minio/madmin-go/v3"
) )
func commonETags(etags []string) (etag string, maxima int) { func commonETags(etags []string) (etag string, maxima int) {

View File

@ -27,7 +27,7 @@ import (
"testing" "testing"
"time" "time"
"github.com/minio/madmin-go/v2" "github.com/minio/madmin-go/v3"
) )
// Returns the latest updated FileInfo files and error in case of failure. // Returns the latest updated FileInfo files and error in case of failure.

View File

@ -26,7 +26,7 @@ import (
"sync" "sync"
"time" "time"
"github.com/minio/madmin-go/v2" "github.com/minio/madmin-go/v3"
"github.com/minio/minio/internal/logger" "github.com/minio/minio/internal/logger"
"github.com/minio/pkg/sync/errgroup" "github.com/minio/pkg/sync/errgroup"
) )

View File

@ -32,7 +32,7 @@ import (
"github.com/dustin/go-humanize" "github.com/dustin/go-humanize"
uuid2 "github.com/google/uuid" uuid2 "github.com/google/uuid"
"github.com/minio/madmin-go/v2" "github.com/minio/madmin-go/v3"
"github.com/minio/minio/internal/config/storageclass" "github.com/minio/minio/internal/config/storageclass"
) )

View File

@ -32,7 +32,7 @@ import (
"time" "time"
"github.com/klauspost/readahead" "github.com/klauspost/readahead"
"github.com/minio/madmin-go/v2" "github.com/minio/madmin-go/v3"
"github.com/minio/minio-go/v7/pkg/tags" "github.com/minio/minio-go/v7/pkg/tags"
"github.com/minio/minio/internal/bucket/lifecycle" "github.com/minio/minio/internal/bucket/lifecycle"
"github.com/minio/minio/internal/bucket/object/lock" "github.com/minio/minio/internal/bucket/object/lock"

View File

@ -31,7 +31,7 @@ import (
"time" "time"
"github.com/dustin/go-humanize" "github.com/dustin/go-humanize"
"github.com/minio/madmin-go/v2" "github.com/minio/madmin-go/v3"
"github.com/minio/minio/internal/hash" "github.com/minio/minio/internal/hash"
"github.com/minio/minio/internal/logger" "github.com/minio/minio/internal/logger"
"github.com/minio/pkg/console" "github.com/minio/pkg/console"

View File

@ -32,7 +32,7 @@ import (
"time" "time"
"github.com/lithammer/shortuuid/v4" "github.com/lithammer/shortuuid/v4"
"github.com/minio/madmin-go/v2" "github.com/minio/madmin-go/v3"
"github.com/minio/minio/internal/hash" "github.com/minio/minio/internal/hash"
"github.com/minio/minio/internal/logger" "github.com/minio/minio/internal/logger"
"github.com/minio/pkg/env" "github.com/minio/pkg/env"

View File

@ -33,7 +33,7 @@ import (
"github.com/dustin/go-humanize" "github.com/dustin/go-humanize"
"github.com/google/uuid" "github.com/google/uuid"
"github.com/minio/madmin-go/v2" "github.com/minio/madmin-go/v3"
"github.com/minio/minio-go/v7/pkg/s3utils" "github.com/minio/minio-go/v7/pkg/s3utils"
"github.com/minio/minio-go/v7/pkg/set" "github.com/minio/minio-go/v7/pkg/set"
"github.com/minio/minio-go/v7/pkg/tags" "github.com/minio/minio-go/v7/pkg/tags"

View File

@ -33,7 +33,7 @@ import (
"github.com/dchest/siphash" "github.com/dchest/siphash"
"github.com/dustin/go-humanize" "github.com/dustin/go-humanize"
"github.com/google/uuid" "github.com/google/uuid"
"github.com/minio/madmin-go/v2" "github.com/minio/madmin-go/v3"
"github.com/minio/minio-go/v7/pkg/set" "github.com/minio/minio-go/v7/pkg/set"
"github.com/minio/minio-go/v7/pkg/tags" "github.com/minio/minio-go/v7/pkg/tags"
"github.com/minio/minio/internal/bpool" "github.com/minio/minio/internal/bpool"

View File

@ -28,7 +28,7 @@ import (
"sync" "sync"
"time" "time"
"github.com/minio/madmin-go/v2" "github.com/minio/madmin-go/v3"
"github.com/minio/minio/internal/bpool" "github.com/minio/minio/internal/bpool"
"github.com/minio/minio/internal/dsync" "github.com/minio/minio/internal/dsync"
"github.com/minio/minio/internal/logger" "github.com/minio/minio/internal/logger"

View File

@ -28,7 +28,7 @@ import (
"strings" "strings"
"time" "time"
"github.com/minio/madmin-go/v2" "github.com/minio/madmin-go/v3"
"github.com/minio/minio-go/v7" "github.com/minio/minio-go/v7"
"github.com/minio/minio-go/v7/pkg/credentials" "github.com/minio/minio-go/v7/pkg/credentials"
"github.com/minio/minio/internal/auth" "github.com/minio/minio/internal/auth"

View File

@ -24,7 +24,7 @@ import (
"time" "time"
"github.com/dustin/go-humanize" "github.com/dustin/go-humanize"
"github.com/minio/madmin-go/v2" "github.com/minio/madmin-go/v3"
"github.com/minio/minio/internal/color" "github.com/minio/minio/internal/color"
"github.com/minio/minio/internal/config/storageclass" "github.com/minio/minio/internal/config/storageclass"
"github.com/minio/minio/internal/logger" "github.com/minio/minio/internal/logger"

View File

@ -27,7 +27,7 @@ import (
"time" "time"
"github.com/minio/console/restapi" "github.com/minio/console/restapi"
"github.com/minio/madmin-go/v2" "github.com/minio/madmin-go/v3"
"github.com/minio/minio-go/v7" "github.com/minio/minio-go/v7"
"github.com/minio/minio-go/v7/pkg/set" "github.com/minio/minio-go/v7/pkg/set"
"github.com/minio/minio/internal/bucket/bandwidth" "github.com/minio/minio/internal/bucket/bandwidth"

View File

@ -26,7 +26,7 @@ import (
"regexp" "regexp"
"strings" "strings"
"github.com/minio/madmin-go/v2" "github.com/minio/madmin-go/v3"
"github.com/minio/minio/internal/auth" "github.com/minio/minio/internal/auth"
"github.com/minio/minio/internal/handlers" "github.com/minio/minio/internal/handlers"
xhttp "github.com/minio/minio/internal/http" xhttp "github.com/minio/minio/internal/http"

View File

@ -28,7 +28,7 @@ import (
"strings" "strings"
"time" "time"
"github.com/minio/madmin-go/v2" "github.com/minio/madmin-go/v3"
"github.com/minio/minio/internal/handlers" "github.com/minio/minio/internal/handlers"
xhttp "github.com/minio/minio/internal/http" xhttp "github.com/minio/minio/internal/http"
"github.com/minio/minio/internal/mcontext" "github.com/minio/minio/internal/mcontext"

View File

@ -28,7 +28,7 @@ import (
"unicode/utf8" "unicode/utf8"
jsoniter "github.com/json-iterator/go" jsoniter "github.com/json-iterator/go"
"github.com/minio/madmin-go/v2" "github.com/minio/madmin-go/v3"
"github.com/minio/minio/internal/config" "github.com/minio/minio/internal/config"
"github.com/minio/minio/internal/kms" "github.com/minio/minio/internal/kms"
"github.com/minio/minio/internal/logger" "github.com/minio/minio/internal/logger"

View File

@ -28,7 +28,7 @@ import (
"time" "time"
jsoniter "github.com/json-iterator/go" jsoniter "github.com/json-iterator/go"
"github.com/minio/madmin-go/v2" "github.com/minio/madmin-go/v3"
"github.com/minio/minio-go/v7/pkg/set" "github.com/minio/minio-go/v7/pkg/set"
"github.com/minio/minio/internal/auth" "github.com/minio/minio/internal/auth"
"github.com/minio/minio/internal/config/identity/openid" "github.com/minio/minio/internal/config/identity/openid"

View File

@ -32,7 +32,7 @@ import (
"sync/atomic" "sync/atomic"
"time" "time"
"github.com/minio/madmin-go/v2" "github.com/minio/madmin-go/v3"
"github.com/minio/minio-go/v7/pkg/set" "github.com/minio/minio-go/v7/pkg/set"
"github.com/minio/minio/internal/arn" "github.com/minio/minio/internal/arn"
"github.com/minio/minio/internal/auth" "github.com/minio/minio/internal/auth"

View File

@ -24,7 +24,7 @@ import (
"time" "time"
"github.com/minio/kes-go" "github.com/minio/kes-go"
"github.com/minio/madmin-go/v2" "github.com/minio/madmin-go/v3"
"github.com/minio/minio/internal/kms" "github.com/minio/minio/internal/kms"
"github.com/minio/minio/internal/logger" "github.com/minio/minio/internal/logger"
iampolicy "github.com/minio/pkg/iam/policy" iampolicy "github.com/minio/pkg/iam/policy"

View File

@ -22,7 +22,7 @@ package cmd
import ( import (
"time" "time"
"github.com/minio/madmin-go/v2" "github.com/minio/madmin-go/v3"
) )
const ( const (

View File

@ -21,7 +21,7 @@ import (
"context" "context"
"time" "time"
"github.com/minio/madmin-go/v2" "github.com/minio/madmin-go/v3"
"github.com/minio/minio/internal/disk" "github.com/minio/minio/internal/disk"
) )

View File

@ -28,7 +28,7 @@ import (
"time" "time"
"github.com/minio/kes-go" "github.com/minio/kes-go"
"github.com/minio/madmin-go/v2" "github.com/minio/madmin-go/v3"
"github.com/minio/minio/internal/bucket/lifecycle" "github.com/minio/minio/internal/bucket/lifecycle"
"github.com/minio/minio/internal/logger" "github.com/minio/minio/internal/logger"
"github.com/minio/minio/internal/mcontext" "github.com/minio/minio/internal/mcontext"

View File

@ -22,7 +22,7 @@ import (
"sync" "sync"
"time" "time"
"github.com/minio/madmin-go/v2" "github.com/minio/madmin-go/v3"
) )
const ( const (

View File

@ -23,7 +23,7 @@ import (
"sync" "sync"
"time" "time"
"github.com/minio/madmin-go/v2" "github.com/minio/madmin-go/v3"
) )
// naughtyDisk wraps a POSIX disk and returns programmed errors // naughtyDisk wraps a POSIX disk and returns programmed errors

View File

@ -18,7 +18,7 @@
package cmd package cmd
import ( import (
"github.com/minio/madmin-go/v2" "github.com/minio/madmin-go/v3"
) )
// GetTotalCapacity gets the total capacity in the cluster. // GetTotalCapacity gets the total capacity in the cluster.

View File

@ -29,7 +29,7 @@ import (
"github.com/cespare/xxhash/v2" "github.com/cespare/xxhash/v2"
"github.com/klauspost/compress/zip" "github.com/klauspost/compress/zip"
"github.com/minio/madmin-go/v2" "github.com/minio/madmin-go/v3"
"github.com/minio/minio/internal/bucket/bandwidth" "github.com/minio/minio/internal/bucket/bandwidth"
"github.com/minio/minio/internal/logger" "github.com/minio/minio/internal/logger"
xnet "github.com/minio/pkg/net" xnet "github.com/minio/pkg/net"

View File

@ -23,7 +23,7 @@ import (
"time" "time"
"github.com/dustin/go-humanize" "github.com/dustin/go-humanize"
"github.com/minio/madmin-go/v2" "github.com/minio/madmin-go/v3"
"github.com/minio/minio/internal/bucket/replication" "github.com/minio/minio/internal/bucket/replication"
"github.com/minio/minio/internal/hash" "github.com/minio/minio/internal/hash"
"github.com/minio/minio/internal/logger" "github.com/minio/minio/internal/logger"

View File

@ -23,7 +23,7 @@ import (
"net/http" "net/http"
"time" "time"
"github.com/minio/madmin-go/v2" "github.com/minio/madmin-go/v3"
"github.com/minio/minio-go/v7/pkg/encrypt" "github.com/minio/minio-go/v7/pkg/encrypt"
"github.com/minio/minio-go/v7/pkg/tags" "github.com/minio/minio-go/v7/pkg/tags"
"github.com/minio/minio/internal/hash" "github.com/minio/minio/internal/hash"

View File

@ -23,7 +23,7 @@ import (
"sync/atomic" "sync/atomic"
"time" "time"
"github.com/minio/madmin-go/v2" "github.com/minio/madmin-go/v3"
"github.com/minio/minio/internal/disk" "github.com/minio/minio/internal/disk"
ioutilx "github.com/minio/minio/internal/ioutil" ioutilx "github.com/minio/minio/internal/ioutil"
) )

View File

@ -29,7 +29,7 @@ import (
"strings" "strings"
"time" "time"
"github.com/minio/madmin-go/v2" "github.com/minio/madmin-go/v3"
"github.com/minio/minio/internal/bucket/bandwidth" "github.com/minio/minio/internal/bucket/bandwidth"
"github.com/minio/minio/internal/event" "github.com/minio/minio/internal/event"
xhttp "github.com/minio/minio/internal/http" xhttp "github.com/minio/minio/internal/http"

View File

@ -30,7 +30,7 @@ import (
"time" "time"
"github.com/dustin/go-humanize" "github.com/dustin/go-humanize"
"github.com/minio/madmin-go/v2" "github.com/minio/madmin-go/v3"
b "github.com/minio/minio/internal/bucket/bandwidth" b "github.com/minio/minio/internal/bucket/bandwidth"
"github.com/minio/minio/internal/event" "github.com/minio/minio/internal/event"
"github.com/minio/minio/internal/logger" "github.com/minio/minio/internal/logger"

View File

@ -29,7 +29,7 @@ import (
"time" "time"
"github.com/dustin/go-humanize" "github.com/dustin/go-humanize"
"github.com/minio/madmin-go/v2" "github.com/minio/madmin-go/v3"
"github.com/minio/minio-go/v7" "github.com/minio/minio-go/v7"
"github.com/minio/pkg/randreader" "github.com/minio/pkg/randreader"
) )

View File

@ -36,7 +36,7 @@ import (
"github.com/coreos/go-systemd/v22/daemon" "github.com/coreos/go-systemd/v22/daemon"
"github.com/minio/cli" "github.com/minio/cli"
"github.com/minio/madmin-go/v2" "github.com/minio/madmin-go/v3"
"github.com/minio/minio-go/v7" "github.com/minio/minio-go/v7"
"github.com/minio/minio-go/v7/pkg/credentials" "github.com/minio/minio-go/v7/pkg/credentials"
"github.com/minio/minio-go/v7/pkg/set" "github.com/minio/minio-go/v7/pkg/set"

View File

@ -21,7 +21,7 @@ import (
"runtime" "runtime"
"runtime/debug" "runtime/debug"
"github.com/minio/madmin-go/v2/kernel" "github.com/minio/madmin-go/v3/kernel"
"github.com/minio/minio/internal/logger" "github.com/minio/minio/internal/logger"
"github.com/minio/pkg/sys" "github.com/minio/pkg/sys"
) )

View File

@ -25,7 +25,7 @@ import (
"strings" "strings"
humanize "github.com/dustin/go-humanize" humanize "github.com/dustin/go-humanize"
"github.com/minio/madmin-go/v2" "github.com/minio/madmin-go/v3"
color "github.com/minio/minio/internal/color" color "github.com/minio/minio/internal/color"
"github.com/minio/minio/internal/logger" "github.com/minio/minio/internal/logger"
xnet "github.com/minio/pkg/net" xnet "github.com/minio/pkg/net"

View File

@ -24,7 +24,7 @@ import (
"strings" "strings"
"testing" "testing"
"github.com/minio/madmin-go/v2" "github.com/minio/madmin-go/v3"
) )
// Tests if we generate storage info. // Tests if we generate storage info.

View File

@ -28,7 +28,7 @@ import (
"sync" "sync"
"time" "time"
"github.com/minio/madmin-go/v2" "github.com/minio/madmin-go/v3"
"github.com/minio/minio-go/v7" "github.com/minio/minio-go/v7"
"github.com/minio/minio-go/v7/pkg/credentials" "github.com/minio/minio-go/v7/pkg/credentials"
"github.com/minio/minio/internal/auth" "github.com/minio/minio/internal/auth"

View File

@ -24,7 +24,7 @@ import (
"testing" "testing"
"time" "time"
"github.com/minio/madmin-go/v2" "github.com/minio/madmin-go/v3"
"github.com/minio/minio/internal/auth" "github.com/minio/minio/internal/auth"
xhttp "github.com/minio/minio/internal/http" xhttp "github.com/minio/minio/internal/http"
) )

View File

@ -23,7 +23,7 @@ import (
"sync" "sync"
"time" "time"
"github.com/minio/madmin-go/v2" "github.com/minio/madmin-go/v3"
) )
//go:generate msgp -file=$GOFILE //go:generate msgp -file=$GOFILE

View File

@ -34,7 +34,7 @@ import (
"sync" "sync"
"time" "time"
"github.com/minio/madmin-go/v2" "github.com/minio/madmin-go/v3"
minioClient "github.com/minio/minio-go/v7" minioClient "github.com/minio/minio-go/v7"
"github.com/minio/minio-go/v7/pkg/credentials" "github.com/minio/minio-go/v7/pkg/credentials"
"github.com/minio/minio-go/v7/pkg/replication" "github.com/minio/minio-go/v7/pkg/replication"

View File

@ -20,7 +20,7 @@ package cmd
import ( import (
"testing" "testing"
"github.com/minio/madmin-go/v2" "github.com/minio/madmin-go/v3"
"github.com/minio/minio-go/v7/pkg/set" "github.com/minio/minio-go/v7/pkg/set"
) )

View File

@ -26,7 +26,7 @@ import (
"time" "time"
"github.com/minio/dperf/pkg/dperf" "github.com/minio/dperf/pkg/dperf"
"github.com/minio/madmin-go/v2" "github.com/minio/madmin-go/v3"
) )
const speedTest = "speedtest" const speedTest = "speedtest"

View File

@ -22,7 +22,7 @@ import (
"io" "io"
"time" "time"
"github.com/minio/madmin-go/v2" "github.com/minio/madmin-go/v3"
) )
// StorageAPI interface. // StorageAPI interface.

View File

@ -33,7 +33,7 @@ import (
"sync" "sync"
"time" "time"
"github.com/minio/madmin-go/v2" "github.com/minio/madmin-go/v3"
xhttp "github.com/minio/minio/internal/http" xhttp "github.com/minio/minio/internal/http"
"github.com/minio/minio/internal/logger" "github.com/minio/minio/internal/logger"
"github.com/minio/minio/internal/rest" "github.com/minio/minio/internal/rest"

View File

@ -38,7 +38,7 @@ import (
"github.com/tinylib/msgp/msgp" "github.com/tinylib/msgp/msgp"
jwtreq "github.com/golang-jwt/jwt/v4/request" jwtreq "github.com/golang-jwt/jwt/v4/request"
"github.com/minio/madmin-go/v2" "github.com/minio/madmin-go/v3"
"github.com/minio/minio/internal/config" "github.com/minio/minio/internal/config"
xhttp "github.com/minio/minio/internal/http" xhttp "github.com/minio/minio/internal/http"
xioutil "github.com/minio/minio/internal/ioutil" xioutil "github.com/minio/minio/internal/ioutil"

View File

@ -29,7 +29,7 @@ import (
"strings" "strings"
"time" "time"
"github.com/minio/madmin-go/v2" "github.com/minio/madmin-go/v3"
"github.com/minio/minio/internal/auth" "github.com/minio/minio/internal/auth"
"github.com/minio/minio/internal/config/identity/openid" "github.com/minio/minio/internal/config/identity/openid"
"github.com/minio/minio/internal/hash/sha256" "github.com/minio/minio/internal/hash/sha256"

View File

@ -25,7 +25,7 @@ import (
"testing" "testing"
"time" "time"
"github.com/minio/madmin-go/v2" "github.com/minio/madmin-go/v3"
minio "github.com/minio/minio-go/v7" minio "github.com/minio/minio-go/v7"
cr "github.com/minio/minio-go/v7/pkg/credentials" cr "github.com/minio/minio-go/v7/pkg/credentials"
"github.com/minio/minio-go/v7/pkg/set" "github.com/minio/minio-go/v7/pkg/set"

View File

@ -24,7 +24,7 @@ import (
"strconv" "strconv"
jsoniter "github.com/json-iterator/go" jsoniter "github.com/json-iterator/go"
"github.com/minio/madmin-go/v2" "github.com/minio/madmin-go/v3"
"github.com/minio/minio/internal/config/storageclass" "github.com/minio/minio/internal/config/storageclass"
"github.com/minio/minio/internal/logger" "github.com/minio/minio/internal/logger"
"github.com/minio/mux" "github.com/minio/mux"

View File

@ -20,7 +20,7 @@ package cmd
import ( import (
"time" "time"
"github.com/minio/madmin-go/v2" "github.com/minio/madmin-go/v3"
) )
type lastDayTierStats struct { type lastDayTierStats struct {

View File

@ -28,7 +28,7 @@ import (
"strings" "strings"
"sync" "sync"
"github.com/minio/madmin-go/v2" "github.com/minio/madmin-go/v3"
"github.com/minio/minio/internal/crypto" "github.com/minio/minio/internal/crypto"
"github.com/minio/minio/internal/hash" "github.com/minio/minio/internal/hash"
"github.com/minio/minio/internal/kms" "github.com/minio/minio/internal/kms"

View File

@ -3,7 +3,7 @@ package cmd
// Code generated by github.com/tinylib/msgp DO NOT EDIT. // Code generated by github.com/tinylib/msgp DO NOT EDIT.
import ( import (
"github.com/minio/madmin-go/v2" "github.com/minio/madmin-go/v3"
"github.com/tinylib/msgp/msgp" "github.com/tinylib/msgp/msgp"
) )

View File

@ -42,7 +42,7 @@ import (
"github.com/coreos/go-oidc" "github.com/coreos/go-oidc"
"github.com/dustin/go-humanize" "github.com/dustin/go-humanize"
"github.com/felixge/fgprof" "github.com/felixge/fgprof"
"github.com/minio/madmin-go/v2" "github.com/minio/madmin-go/v3"
"github.com/minio/minio-go/v7" "github.com/minio/minio-go/v7"
miniogopolicy "github.com/minio/minio-go/v7/pkg/policy" miniogopolicy "github.com/minio/minio-go/v7/pkg/policy"
"github.com/minio/minio/internal/config" "github.com/minio/minio/internal/config"

View File

@ -28,7 +28,7 @@ import (
"strings" "strings"
"github.com/Azure/azure-storage-blob-go/azblob" "github.com/Azure/azure-storage-blob-go/azblob"
"github.com/minio/madmin-go/v2" "github.com/minio/madmin-go/v3"
) )
type warmBackendAzure struct { type warmBackendAzure struct {

View File

@ -23,7 +23,7 @@ import (
"io" "io"
"cloud.google.com/go/storage" "cloud.google.com/go/storage"
"github.com/minio/madmin-go/v2" "github.com/minio/madmin-go/v3"
"google.golang.org/api/googleapi" "google.golang.org/api/googleapi"
"google.golang.org/api/iterator" "google.golang.org/api/iterator"
"google.golang.org/api/option" "google.golang.org/api/option"

View File

@ -23,7 +23,7 @@ import (
"strings" "strings"
"time" "time"
"github.com/minio/madmin-go/v2" "github.com/minio/madmin-go/v3"
minio "github.com/minio/minio-go/v7" minio "github.com/minio/minio-go/v7"
"github.com/minio/minio-go/v7/pkg/credentials" "github.com/minio/minio-go/v7/pkg/credentials"
) )

View File

@ -27,7 +27,7 @@ import (
"sync" "sync"
"time" "time"
"github.com/minio/madmin-go/v2" "github.com/minio/madmin-go/v3"
"github.com/minio/minio-go/v7" "github.com/minio/minio-go/v7"
"github.com/minio/minio-go/v7/pkg/credentials" "github.com/minio/minio-go/v7/pkg/credentials"
) )

View File

@ -24,7 +24,7 @@ import (
"fmt" "fmt"
"io" "io"
"github.com/minio/madmin-go/v2" "github.com/minio/madmin-go/v3"
xhttp "github.com/minio/minio/internal/http" xhttp "github.com/minio/minio/internal/http"
) )

View File

@ -29,7 +29,7 @@ import (
"sync/atomic" "sync/atomic"
"time" "time"
"github.com/minio/madmin-go/v2" "github.com/minio/madmin-go/v3"
"github.com/minio/minio/internal/logger" "github.com/minio/minio/internal/logger"
"github.com/minio/pkg/env" "github.com/minio/pkg/env"
) )

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