Skip to content

Commit ae07f85

Browse files
authored
feat(apple_silicon): add infos on server type (#3830)
1 parent e00d962 commit ae07f85

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ require (
2525
github.com/mattn/go-isatty v0.0.20
2626
github.com/moby/buildkit v0.13.2
2727
github.com/opencontainers/go-digest v1.0.0
28-
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.26.0.20240521144304-79882c91683a
28+
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.26.0.20240523151809-bfeabbbb4b57
2929
github.com/skratchdot/open-golang v0.0.0-20200116055534-eef842397966
3030
github.com/spf13/cobra v1.8.0
3131
github.com/spf13/pflag v1.0.5

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -453,8 +453,8 @@ github.com/rogpeppe/go-internal v1.11.0/go.mod h1:ddIwULY96R17DhadqLgMfk9H9tvdUz
453453
github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
454454
github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06 h1:OkMGxebDjyw0ULyrTYWeN0UNCCkmCWfjPnIA2W6oviI=
455455
github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06/go.mod h1:+ePHsJ1keEjQtpvf9HHw0f4ZeJ0TLRsxhunSI2hYJSs=
456-
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.26.0.20240521144304-79882c91683a h1:j/vI/iuH7c+3ijgBHebulAkmYK/J6fyPamyjFJ1rndo=
457-
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.26.0.20240521144304-79882c91683a/go.mod h1:fCa7OJZ/9DRTnOKmxvT6pn+LPWUptQAmHF/SBJUGEcg=
456+
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.26.0.20240523151809-bfeabbbb4b57 h1:sCS0CwDgRXEn2OEm3QYJvoxjNdIcg0cYhkQGyhJ57Wk=
457+
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.26.0.20240523151809-bfeabbbb4b57/go.mod h1:fCa7OJZ/9DRTnOKmxvT6pn+LPWUptQAmHF/SBJUGEcg=
458458
github.com/sclevine/spec v1.4.0 h1:z/Q9idDcay5m5irkZ28M7PtQM4aOISzOpj4bUPkDee8=
459459
github.com/sclevine/spec v1.4.0/go.mod h1:LvpgJaFyvQzRvc1kaDs0bulYwzC70PbiYjC4QnFHkOM=
460460
github.com/secure-systems-lab/go-securesystemslib v0.8.0 h1:mr5An6X45Kb2nddcFlbmfHkLguCE9laoZCUzEEpIZXA=

internal/namespaces/applesilicon/v1alpha1/testdata/test-server-type-list-base.golden

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ M1-M Apple M1 (8 cores) 8.0 GB 256 GB low stock 1 days
77
{
88
"cpu": {
99
"name": "Apple M1",
10-
"core_count": 8
10+
"core_count": 8,
11+
"frequency": 0
1112
},
1213
"disk": {
1314
"capacity": 256000000000,
@@ -20,6 +21,8 @@ M1-M Apple M1 (8 cores) 8.0 GB 256 GB low stock 1 days
2021
},
2122
"stock": "low_stock",
2223
"minimum_lease_duration": "86400.000000000s",
24+
"gpu": null,
25+
"network": null,
2326
"default_os": null
2427
}
2528
]

0 commit comments

Comments
 (0)