move the dependency to minio/pkg for common libraries (#12397)

This commit is contained in:
Harshavardhana
2021-05-28 15:17:01 -07:00
committed by GitHub
parent 547bb7d0a1
commit 81d5688d56
139 changed files with 122 additions and 10898 deletions

View File

@@ -25,7 +25,7 @@ import (
"time"
"github.com/minio/minio/cmd/config"
"github.com/minio/minio/pkg/env"
"github.com/minio/pkg/env"
)
// API sub-system constants

View File

@@ -24,7 +24,7 @@ import (
"strings"
"github.com/minio/minio/cmd/config"
"github.com/minio/minio/pkg/ellipses"
"github.com/minio/pkg/ellipses"
)
// Config represents cache config settings

View File

@@ -22,7 +22,7 @@ import (
"strconv"
"github.com/minio/minio/cmd/config"
"github.com/minio/minio/pkg/env"
"github.com/minio/pkg/env"
)
// Cache ENVs

View File

@@ -27,7 +27,7 @@ import (
"errors"
"io/ioutil"
"github.com/minio/minio/pkg/env"
"github.com/minio/pkg/env"
)
// EnvCertPassword is the environment variable which contains the password used

View File

@@ -22,7 +22,7 @@ import (
"strings"
"github.com/minio/minio/cmd/config"
"github.com/minio/minio/pkg/env"
"github.com/minio/pkg/env"
)
// Config represents the compression settings.

View File

@@ -27,7 +27,7 @@ import (
"github.com/minio/madmin-go"
"github.com/minio/minio-go/v7/pkg/set"
"github.com/minio/minio/pkg/auth"
"github.com/minio/minio/pkg/env"
"github.com/minio/pkg/env"
)
// Error config error type

View File

@@ -24,8 +24,8 @@ import (
"time"
"github.com/minio/minio/cmd/config"
"github.com/minio/minio/pkg/env"
xnet "github.com/minio/minio/pkg/net"
"github.com/minio/pkg/env"
clientv3 "go.etcd.io/etcd/client/v3"
"go.etcd.io/etcd/client/v3/namespace"
"go.uber.org/zap"

View File

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

View File

@@ -29,7 +29,7 @@ import (
ldap "github.com/go-ldap/ldap/v3"
"github.com/minio/minio/cmd/config"
"github.com/minio/minio/pkg/env"
"github.com/minio/pkg/env"
)
const (

View File

@@ -32,9 +32,9 @@ import (
jwtgo "github.com/dgrijalva/jwt-go"
"github.com/minio/minio/cmd/config"
"github.com/minio/minio/pkg/auth"
"github.com/minio/minio/pkg/env"
iampolicy "github.com/minio/minio/pkg/iam/policy"
xnet "github.com/minio/minio/pkg/net"
"github.com/minio/pkg/env"
)
// Config - OpenID Config

View File

@@ -29,10 +29,10 @@ import (
"github.com/minio/minio/cmd/config"
"github.com/minio/minio/cmd/logger"
"github.com/minio/minio/pkg/env"
"github.com/minio/minio/pkg/event"
"github.com/minio/minio/pkg/event/target"
xnet "github.com/minio/minio/pkg/net"
"github.com/minio/pkg/env"
)
const (

View File

@@ -25,9 +25,9 @@ import (
"net/http"
"github.com/minio/minio/cmd/config"
"github.com/minio/minio/pkg/env"
iampolicy "github.com/minio/minio/pkg/iam/policy"
xnet "github.com/minio/minio/pkg/net"
"github.com/minio/pkg/env"
)
// Env IAM OPA URL

View File

@@ -22,7 +22,7 @@ import (
"time"
"github.com/minio/minio/cmd/config"
"github.com/minio/minio/pkg/env"
"github.com/minio/pkg/env"
)
// Compression environment variables

View File

@@ -26,7 +26,7 @@ import (
"sync"
"github.com/minio/minio/cmd/config"
"github.com/minio/minio/pkg/env"
"github.com/minio/pkg/env"
)
// Standard constants for all storage class