mirror of
https://github.com/minio/mc.git
synced 2025-11-10 13:42:32 +03:00
Update minio-go to v6.0.29 (#2799)
This commit is contained in:
committed by
kannappanr
parent
ca26dac8e2
commit
a12c507bec
@@ -29,61 +29,61 @@ func TestMatchFind(t *testing.T) {
|
|||||||
// List of various contexts used in each tests,
|
// List of various contexts used in each tests,
|
||||||
// tests are run in the same order as this list.
|
// tests are run in the same order as this list.
|
||||||
var listFindContexts = []*findContext{
|
var listFindContexts = []*findContext{
|
||||||
&findContext{
|
{
|
||||||
clnt: &s3Client{
|
clnt: &s3Client{
|
||||||
targetURL: &clientURL{},
|
targetURL: &clientURL{},
|
||||||
},
|
},
|
||||||
ignorePattern: "*.go",
|
ignorePattern: "*.go",
|
||||||
},
|
},
|
||||||
&findContext{
|
{
|
||||||
clnt: &s3Client{
|
clnt: &s3Client{
|
||||||
targetURL: &clientURL{},
|
targetURL: &clientURL{},
|
||||||
},
|
},
|
||||||
namePattern: "console",
|
namePattern: "console",
|
||||||
},
|
},
|
||||||
&findContext{
|
{
|
||||||
clnt: &s3Client{
|
clnt: &s3Client{
|
||||||
targetURL: &clientURL{},
|
targetURL: &clientURL{},
|
||||||
},
|
},
|
||||||
pathPattern: "*console*",
|
pathPattern: "*console*",
|
||||||
},
|
},
|
||||||
&findContext{
|
{
|
||||||
clnt: &s3Client{
|
clnt: &s3Client{
|
||||||
targetURL: &clientURL{},
|
targetURL: &clientURL{},
|
||||||
},
|
},
|
||||||
regexPattern: `^(\d+\.){3}\d+$`,
|
regexPattern: `^(\d+\.){3}\d+$`,
|
||||||
},
|
},
|
||||||
&findContext{
|
{
|
||||||
clnt: &s3Client{
|
clnt: &s3Client{
|
||||||
targetURL: &clientURL{},
|
targetURL: &clientURL{},
|
||||||
},
|
},
|
||||||
olderThan: "1d",
|
olderThan: "1d",
|
||||||
},
|
},
|
||||||
&findContext{
|
{
|
||||||
clnt: &s3Client{
|
clnt: &s3Client{
|
||||||
targetURL: &clientURL{},
|
targetURL: &clientURL{},
|
||||||
},
|
},
|
||||||
newerThan: "32000d",
|
newerThan: "32000d",
|
||||||
},
|
},
|
||||||
&findContext{
|
{
|
||||||
clnt: &s3Client{
|
clnt: &s3Client{
|
||||||
targetURL: &clientURL{},
|
targetURL: &clientURL{},
|
||||||
},
|
},
|
||||||
largerSize: 1024 * 1024,
|
largerSize: 1024 * 1024,
|
||||||
},
|
},
|
||||||
&findContext{
|
{
|
||||||
clnt: &s3Client{
|
clnt: &s3Client{
|
||||||
targetURL: &clientURL{},
|
targetURL: &clientURL{},
|
||||||
},
|
},
|
||||||
smallerSize: 1024,
|
smallerSize: 1024,
|
||||||
},
|
},
|
||||||
&findContext{
|
{
|
||||||
clnt: &s3Client{
|
clnt: &s3Client{
|
||||||
targetURL: &clientURL{},
|
targetURL: &clientURL{},
|
||||||
},
|
},
|
||||||
ignorePattern: "*.txt",
|
ignorePattern: "*.txt",
|
||||||
},
|
},
|
||||||
&findContext{
|
{
|
||||||
clnt: &s3Client{
|
clnt: &s3Client{
|
||||||
targetURL: &clientURL{},
|
targetURL: &clientURL{},
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -107,7 +107,7 @@ func TestParseEncryptionKeys(t *testing.T) {
|
|||||||
}{
|
}{
|
||||||
{
|
{
|
||||||
encryptionKey: "myminio1/test2=32byteslongsecretkeymustbegiven2",
|
encryptionKey: "myminio1/test2=32byteslongsecretkeymustbegiven2",
|
||||||
expectedEncMap: map[string][]prefixSSEPair{"myminio1": []prefixSSEPair{prefixSSEPair{
|
expectedEncMap: map[string][]prefixSSEPair{"myminio1": {{
|
||||||
Prefix: "myminio1/test2",
|
Prefix: "myminio1/test2",
|
||||||
SSE: sseKey1,
|
SSE: sseKey1,
|
||||||
}}},
|
}}},
|
||||||
@@ -120,7 +120,7 @@ func TestParseEncryptionKeys(t *testing.T) {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
encryptionKey: "myminio1/test2=32byteslongsecretkey,ustbegiven1",
|
encryptionKey: "myminio1/test2=32byteslongsecretkey,ustbegiven1",
|
||||||
expectedEncMap: map[string][]prefixSSEPair{"myminio1": []prefixSSEPair{prefixSSEPair{
|
expectedEncMap: map[string][]prefixSSEPair{"myminio1": {{
|
||||||
Prefix: "myminio1/test2",
|
Prefix: "myminio1/test2",
|
||||||
SSE: sseCommaKey1,
|
SSE: sseCommaKey1,
|
||||||
}}},
|
}}},
|
||||||
@@ -128,7 +128,7 @@ func TestParseEncryptionKeys(t *testing.T) {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
encryptionKey: "myminio1/test2=32byteslongsecret mustbegiven1",
|
encryptionKey: "myminio1/test2=32byteslongsecret mustbegiven1",
|
||||||
expectedEncMap: map[string][]prefixSSEPair{"myminio1": []prefixSSEPair{prefixSSEPair{
|
expectedEncMap: map[string][]prefixSSEPair{"myminio1": {{
|
||||||
Prefix: "myminio1/test2",
|
Prefix: "myminio1/test2",
|
||||||
SSE: sseSpaceKey1,
|
SSE: sseSpaceKey1,
|
||||||
}}},
|
}}},
|
||||||
@@ -136,10 +136,10 @@ func TestParseEncryptionKeys(t *testing.T) {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
encryptionKey: "myminio1/test2=32byteslongsecretkeymustbegiven2,myminio1/test1/a=32byteslongsecretkeymustbegiven1",
|
encryptionKey: "myminio1/test2=32byteslongsecretkeymustbegiven2,myminio1/test1/a=32byteslongsecretkeymustbegiven1",
|
||||||
expectedEncMap: map[string][]prefixSSEPair{"myminio1": []prefixSSEPair{prefixSSEPair{
|
expectedEncMap: map[string][]prefixSSEPair{"myminio1": {{
|
||||||
Prefix: "myminio1/test1/a",
|
Prefix: "myminio1/test1/a",
|
||||||
SSE: sseKey2,
|
SSE: sseKey2,
|
||||||
}, prefixSSEPair{
|
}, {
|
||||||
Prefix: "myminio1/test2",
|
Prefix: "myminio1/test2",
|
||||||
SSE: sseKey1,
|
SSE: sseKey1,
|
||||||
}}},
|
}}},
|
||||||
|
|||||||
2
go.mod
2
go.mod
@@ -25,7 +25,7 @@ require (
|
|||||||
github.com/minio/cli v1.20.0
|
github.com/minio/cli v1.20.0
|
||||||
github.com/minio/minio v0.0.0-20190611004433-002a205c9ce5
|
github.com/minio/minio v0.0.0-20190611004433-002a205c9ce5
|
||||||
github.com/minio/minio-go v0.0.0-20190327203652-5325257a208f // indirect
|
github.com/minio/minio-go v0.0.0-20190327203652-5325257a208f // indirect
|
||||||
github.com/minio/minio-go/v6 v6.0.28
|
github.com/minio/minio-go/v6 v6.0.29
|
||||||
github.com/minio/sha256-simd v0.1.0
|
github.com/minio/sha256-simd v0.1.0
|
||||||
github.com/mitchellh/go-homedir v1.1.0
|
github.com/mitchellh/go-homedir v1.1.0
|
||||||
github.com/pkg/profile v1.3.0
|
github.com/pkg/profile v1.3.0
|
||||||
|
|||||||
2
go.sum
2
go.sum
@@ -351,6 +351,8 @@ github.com/minio/minio-go v0.0.0-20190327203652-5325257a208f/go.mod h1:/haSOWG8h
|
|||||||
github.com/minio/minio-go/v6 v6.0.26/go.mod h1:vaNT59cWULS37E+E9zkuN/BVnKHyXtVGS+b04Boc66Y=
|
github.com/minio/minio-go/v6 v6.0.26/go.mod h1:vaNT59cWULS37E+E9zkuN/BVnKHyXtVGS+b04Boc66Y=
|
||||||
github.com/minio/minio-go/v6 v6.0.28 h1:RIsoxMaljP2euGbu2r0gBC0UNn70l2gzHjifU6DhE0c=
|
github.com/minio/minio-go/v6 v6.0.28 h1:RIsoxMaljP2euGbu2r0gBC0UNn70l2gzHjifU6DhE0c=
|
||||||
github.com/minio/minio-go/v6 v6.0.28/go.mod h1:vaNT59cWULS37E+E9zkuN/BVnKHyXtVGS+b04Boc66Y=
|
github.com/minio/minio-go/v6 v6.0.28/go.mod h1:vaNT59cWULS37E+E9zkuN/BVnKHyXtVGS+b04Boc66Y=
|
||||||
|
github.com/minio/minio-go/v6 v6.0.29 h1:p4YPxK1beY13reFJjCE5QwCnXUMT9D5sV5wl0BSy5Xo=
|
||||||
|
github.com/minio/minio-go/v6 v6.0.29/go.mod h1:vaNT59cWULS37E+E9zkuN/BVnKHyXtVGS+b04Boc66Y=
|
||||||
github.com/minio/parquet-go v0.0.0-20190318185229-9d767baf1679/go.mod h1:J+goXSuzlte5imWMqb6cUWC/tbYYysUHctwmKXomYzM=
|
github.com/minio/parquet-go v0.0.0-20190318185229-9d767baf1679/go.mod h1:J+goXSuzlte5imWMqb6cUWC/tbYYysUHctwmKXomYzM=
|
||||||
github.com/minio/sha256-simd v0.0.0-20190131020904-2d45a736cd16/go.mod h1:2FMWW+8GMoPweT6+pI63m9YE3Lmw4J71hV56Chs1E/U=
|
github.com/minio/sha256-simd v0.0.0-20190131020904-2d45a736cd16/go.mod h1:2FMWW+8GMoPweT6+pI63m9YE3Lmw4J71hV56Chs1E/U=
|
||||||
github.com/minio/sha256-simd v0.0.0-20190328051042-05b4dd3047e5/go.mod h1:2FMWW+8GMoPweT6+pI63m9YE3Lmw4J71hV56Chs1E/U=
|
github.com/minio/sha256-simd v0.0.0-20190328051042-05b4dd3047e5/go.mod h1:2FMWW+8GMoPweT6+pI63m9YE3Lmw4J71hV56Chs1E/U=
|
||||||
|
|||||||
Reference in New Issue
Block a user