Skip to content

Commit 575f9e3

Browse files
committed
azureblob: upgrade gocloud to support endpoint options
1 parent 13709c5 commit 575f9e3

15 files changed

+372
-56
lines changed

docs/api-references/docs.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3295,6 +3295,17 @@ string
32953295
<p>Prefix of the data path.</p>
32963296
</td>
32973297
</tr>
3298+
<tr>
3299+
<td>
3300+
<code>endpoint</code></br>
3301+
<em>
3302+
string
3303+
</em>
3304+
</td>
3305+
<td>
3306+
<p>Endpoint of azblob compatible storage service</p>
3307+
</td>
3308+
</tr>
32983309
</tbody>
32993310
</table>
33003311
<h3 id="brconfig">BRConfig</h3>

go.mod

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ require (
1111
github.com/Azure/azure-sdk-for-go/sdk/azcore v1.16.0
1212
github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.8.0
1313
github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/compute/armcompute v1.0.0
14-
github.com/Azure/azure-storage-blob-go v0.8.0
14+
github.com/Azure/azure-storage-blob-go v0.11.0
1515
github.com/Azure/go-autorest/autorest/azure/auth v0.5.13
1616
github.com/BurntSushi/toml v0.3.1
1717
github.com/Masterminds/semver v1.5.0
@@ -53,7 +53,7 @@ require (
5353
github.com/stretchr/testify v1.9.0
5454
github.com/tikv/pd v2.1.17+incompatible
5555
go.etcd.io/etcd/client/v3 v3.5.16
56-
gocloud.dev v0.18.0
56+
gocloud.dev v0.21.0
5757
golang.org/x/sync v0.10.0
5858
golang.org/x/time v0.5.0
5959
gomodules.xyz/jsonpatch/v2 v2.4.0
@@ -82,7 +82,7 @@ require (
8282
cloud.google.com/go/compute/metadata v0.2.3 // indirect
8383
cloud.google.com/go/iam v1.1.5 // indirect
8484
filippo.io/edwards25519 v1.1.0 // indirect
85-
github.com/Azure/azure-pipeline-go v0.2.1 // indirect
85+
github.com/Azure/azure-pipeline-go v0.2.3 // indirect
8686
github.com/Azure/azure-sdk-for-go/sdk/internal v1.10.0 // indirect
8787
github.com/Azure/go-ansiterm v0.0.0-20210617225240-d185dfc1b5a1 // indirect
8888
github.com/Azure/go-autorest v14.2.0+incompatible // indirect
@@ -142,7 +142,7 @@ require (
142142
github.com/google/s2a-go v0.1.7 // indirect
143143
github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 // indirect
144144
github.com/google/uuid v1.6.0 // indirect
145-
github.com/google/wire v0.3.0 // indirect
145+
github.com/google/wire v0.4.0 // indirect
146146
github.com/googleapis/enterprise-certificate-proxy v0.3.2 // indirect
147147
github.com/googleapis/gax-go v2.0.2+incompatible // indirect
148148
github.com/googleapis/gax-go/v2 v2.12.0 // indirect
@@ -162,7 +162,7 @@ require (
162162
github.com/kylelemons/godebug v1.1.0 // indirect
163163
github.com/liggitt/tabwriter v0.0.0-20181228230101-89fcab3d43de // indirect
164164
github.com/mailru/easyjson v0.7.7 // indirect
165-
github.com/mattn/go-ieproxy v0.0.0-20190610004146-91bb50d98149 // indirect
165+
github.com/mattn/go-ieproxy v0.0.1 // indirect
166166
github.com/matttproud/golang_protobuf_extensions v1.0.4 // indirect
167167
github.com/matttproud/golang_protobuf_extensions/v2 v2.0.0 // indirect
168168
github.com/minio/md5-simd v1.1.0 // indirect

go.sum

Lines changed: 269 additions & 42 deletions
Large diffs are not rendered by default.

manifests/crd.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,8 @@ spec:
6060
type: string
6161
container:
6262
type: string
63+
endpoint:
64+
type: string
6365
path:
6466
type: string
6567
prefix:
@@ -1175,6 +1177,8 @@ spec:
11751177
type: string
11761178
container:
11771179
type: string
1180+
endpoint:
1181+
type: string
11781182
path:
11791183
type: string
11801184
prefix:
@@ -3456,6 +3460,8 @@ spec:
34563460
type: string
34573461
container:
34583462
type: string
3463+
endpoint:
3464+
type: string
34593465
path:
34603466
type: string
34613467
prefix:
@@ -6369,6 +6375,8 @@ spec:
63696375
type: string
63706376
container:
63716377
type: string
6378+
endpoint:
6379+
type: string
63726380
path:
63736381
type: string
63746382
prefix:
@@ -8774,6 +8782,8 @@ spec:
87748782
type: string
87758783
container:
87768784
type: string
8785+
endpoint:
8786+
type: string
87778787
path:
87788788
type: string
87798789
prefix:
@@ -11203,6 +11213,8 @@ spec:
1120311213
type: string
1120411214
container:
1120511215
type: string
11216+
endpoint:
11217+
type: string
1120611218
path:
1120711219
type: string
1120811220
prefix:
@@ -22504,6 +22516,8 @@ spec:
2250422516
type: string
2250522517
container:
2250622518
type: string
22519+
endpoint:
22520+
type: string
2250722521
path:
2250822522
type: string
2250922523
prefix:
@@ -23399,6 +23413,8 @@ spec:
2339923413
type: string
2340023414
container:
2340123415
type: string
23416+
endpoint:
23417+
type: string
2340223418
path:
2340323419
type: string
2340423420
prefix:

manifests/crd/federation/v1/federation.pingcap.com_volumebackups.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -801,6 +801,8 @@ spec:
801801
type: string
802802
container:
803803
type: string
804+
endpoint:
805+
type: string
804806
path:
805807
type: string
806808
prefix:

manifests/crd/federation/v1/federation.pingcap.com_volumebackupschedules.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -806,6 +806,8 @@ spec:
806806
type: string
807807
container:
808808
type: string
809+
endpoint:
810+
type: string
809811
path:
810812
type: string
811813
prefix:

manifests/crd/federation/v1/federation.pingcap.com_volumerestores.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,8 @@ spec:
5757
type: string
5858
container:
5959
type: string
60+
endpoint:
61+
type: string
6062
path:
6163
type: string
6264
prefix:

manifests/crd/v1/pingcap.com_backups.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1183,6 +1183,8 @@ spec:
11831183
type: string
11841184
container:
11851185
type: string
1186+
endpoint:
1187+
type: string
11861188
path:
11871189
type: string
11881190
prefix:

manifests/crd/v1/pingcap.com_backupschedules.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,8 @@ spec:
6060
type: string
6161
container:
6262
type: string
63+
endpoint:
64+
type: string
6365
path:
6466
type: string
6567
prefix:
@@ -1175,6 +1177,8 @@ spec:
11751177
type: string
11761178
container:
11771179
type: string
1180+
endpoint:
1181+
type: string
11781182
path:
11791183
type: string
11801184
prefix:
@@ -3456,6 +3460,8 @@ spec:
34563460
type: string
34573461
container:
34583462
type: string
3463+
endpoint:
3464+
type: string
34593465
path:
34603466
type: string
34613467
prefix:
@@ -6369,6 +6375,8 @@ spec:
63696375
type: string
63706376
container:
63716377
type: string
6378+
endpoint:
6379+
type: string
63726380
path:
63736381
type: string
63746382
prefix:

manifests/crd/v1/pingcap.com_compactbackups.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1147,6 +1147,8 @@ spec:
11471147
type: string
11481148
container:
11491149
type: string
1150+
endpoint:
1151+
type: string
11501152
path:
11511153
type: string
11521154
prefix:

0 commit comments

Comments
 (0)