move credentials as separate package (#5115)

This commit is contained in:
Bala FA authored and Dee Koder committed 2017-10-31 11:54:32 -07:00
1 parent 8d584bd819
commit 32c6b62932
26 files changed
+307 -277

No files matched your search

+2 -1
View File
@@ -31,6 +31,7 @@ import (
b2 "github.com/minio/blazer/base"
"github.com/minio/cli"
"github.com/minio/minio-go/pkg/policy"
"github.com/minio/minio/pkg/auth"
h2 "github.com/minio/minio/pkg/hash"
)
@@ -101,7 +102,7 @@ func (g *B2Gateway) NewGatewayLayer() (GatewayLayer, error) {
type b2Objects struct {
gatewayUnsupported
mu sync.Mutex
creds credential
creds auth.Credentials
b2Client *b2.B2
anonClient *http.Client
ctx context.Context