Skip to content

chore(lb): update cassette on attach/detach private network #4623

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 31, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ require (
github.com/mattn/go-isatty v0.0.20
github.com/moby/buildkit v0.13.2
github.com/opencontainers/go-digest v1.0.0
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.33.0.20250327145452-20e9e72214ed
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.33.0.20250331103057-9ba2b07cedf3
github.com/skratchdot/open-golang v0.0.0-20200116055534-eef842397966
github.com/spf13/cobra v1.9.1
github.com/spf13/pflag v1.0.6
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -462,8 +462,8 @@ github.com/rogpeppe/go-internal v1.11.0/go.mod h1:ddIwULY96R17DhadqLgMfk9H9tvdUz
github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06 h1:OkMGxebDjyw0ULyrTYWeN0UNCCkmCWfjPnIA2W6oviI=
github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06/go.mod h1:+ePHsJ1keEjQtpvf9HHw0f4ZeJ0TLRsxhunSI2hYJSs=
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.33.0.20250327145452-20e9e72214ed h1:klCw4VdfiQ+nTqNoY8ymobNj0ZYs5oDQ9A6ilvndopg=
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.33.0.20250327145452-20e9e72214ed/go.mod h1:792k1RTU+5JeMXm35/e2Wgp71qPH/DmDoZrRc+EFZDk=
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.33.0.20250331103057-9ba2b07cedf3 h1:KNur0AcnbYdoNWt4octc3EgBbwADaDNMZh9yZj5m2Z8=
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.33.0.20250331103057-9ba2b07cedf3/go.mod h1:792k1RTU+5JeMXm35/e2Wgp71qPH/DmDoZrRc+EFZDk=
github.com/sclevine/spec v1.4.0 h1:z/Q9idDcay5m5irkZ28M7PtQM4aOISzOpj4bUPkDee8=
github.com/sclevine/spec v1.4.0/go.mod h1:LvpgJaFyvQzRvc1kaDs0bulYwzC70PbiYjC4QnFHkOM=
github.com/secure-systems-lab/go-securesystemslib v0.8.0 h1:mr5An6X45Kb2nddcFlbmfHkLguCE9laoZCUzEEpIZXA=
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ interactions:
- application/json
User-Agent:
- scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.4; darwin; amd64) cli-e2e-test
url: https://api.scaleway.com/lb/v1/zones/fr-par-1/lbs/7a0c3a08-e13a-46f8-b0a2-1423625bb0ef/private-networks/f6dd3849-441c-4dae-988a-93a673ad72d7/attach
url: https://api.scaleway.com/lb/v1/zones/fr-par-1/lbs/7a0c3a08-e13a-46f8-b0a2-1423625bb0ef/attach-private-network
method: POST
response:
body: '{"lb":{"id":"7a0c3a08-e13a-46f8-b0a2-1423625bb0ef", "name":"cli-test",
Expand Down Expand Up @@ -391,7 +391,7 @@ interactions:
- application/json
User-Agent:
- scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.4; darwin; amd64) cli-e2e-test
url: https://api.scaleway.com/lb/v1/zones/fr-par-1/lbs/7a0c3a08-e13a-46f8-b0a2-1423625bb0ef/private-networks/f6dd3849-441c-4dae-988a-93a673ad72d7/detach
url: https://api.scaleway.com/lb/v1/zones/fr-par-1/lbs/7a0c3a08-e13a-46f8-b0a2-1423625bb0ef/detach-private-network
method: POST
response:
body: ""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1721,7 +1721,7 @@ interactions:
- application/json
User-Agent:
- scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.4; darwin; arm64) cli-e2e-test
url: https://api.scaleway.com/lb/v1/zones/fr-par-1/lbs/f072f5f0-2237-4f33-80aa-6d6ea7a763ad/private-networks/82e2935f-1e06-46cb-83a9-ad664aedd289/attach
url: https://api.scaleway.com/lb/v1/zones/fr-par-1/lbs/f072f5f0-2237-4f33-80aa-6d6ea7a763ad/attach-private-network
method: POST
response:
body: '{"lb":{"id":"f072f5f0-2237-4f33-80aa-6d6ea7a763ad","name":"cli-test","description":"cli-test","status":"ready","instances":[{"id":"a1715e84-5bbf-45ff-826b-5840fbe3b816","status":"ready","ip_address":"","created_at":"2025-01-30T16:55:01.596231Z","updated_at":"2025-01-30T17:00:14.260850Z","region":"fr-par","zone":"fr-par-1"}],"organization_id":"ee7bd9e1-9cbd-4724-b2f4-19e50f3cf38b","project_id":"ee7bd9e1-9cbd-4724-b2f4-19e50f3cf38b","ip":[{"id":"41a54fa2-b025-4455-ad9f-66e8dc0cd99c","ip_address":"51.159.9.201","organization_id":"ee7bd9e1-9cbd-4724-b2f4-19e50f3cf38b","project_id":"ee7bd9e1-9cbd-4724-b2f4-19e50f3cf38b","lb_id":"f072f5f0-2237-4f33-80aa-6d6ea7a763ad","reverse":"51-159-9-201.lb.fr-par.scw.cloud","tags":[],"region":"fr-par","zone":"fr-par-1"}],"tags":[],"frontend_count":0,"backend_count":0,"type":"lb-s","subscriber":null,"ssl_compatibility_level":"ssl_compatibility_level_intermediate","created_at":"2025-01-30T17:00:11.424424Z","updated_at":"2025-01-30T17:00:15.872226Z","private_network_count":1,"route_count":0,"region":"fr-par","zone":"fr-par-1"},"private_network_id":"82e2935f-1e06-46cb-83a9-ad664aedd289","status":"pending","created_at":"2025-01-30T17:00:16.309513576Z","updated_at":"2025-01-30T17:00:16.309513576Z","dhcp_config":{"ip_id":null},"ipam_ids":[]}'
Expand Down Expand Up @@ -3434,7 +3434,7 @@ interactions:
- application/json
User-Agent:
- scaleway-sdk-go/v1.0.0-beta.7+dev (go1.23.4; darwin; arm64) cli-e2e-test
url: https://api.scaleway.com/lb/v1/zones/fr-par-1/lbs/f072f5f0-2237-4f33-80aa-6d6ea7a763ad/private-networks/82e2935f-1e06-46cb-83a9-ad664aedd289/detach
url: https://api.scaleway.com/lb/v1/zones/fr-par-1/lbs/f072f5f0-2237-4f33-80aa-6d6ea7a763ad/detach-private-network
method: POST
response:
body: ""
Expand Down
Loading