Skip to content

Commit 55483e1

Browse files
fix(deps)!: bump github.com/linode/linodego from 1.36.0 to 1.37.0 (#78)
Bumps [github.com/linode/linodego](https://github.com/linode/linodego) from 1.36.0 to 1.37.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/linode/linodego/releases">github.com/linode/linodego's releases</a>.</em></p> <blockquote> <h2>v1.37.0</h2> <!-- raw HTML omitted --> <h2>What's Changed</h2> <h3>🚀 New Features</h3> <ul> <li>Add Support for Object Storage Region as a Part of MultiCluster Object Storage Project by <a href="https://github.com/zliang-akamai"><code>@​zliang-akamai</code></a> in <a href="https://redirect.github.com/linode/linodego/pull/522">linode/linodego#522</a></li> </ul> <h3>📦 Dependency Updates</h3> <ul> <li>build(deps): bump golang.org/x/net from 0.26.0 to 0.27.0 by <a href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a href="https://redirect.github.com/linode/linodego/pull/542">linode/linodego#542</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/linode/linodego/compare/v1.36.2...v1.37.0">https://github.com/linode/linodego/compare/v1.36.2...v1.37.0</a></p> <h2>v1.36.2</h2> <h2>What's Changed</h2> <h3>💡 Improvements</h3> <ul> <li>Restored legacy PagedResponse structs and added deprecation notice by <a href="https://github.com/ezilber-akamai"><code>@​ezilber-akamai</code></a> in <a href="https://redirect.github.com/linode/linodego/pull/539">linode/linodego#539</a></li> <li>Added helper to improve readability of pointer literals by <a href="https://github.com/ezilber-akamai"><code>@​ezilber-akamai</code></a> in <a href="https://redirect.github.com/linode/linodego/pull/535">linode/linodego#535</a></li> <li>Migrated instance_ips to kernels to request helpers by <a href="https://github.com/ezilber-akamai"><code>@​ezilber-akamai</code></a> in <a href="https://redirect.github.com/linode/linodego/pull/537">linode/linodego#537</a></li> <li>Migrated network_ips to nodebalancer to request helpers by <a href="https://github.com/ezilber-akamai"><code>@​ezilber-akamai</code></a> in <a href="https://redirect.github.com/linode/linodego/pull/543">linode/linodego#543</a></li> <li>Migrated firewall_rules to instance_firewalls to request helpers by <a href="https://github.com/ezilber-akamai"><code>@​ezilber-akamai</code></a> in <a href="https://redirect.github.com/linode/linodego/pull/533">linode/linodego#533</a></li> </ul> <h3>🧪 Testing Improvements</h3> <ul> <li>Added submodule checkout in cross repo test workflow by <a href="https://github.com/ykim-1"><code>@​ykim-1</code></a> in <a href="https://redirect.github.com/linode/linodego/pull/545">linode/linodego#545</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/linode/linodego/compare/v1.36.1...v1.36.2">https://github.com/linode/linodego/compare/v1.36.1...v1.36.2</a></p> <h2>v1.36.1</h2> <!-- raw HTML omitted --> <h2>What's Changed</h2> <h3>🐛 Bug Fixes</h3> <ul> <li>Create request object per-page in getPaginatedResults(...) by <a href="https://github.com/lgarber-akamai"><code>@​lgarber-akamai</code></a> in <a href="https://redirect.github.com/linode/linodego/pull/536">linode/linodego#536</a></li> </ul> <h3>💡 Improvements</h3> <ul> <li>Migrated account_notifications to account_user_grants to request helpers by <a href="https://github.com/ErikZilber"><code>@​ErikZilber</code></a> in <a href="https://redirect.github.com/linode/linodego/pull/528">linode/linodego#528</a></li> <li>Migrated account to account_logins to request helpers by <a href="https://github.com/ErikZilber"><code>@​ErikZilber</code></a> in <a href="https://redirect.github.com/linode/linodego/pull/527">linode/linodego#527</a></li> <li>Migrated account_users to firewall_devices to request helpers by <a href="https://github.com/ezilber-akamai"><code>@​ezilber-akamai</code></a> in <a href="https://redirect.github.com/linode/linodego/pull/532">linode/linodego#532</a></li> <li>Added note in documentation that Parent/Child support may not yet be generally available by <a href="https://github.com/ezilber-akamai"><code>@​ezilber-akamai</code></a> in <a href="https://redirect.github.com/linode/linodego/pull/534">linode/linodego#534</a></li> </ul> <h3>🧪 Testing Improvements</h3> <ul> <li>Sanitize test fixtures by <a href="https://github.com/ykim-1"><code>@​ykim-1</code></a> in <a href="https://redirect.github.com/linode/linodego/pull/538">linode/linodego#538</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/ezilber-akamai"><code>@​ezilber-akamai</code></a> made their first contribution in <a href="https://redirect.github.com/linode/linodego/pull/532">linode/linodego#532</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/linode/linodego/compare/v1.36.0...v1.36.1">https://github.com/linode/linodego/compare/v1.36.0...v1.36.1</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/linode/linodego/commit/ea893efa17a269f183f68d5b1827b2f7f280a623"><code>ea893ef</code></a> Migrate LKE and MySQL Client Functions to Utilize Request Helpers (<a href="https://redirect.github.com/linode/linodego/issues/540">#540</a>)</li> <li><a href="https://github.com/linode/linodego/commit/3cb05c95d889e5c85a4342a003a56bea5ff2ef85"><code>3cb05c9</code></a> build(deps): bump golang.org/x/net from 0.26.0 to 0.27.0 (<a href="https://redirect.github.com/linode/linodego/issues/542">#542</a>)</li> <li><a href="https://github.com/linode/linodego/commit/4243c0e01c0e206236b6a2745eb38f08dcbffe30"><code>4243c0e</code></a> project: MultiCluster Object Storage (<a href="https://redirect.github.com/linode/linodego/issues/522">#522</a>)</li> <li><a href="https://github.com/linode/linodego/commit/2a5ae92b4d00c5a0420a7d636bdbc5d3420b5b4d"><code>2a5ae92</code></a> Migrated firewall_rules to instance_firewalls to request helpers (<a href="https://redirect.github.com/linode/linodego/issues/533">#533</a>)</li> <li><a href="https://github.com/linode/linodego/commit/72ef4eb921d3018bc483c50ca3ca071a917840a8"><code>72ef4eb</code></a> Migrated network_ips to nodebalancer and reran fixtures (<a href="https://redirect.github.com/linode/linodego/issues/543">#543</a>)</li> <li><a href="https://github.com/linode/linodego/commit/8ce268c2e639323f2e20ddb2467636d131d6cab0"><code>8ce268c</code></a> add submodule checkout in cross repo test workflow (<a href="https://redirect.github.com/linode/linodego/issues/545">#545</a>)</li> <li><a href="https://github.com/linode/linodego/commit/1328865f3e45fbc38855f0632ec123f767421fe1"><code>1328865</code></a> Added helper to improve readability of pointer literals (<a href="https://redirect.github.com/linode/linodego/issues/535">#535</a>)</li> <li><a href="https://github.com/linode/linodego/commit/bd61260eac826e153a2a8626a8523c833de95d88"><code>bd61260</code></a> Migrated instance_ips to kernels to request helpers (<a href="https://redirect.github.com/linode/linodego/issues/537">#537</a>)</li> <li><a href="https://github.com/linode/linodego/commit/a9a7dcf954330feb14282bde98c5d878a759871b"><code>a9a7dcf</code></a> Restored legacy PagedResponse structs and added deprecation notice (<a href="https://redirect.github.com/linode/linodego/issues/539">#539</a>)</li> <li><a href="https://github.com/linode/linodego/commit/87439ea13268d80fbe792be6879bf02e0924b3db"><code>87439ea</code></a> sanitizing fixtures (<a href="https://redirect.github.com/linode/linodego/issues/538">#538</a>)</li> <li>Additional commits viewable in <a href="https://github.com/linode/linodego/compare/v1.36.0...v1.37.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github.com/linode/linodego&package-manager=go_modules&previous-version=1.36.0&new-version=1.37.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> --------- Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: Mateusz Urbanek <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Mateusz Urbanek <[email protected]>
1 parent a46020b commit 55483e1

File tree

11 files changed

+100
-100
lines changed

11 files changed

+100
-100
lines changed

examples/example.BucketClass.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ metadata:
55
driverName: objectstorage.cosi.linode.com
66
deletionPolicy: Delete
77
parameters:
8-
cosi.linode.com/v1/region: us-east-1
8+
cosi.linode.com/v1/region: us-east
99
cosi.linode.com/v1/acl: private
1010
cosi.linode.com/v1/cors: disabled

go.mod

+3-3
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ toolchain go1.22.3
77
require (
88
github.com/go-resty/resty/v2 v2.13.1
99
github.com/grpc-ecosystem/go-grpc-middleware/v2 v2.1.0
10-
github.com/linode/linodego v1.36.0
10+
github.com/linode/linodego v1.37.0
1111
go.opentelemetry.io/contrib/exporters/autoexport v0.53.0
1212
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.53.0
1313
go.opentelemetry.io/otel v1.28.0
@@ -48,8 +48,8 @@ require (
4848
go.opentelemetry.io/otel/log v0.4.0 // indirect
4949
go.opentelemetry.io/otel/sdk/log v0.4.0 // indirect
5050
go.opentelemetry.io/proto/otlp v1.3.1 // indirect
51-
golang.org/x/net v0.26.0 // indirect
52-
golang.org/x/sys v0.21.0 // indirect
51+
golang.org/x/net v0.27.0 // indirect
52+
golang.org/x/sys v0.22.0 // indirect
5353
golang.org/x/text v0.16.0 // indirect
5454
google.golang.org/genproto/googleapis/api v0.0.0-20240701130421-f6361c86f094 // indirect
5555
google.golang.org/genproto/googleapis/rpc v0.0.0-20240701130421-f6361c86f094 // indirect

go.sum

+6-6
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ github.com/grpc-ecosystem/grpc-gateway/v2 v2.20.0 h1:bkypFPDjIYGfCYD5mRBvpqxfYX1
2525
github.com/grpc-ecosystem/grpc-gateway/v2 v2.20.0/go.mod h1:P+Lt/0by1T8bfcF3z737NnSbmxQAppXMRziHUxPOC8k=
2626
github.com/jarcoal/httpmock v1.3.1 h1:iUx3whfZWVf3jT01hQTO/Eo5sAYtB2/rqaUuOtpInww=
2727
github.com/jarcoal/httpmock v1.3.1/go.mod h1:3yb8rc4BI7TCBhFY8ng0gjuLKJNquuDNiPaZjnENuYg=
28-
github.com/linode/linodego v1.36.0 h1:AeFkL3cNtiirEiS9gxzNUUaZafFHhNvVpeyuokmKTu8=
29-
github.com/linode/linodego v1.36.0/go.mod h1:7MDOCz/DXckUEByLaXEwVBn6yHuvjoT7zVhp9Tr9OS0=
28+
github.com/linode/linodego v1.37.0 h1:B/2Spzv9jYXzKA+p+GD8fVCNJ7Wuw6P91ZDD9eCkkso=
29+
github.com/linode/linodego v1.37.0/go.mod h1:L7GXKFD3PoN2xSEtFc04wIXP5WK65O10jYQx0PQISWQ=
3030
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 h1:C3w9PqII01/Oq1c1nUAm88MOHcQC9l5mIlSMApZMrHA=
3131
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822/go.mod h1:+n7T8mK8HuQTcFwEeznm/DIxMOiR9yIdICNftLE1DvQ=
3232
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
@@ -103,8 +103,8 @@ golang.org/x/net v0.6.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs=
103103
golang.org/x/net v0.10.0/go.mod h1:0qNGK6F8kojg2nk9dLZ2mShWaEBan6FAoqfSigmmuDg=
104104
golang.org/x/net v0.21.0/go.mod h1:bIjVDfnllIU7BJ2DNgfnXvpSvtn8VRwhlsaeUTyUS44=
105105
golang.org/x/net v0.25.0/go.mod h1:JkAGAh7GEvH74S6FOH42FLoXpXbE/aqXSrIQjXgsiwM=
106-
golang.org/x/net v0.26.0 h1:soB7SVo0PWrY4vPW/+ay0jKDNScG2X9wFeYlXIvJsOQ=
107-
golang.org/x/net v0.26.0/go.mod h1:5YKkiSynbBIh3p6iOc/vibscux0x38BZDkn8sCUPxHE=
106+
golang.org/x/net v0.27.0 h1:5K3Njcw06/l2y9vpGCSdcxWOYHOUk3dVNGDXN+FvAys=
107+
golang.org/x/net v0.27.0/go.mod h1:dDi0PyhWNoiUOrAS8uXv/vnScO4wnHQO4mj9fn/RytE=
108108
golang.org/x/oauth2 v0.21.0 h1:tsimM75w1tF/uws5rbeHzIWxEqElMehnc+iW793zsZs=
109109
golang.org/x/oauth2 v0.21.0/go.mod h1:XYTD2NtWslqkgxebSiOHnXEap4TF09sJSc7H1sXbhtI=
110110
golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
@@ -119,8 +119,8 @@ golang.org/x/sys v0.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
119119
golang.org/x/sys v0.8.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
120120
golang.org/x/sys v0.17.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
121121
golang.org/x/sys v0.20.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
122-
golang.org/x/sys v0.21.0 h1:rF+pYz3DAGSQAxAu1CbC7catZg4ebC4UIeIhKxBZvws=
123-
golang.org/x/sys v0.21.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
122+
golang.org/x/sys v0.22.0 h1:RI27ohtqKCnwULzJLqkv897zojh5/DwS/ENaMzUOaWI=
123+
golang.org/x/sys v0.22.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
124124
golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
125125
golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8=
126126
golang.org/x/term v0.5.0/go.mod h1:jMB1sMXY+tzblOD4FWmEbocvup2/aLOaQEp7JmGp78k=

pkg/linodeclient/stubclient/stubclient.go

+10-10
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ func (c *Client) CreateObjectStorageBucket(ctx context.Context, opt linodego.Obj
9191
return nil, err
9292
}
9393

94-
key := fmt.Sprintf("%s/%s", opt.Cluster, opt.Label)
94+
key := fmt.Sprintf("%s/%s", opt.Region, opt.Label)
9595

9696
bucket, ok := c.objectStorageBuckets[key]
9797
if ok {
@@ -106,7 +106,7 @@ func (c *Client) CreateObjectStorageBucket(ctx context.Context, opt linodego.Obj
106106

107107
bucket = &linodego.ObjectStorageBucket{
108108
Label: opt.Label,
109-
Cluster: opt.Cluster,
109+
Region: opt.Region,
110110
Hostname: fmt.Sprintf("%s.linodeobjects.com", opt.Label),
111111
}
112112
c.objectStorageBuckets[key] = bucket
@@ -126,12 +126,12 @@ func (c *Client) CreateObjectStorageBucket(ctx context.Context, opt linodego.Obj
126126
}
127127

128128
// GetObjectStorageBucket is a stub function that stubs the behavior of GetObjectStorageBucket call from linodego.Client.
129-
func (c *Client) GetObjectStorageBucket(ctx context.Context, clusterID, label string) (*linodego.ObjectStorageBucket, error) {
129+
func (c *Client) GetObjectStorageBucket(ctx context.Context, region, label string) (*linodego.ObjectStorageBucket, error) {
130130
if err := handleForcedFailure(ctx); err != nil {
131131
return nil, err
132132
}
133133

134-
key := fmt.Sprintf("%s/%s", clusterID, label)
134+
key := fmt.Sprintf("%s/%s", region, label)
135135

136136
obj, ok := c.objectStorageBuckets[key]
137137
if ok {
@@ -144,12 +144,12 @@ func (c *Client) GetObjectStorageBucket(ctx context.Context, clusterID, label st
144144
}
145145

146146
// DeleteObjectStorageBucket is a stub function that stubs the behavior of DeleteObjectStorageBucket call from linodego.Client.
147-
func (c *Client) DeleteObjectStorageBucket(ctx context.Context, clusterID, label string) error {
147+
func (c *Client) DeleteObjectStorageBucket(ctx context.Context, region, label string) error {
148148
if err := handleForcedFailure(ctx); err != nil {
149149
return err
150150
}
151151

152-
key := fmt.Sprintf("%s/%s", clusterID, label)
152+
key := fmt.Sprintf("%s/%s", region, label)
153153

154154
bucket, ok := c.objectStorageBuckets[key]
155155

@@ -169,12 +169,12 @@ func (c *Client) DeleteObjectStorageBucket(ctx context.Context, clusterID, label
169169
}
170170

171171
// GetObjectStorageBucketAccess is a stub function that stubs the behavior of GetObjectStorageBucketAccess call from linodego.Client.
172-
func (c *Client) GetObjectStorageBucketAccess(ctx context.Context, clusterID, label string) (*linodego.ObjectStorageBucketAccess, error) {
172+
func (c *Client) GetObjectStorageBucketAccess(ctx context.Context, region, label string) (*linodego.ObjectStorageBucketAccess, error) {
173173
if err := handleForcedFailure(ctx); err != nil {
174174
return nil, err
175175
}
176176

177-
key := fmt.Sprintf("%s/%s", clusterID, label)
177+
key := fmt.Sprintf("%s/%s", region, label)
178178

179179
obj, ok := c.objectStorageBucketAccesses[key]
180180
if ok {
@@ -187,12 +187,12 @@ func (c *Client) GetObjectStorageBucketAccess(ctx context.Context, clusterID, la
187187
}
188188

189189
// UpdateObjectStorageBucketAccess is a stub function that stubs the behavior of UpdateObjectStorageBucketAccess call from linodego.Client.
190-
func (c *Client) UpdateObjectStorageBucketAccess(ctx context.Context, clusterID, label string, opt linodego.ObjectStorageBucketUpdateAccessOptions) error {
190+
func (c *Client) UpdateObjectStorageBucketAccess(ctx context.Context, region, label string, opt linodego.ObjectStorageBucketUpdateAccessOptions) error {
191191
if err := handleForcedFailure(ctx); err != nil {
192192
return err
193193
}
194194

195-
key := fmt.Sprintf("%s/%s", clusterID, label)
195+
key := fmt.Sprintf("%s/%s", region, label)
196196

197197
access, ok := c.objectStorageBucketAccesses[key]
198198
if !ok {

0 commit comments

Comments
 (0)