Skip to content

Commit e5842a9

Browse files
committed
Merge remote-tracking branch 'origin/main' into feat/onboard-iaas-backup-api
2 parents e0e5ddd + d9564a8 commit e5842a9

File tree

24 files changed

+96
-103
lines changed

24 files changed

+96
-103
lines changed

.github/workflows/renovate.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
- name: Checkout
1414
uses: actions/checkout@v4
1515
- name: Self-hosted Renovate
16-
uses: renovatebot/[email protected].3
16+
uses: renovatebot/[email protected].4
1717
with:
1818
configurationFile: .github/renovate.json
1919
token: ${{ secrets.RENOVATE_TOKEN }}

go.mod

Lines changed: 22 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -2,41 +2,37 @@ module github.com/stackitcloud/stackit-cli
22

33
go 1.24
44

5-
replace (
6-
github.com/stackitcloud/stackit-sdk-go/services/iaas => /Users/bfuertsch/work/StackIT/stackit-sdk-go/services/iaas
7-
)
8-
95
require (
106
github.com/fatih/color v1.18.0
11-
github.com/goccy/go-yaml v1.17.1
7+
github.com/goccy/go-yaml v1.18.0
128
github.com/golang-jwt/jwt/v5 v5.2.2
139
github.com/google/go-cmp v0.7.0
1410
github.com/google/uuid v1.6.0
1511
github.com/inhies/go-bytesize v0.0.0-20220417184213-4913239db9cf
1612
github.com/jedib0t/go-pretty/v6 v6.6.7
17-
github.com/lmittmann/tint v1.1.0
13+
github.com/lmittmann/tint v1.1.1
1814
github.com/mattn/go-colorable v0.1.14
1915
github.com/spf13/cobra v1.9.1
2016
github.com/spf13/pflag v1.0.6
2117
github.com/spf13/viper v1.20.1
22-
github.com/stackitcloud/stackit-sdk-go/core v0.17.1
23-
github.com/stackitcloud/stackit-sdk-go/services/alb v0.3.1
24-
github.com/stackitcloud/stackit-sdk-go/services/authorization v0.6.3
18+
github.com/stackitcloud/stackit-sdk-go/core v0.17.2
19+
github.com/stackitcloud/stackit-sdk-go/services/alb v0.4.0
20+
github.com/stackitcloud/stackit-sdk-go/services/authorization v0.7.0
2521
github.com/stackitcloud/stackit-sdk-go/services/dns v0.15.0
26-
github.com/stackitcloud/stackit-sdk-go/services/git v0.3.3
27-
github.com/stackitcloud/stackit-sdk-go/services/iaas v0.22.2
22+
github.com/stackitcloud/stackit-sdk-go/services/git v0.5.0
23+
github.com/stackitcloud/stackit-sdk-go/services/iaas v0.23.0
2824
github.com/stackitcloud/stackit-sdk-go/services/mongodbflex v1.2.0
29-
github.com/stackitcloud/stackit-sdk-go/services/opensearch v0.22.0
30-
github.com/stackitcloud/stackit-sdk-go/services/postgresflex v1.0.4
31-
github.com/stackitcloud/stackit-sdk-go/services/resourcemanager v0.14.0
32-
github.com/stackitcloud/stackit-sdk-go/services/runcommand v1.1.0
33-
github.com/stackitcloud/stackit-sdk-go/services/secretsmanager v0.11.4
34-
github.com/stackitcloud/stackit-sdk-go/services/serverbackup v1.1.0
35-
github.com/stackitcloud/stackit-sdk-go/services/serverupdate v1.0.3
36-
github.com/stackitcloud/stackit-sdk-go/services/serviceaccount v0.7.0
37-
github.com/stackitcloud/stackit-sdk-go/services/serviceenablement v1.1.0
38-
github.com/stackitcloud/stackit-sdk-go/services/ske v0.23.0
39-
github.com/stackitcloud/stackit-sdk-go/services/sqlserverflex v1.1.0
25+
github.com/stackitcloud/stackit-sdk-go/services/opensearch v0.23.0
26+
github.com/stackitcloud/stackit-sdk-go/services/postgresflex v1.1.0
27+
github.com/stackitcloud/stackit-sdk-go/services/resourcemanager v0.15.0
28+
github.com/stackitcloud/stackit-sdk-go/services/runcommand v1.2.0
29+
github.com/stackitcloud/stackit-sdk-go/services/secretsmanager v0.12.0
30+
github.com/stackitcloud/stackit-sdk-go/services/serverbackup v1.2.0
31+
github.com/stackitcloud/stackit-sdk-go/services/serverupdate v1.1.0
32+
github.com/stackitcloud/stackit-sdk-go/services/serviceaccount v0.8.0
33+
github.com/stackitcloud/stackit-sdk-go/services/serviceenablement v1.2.0
34+
github.com/stackitcloud/stackit-sdk-go/services/ske v0.24.0
35+
github.com/stackitcloud/stackit-sdk-go/services/sqlserverflex v1.2.0
4036
github.com/zalando/go-keyring v0.2.6
4137
golang.org/x/mod v0.24.0
4238
golang.org/x/oauth2 v0.30.0
@@ -240,11 +236,11 @@ require (
240236
github.com/sourcegraph/conc v0.3.0 // indirect
241237
github.com/spf13/afero v1.14.0 // indirect
242238
github.com/spf13/cast v1.7.1 // indirect
243-
github.com/stackitcloud/stackit-sdk-go/services/loadbalancer v1.1.0
244-
github.com/stackitcloud/stackit-sdk-go/services/logme v0.23.0
239+
github.com/stackitcloud/stackit-sdk-go/services/loadbalancer v1.2.0
240+
github.com/stackitcloud/stackit-sdk-go/services/logme v0.24.0
245241
github.com/stackitcloud/stackit-sdk-go/services/mariadb v0.24.0
246-
github.com/stackitcloud/stackit-sdk-go/services/objectstorage v1.1.3
247-
github.com/stackitcloud/stackit-sdk-go/services/observability v0.6.0
242+
github.com/stackitcloud/stackit-sdk-go/services/objectstorage v1.2.0
243+
github.com/stackitcloud/stackit-sdk-go/services/observability v0.7.0
248244
github.com/stackitcloud/stackit-sdk-go/services/rabbitmq v0.24.0
249245
github.com/stackitcloud/stackit-sdk-go/services/redis v0.24.0
250246
github.com/subosito/gotenv v1.6.0 // indirect

go.sum

Lines changed: 44 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -213,8 +213,8 @@ github.com/go-xmlfmt/xmlfmt v1.1.3 h1:t8Ey3Uy7jDSEisW2K3somuMKIpzktkWptA0iFCnRUW
213213
github.com/go-xmlfmt/xmlfmt v1.1.3/go.mod h1:aUCEOzzezBEjDBbFBoSiya/gduyIiWYRP6CnSFIV8AM=
214214
github.com/gobwas/glob v0.2.3 h1:A4xDbljILXROh+kObIiy5kIaPYD8e96x1tgBhUI5J+Y=
215215
github.com/gobwas/glob v0.2.3/go.mod h1:d3Ez4x06l9bZtSvzIay5+Yzi0fmZzPgnTbPcKjJAkT8=
216-
github.com/goccy/go-yaml v1.17.1 h1:LI34wktB2xEE3ONG/2Ar54+/HJVBriAGJ55PHls4YuY=
217-
github.com/goccy/go-yaml v1.17.1/go.mod h1:XBurs7gK8ATbW4ZPGKgcbrY1Br56PdM69F7LkFRi1kA=
216+
github.com/goccy/go-yaml v1.18.0 h1:8W7wMFS12Pcas7KU+VVkaiCng+kG8QiFeFwzFb+rwuw=
217+
github.com/goccy/go-yaml v1.18.0/go.mod h1:XBurs7gK8ATbW4ZPGKgcbrY1Br56PdM69F7LkFRi1kA=
218218
github.com/godbus/dbus/v5 v5.1.0 h1:4KLkAxT3aOY8Li4FRJe/KvhoNFFxo0m6fNuFUO8QJUk=
219219
github.com/godbus/dbus/v5 v5.1.0/go.mod h1:xhWf0FNVPg57R7Z0UbKHbJfkEywrmjJnf7w5xrFpKfA=
220220
github.com/gofrs/flock v0.12.1 h1:MTLVXXHf8ekldpJk3AKicLij9MdwOWkZ+a/jHHZby9E=
@@ -400,8 +400,8 @@ github.com/ldez/usetesting v0.4.3 h1:pJpN0x3fMupdTf/IapYjnkhiY1nSTN+pox1/GyBRw3k
400400
github.com/ldez/usetesting v0.4.3/go.mod h1:eEs46T3PpQ+9RgN9VjpY6qWdiw2/QmfiDeWmdZdrjIQ=
401401
github.com/leonklingele/grouper v1.1.2 h1:o1ARBDLOmmasUaNDesWqWCIFH3u7hoFlM84YrjT3mIY=
402402
github.com/leonklingele/grouper v1.1.2/go.mod h1:6D0M/HVkhs2yRKRFZUoGjeDy7EZTfFBE9gl4kjmIGkA=
403-
github.com/lmittmann/tint v1.1.0 h1:0hDmvuGv3U+Cep/jHpPxwjrCFjT6syam7iY7nTmA7ug=
404-
github.com/lmittmann/tint v1.1.0/go.mod h1:HIS3gSy7qNwGCj+5oRjAutErFBl4BzdQP6cJZ0NfMwE=
403+
github.com/lmittmann/tint v1.1.1 h1:xmmGuinUsCSxWdwH1OqMUQ4tzQsq3BdjJLAAmVKJ9Dw=
404+
github.com/lmittmann/tint v1.1.1/go.mod h1:HIS3gSy7qNwGCj+5oRjAutErFBl4BzdQP6cJZ0NfMwE=
405405
github.com/macabu/inamedparam v0.2.0 h1:VyPYpOc10nkhI2qeNUdh3Zket4fcZjEWe35poddBCpE=
406406
github.com/macabu/inamedparam v0.2.0/go.mod h1:+Pee9/YfGe5LJ62pYXqB89lJ+0k5bsR8Wgz/C0Zlq3U=
407407
github.com/mailru/easyjson v0.7.7 h1:UGYAvKxe3sBsEDzO8ZeWOSlIQfWFlxbzLZe7hwFURr0=
@@ -562,56 +562,56 @@ github.com/spf13/viper v1.20.1 h1:ZMi+z/lvLyPSCoNtFCpqjy0S4kPbirhpTMwl8BkW9X4=
562562
github.com/spf13/viper v1.20.1/go.mod h1:P9Mdzt1zoHIG8m2eZQinpiBjo6kCmZSKBClNNqjJvu4=
563563
github.com/ssgreg/nlreturn/v2 v2.2.1 h1:X4XDI7jstt3ySqGU86YGAURbxw3oTDPK9sPEi6YEwQ0=
564564
github.com/ssgreg/nlreturn/v2 v2.2.1/go.mod h1:E/iiPB78hV7Szg2YfRgyIrk1AD6JVMTRkkxBiELzh2I=
565-
github.com/stackitcloud/stackit-sdk-go/core v0.17.1 h1:TTrVoB1lERd/qfWzpe6HpwCJSjtaGnUI7UE7ITb5IT0=
566-
github.com/stackitcloud/stackit-sdk-go/core v0.17.1/go.mod h1:8KIw3czdNJ9sdil9QQimxjR6vHjeINFrRv0iZ67wfn0=
567-
github.com/stackitcloud/stackit-sdk-go/services/alb v0.3.1 h1:7JbFIXiq3IlFST7N7kS0gxX5EKX/rYs87kUVtR00sHw=
568-
github.com/stackitcloud/stackit-sdk-go/services/alb v0.3.1/go.mod h1:IYXv5QX/LEYfF02eN1/1KKo979yPewWhrbhpRnG2yOg=
569-
github.com/stackitcloud/stackit-sdk-go/services/authorization v0.6.3 h1:aXVMNdiHCtT07bro52KjnxEBMDNK9DweJBlk+G4ElCM=
570-
github.com/stackitcloud/stackit-sdk-go/services/authorization v0.6.3/go.mod h1:dJ19ZwFjp2bfC5ZobXV3vUdSpE3quUw3GuoFSKLpHIo=
565+
github.com/stackitcloud/stackit-sdk-go/core v0.17.2 h1:jPyn+i8rkp2hM80+hOg0B/1EVRbMt778Tr5RWyK1m2E=
566+
github.com/stackitcloud/stackit-sdk-go/core v0.17.2/go.mod h1:8KIw3czdNJ9sdil9QQimxjR6vHjeINFrRv0iZ67wfn0=
567+
github.com/stackitcloud/stackit-sdk-go/services/alb v0.4.0 h1:l53lihnLUbAORdQPoUL2NlczWfeXfW5gHhoAIPsqGfI=
568+
github.com/stackitcloud/stackit-sdk-go/services/alb v0.4.0/go.mod h1:IYXv5QX/LEYfF02eN1/1KKo979yPewWhrbhpRnG2yOg=
569+
github.com/stackitcloud/stackit-sdk-go/services/authorization v0.7.0 h1:VpONplkdlEh7Pf22+cNnnHH4bx+S9QI+z55XYRE74JY=
570+
github.com/stackitcloud/stackit-sdk-go/services/authorization v0.7.0/go.mod h1:dJ19ZwFjp2bfC5ZobXV3vUdSpE3quUw3GuoFSKLpHIo=
571571
github.com/stackitcloud/stackit-sdk-go/services/dns v0.15.0 h1:GQAA9gqhKN0ZRc1vRYURHeVjSghh+iF+5DK0HdeuakI=
572572
github.com/stackitcloud/stackit-sdk-go/services/dns v0.15.0/go.mod h1:PMHoavoIaRZpkI9BA0nsnRjGoHASVSBon45XB3QyhMA=
573-
github.com/stackitcloud/stackit-sdk-go/services/git v0.3.3 h1:/NXxiJf/NFpj+DFXc07vsx+0he/xufdhIskXUlSeyyw=
574-
github.com/stackitcloud/stackit-sdk-go/services/git v0.3.3/go.mod h1:XhXHJpOVC9Rpwyf1G+EpMbprBafH9aZb8vWBdR+z0WM=
575-
github.com/stackitcloud/stackit-sdk-go/services/iaas v0.22.2 h1:zh6e2eHgqex++fr6N0RK7wMMBGesC3QhBd42FdTq2Z8=
576-
github.com/stackitcloud/stackit-sdk-go/services/iaas v0.22.2/go.mod h1:QNH50Pq0Hu21lLDOwa02PIjRjTl0LfEdHoz5snGQRn8=
577-
github.com/stackitcloud/stackit-sdk-go/services/loadbalancer v1.1.0 h1:9gUobm//GzVGYTbfa39tNRceEjQskNuNVZyUS9rOZ4Y=
578-
github.com/stackitcloud/stackit-sdk-go/services/loadbalancer v1.1.0/go.mod h1:h3oM6cS23Yfynp8Df1hNr0FxtY5Alii/2g8Wqi5SIVE=
579-
github.com/stackitcloud/stackit-sdk-go/services/logme v0.23.0 h1:ksxHeILZutooun0Hy/cY8qikC9owya1UDJR+FSQSlRw=
580-
github.com/stackitcloud/stackit-sdk-go/services/logme v0.23.0/go.mod h1:+3jizYma6Dq3XVn6EMMdSBF9eIm0w6hCJvrStB3AIL0=
573+
github.com/stackitcloud/stackit-sdk-go/services/git v0.5.0 h1:s0A2EPBrnBxfKStKA/B1izbyYHw/0m2RdqN3Inkv9hI=
574+
github.com/stackitcloud/stackit-sdk-go/services/git v0.5.0/go.mod h1:XhXHJpOVC9Rpwyf1G+EpMbprBafH9aZb8vWBdR+z0WM=
575+
github.com/stackitcloud/stackit-sdk-go/services/iaas v0.23.0 h1:3D34kZSosO25ydqUz72y8sg6yigthKf35DO8SFUyzFU=
576+
github.com/stackitcloud/stackit-sdk-go/services/iaas v0.23.0/go.mod h1:QNH50Pq0Hu21lLDOwa02PIjRjTl0LfEdHoz5snGQRn8=
577+
github.com/stackitcloud/stackit-sdk-go/services/loadbalancer v1.2.0 h1:gaTgjmEIvq7Nmji5YHh1haFvA/8dWyOgCg3lw6drjL4=
578+
github.com/stackitcloud/stackit-sdk-go/services/loadbalancer v1.2.0/go.mod h1:h3oM6cS23Yfynp8Df1hNr0FxtY5Alii/2g8Wqi5SIVE=
579+
github.com/stackitcloud/stackit-sdk-go/services/logme v0.24.0 h1:5J2TH9ig5cp+5pCHugrsDJuFsRnIOQHQUqsxlweRXL0=
580+
github.com/stackitcloud/stackit-sdk-go/services/logme v0.24.0/go.mod h1:+3jizYma6Dq3XVn6EMMdSBF9eIm0w6hCJvrStB3AIL0=
581581
github.com/stackitcloud/stackit-sdk-go/services/mariadb v0.24.0 h1:t/Ten9AuoWFmrDq5gAI3kVZShF3i8zEAaeBsYYqiaao=
582582
github.com/stackitcloud/stackit-sdk-go/services/mariadb v0.24.0/go.mod h1:qgvi3qiAzB1wKpMJ5CPnEaUToeiwgnQxGvlkjdisaLU=
583583
github.com/stackitcloud/stackit-sdk-go/services/mongodbflex v1.2.0 h1:U/IhjLOz0vG6zuxTqGhBd8f609s6JB+X9PaL6x/VM58=
584584
github.com/stackitcloud/stackit-sdk-go/services/mongodbflex v1.2.0/go.mod h1:+JSnz5/AvGN5ek/iH008frRc/NgjSr1EVOTIbyLwAuQ=
585-
github.com/stackitcloud/stackit-sdk-go/services/objectstorage v1.1.3 h1:RFe45uLzTSmd69yaQe5zLDY3+1hYi6/lSZUVcjbb6+c=
586-
github.com/stackitcloud/stackit-sdk-go/services/objectstorage v1.1.3/go.mod h1:iCOYS9yICXQPyMAIdUGMqJDLY8HXKiVAdiMzO/mPvtA=
587-
github.com/stackitcloud/stackit-sdk-go/services/observability v0.6.0 h1:QqlFcMv/TbIG95u/xHB/9aLvElplj1lKnTIyUSwEtT4=
588-
github.com/stackitcloud/stackit-sdk-go/services/observability v0.6.0/go.mod h1:1gMNjPCqT868oIqdWGkiReS1G/qpM4bYKYBmDRi8sqg=
589-
github.com/stackitcloud/stackit-sdk-go/services/opensearch v0.22.0 h1:XDt4NCiWdpjbbw9UevsxLJ3SGkO1bSoJnV96RSHNNoI=
590-
github.com/stackitcloud/stackit-sdk-go/services/opensearch v0.22.0/go.mod h1:c30J6f/fXtbzcHkH3ZcabZUek3wfy5CRnEkcW5e5yXg=
591-
github.com/stackitcloud/stackit-sdk-go/services/postgresflex v1.0.4 h1:AIQueG1oSdKbxK8ASZZYkmqzJ7NhKzKcR5AQsndoF18=
592-
github.com/stackitcloud/stackit-sdk-go/services/postgresflex v1.0.4/go.mod h1:4g/L5PHfz1xk3udEhvPy2nXiH4UgRO5Cj6iwUa7k5VQ=
585+
github.com/stackitcloud/stackit-sdk-go/services/objectstorage v1.2.0 h1:+dKIPVz9ydKbX3x6+1NvYk++OA378w74p+N6SjDmzBQ=
586+
github.com/stackitcloud/stackit-sdk-go/services/objectstorage v1.2.0/go.mod h1:iCOYS9yICXQPyMAIdUGMqJDLY8HXKiVAdiMzO/mPvtA=
587+
github.com/stackitcloud/stackit-sdk-go/services/observability v0.7.0 h1:TMHTJvVZj2Ne0tBgKxeSB5kUVP0dx3WQ2YZhbSIMp0E=
588+
github.com/stackitcloud/stackit-sdk-go/services/observability v0.7.0/go.mod h1:1gMNjPCqT868oIqdWGkiReS1G/qpM4bYKYBmDRi8sqg=
589+
github.com/stackitcloud/stackit-sdk-go/services/opensearch v0.23.0 h1:/OaZCyrD8LFa4W6a2Vu2QSVMJwLLBr8ZdBKzX00MV1Q=
590+
github.com/stackitcloud/stackit-sdk-go/services/opensearch v0.23.0/go.mod h1:c30J6f/fXtbzcHkH3ZcabZUek3wfy5CRnEkcW5e5yXg=
591+
github.com/stackitcloud/stackit-sdk-go/services/postgresflex v1.1.0 h1:r29a9GoBLVw2VZSzdPftlIsE5t7shdxobwoT6NVUIjU=
592+
github.com/stackitcloud/stackit-sdk-go/services/postgresflex v1.1.0/go.mod h1:4g/L5PHfz1xk3udEhvPy2nXiH4UgRO5Cj6iwUa7k5VQ=
593593
github.com/stackitcloud/stackit-sdk-go/services/rabbitmq v0.24.0 h1:YEfhKt3T25uY7vs8QcAPfdTs1GLil0BcrLCJ5RhMyR0=
594594
github.com/stackitcloud/stackit-sdk-go/services/rabbitmq v0.24.0/go.mod h1:9JoCgKe2IKmawcuAYIuxrAMMb6pk5XiY80Z3sU7IWy0=
595595
github.com/stackitcloud/stackit-sdk-go/services/redis v0.24.0 h1:FZdQwBKyW86l1EwiEUSDsAfhF9si337kNAnagz9ND6A=
596596
github.com/stackitcloud/stackit-sdk-go/services/redis v0.24.0/go.mod h1:mID7cr40WzI4wdvveYhLzvkk+zPfolfo5+VcDGo5slU=
597-
github.com/stackitcloud/stackit-sdk-go/services/resourcemanager v0.14.0 h1:Rpbt83RyXS0AMw97g5L9oQdCAmVBGAyHpeCcDXesuEk=
598-
github.com/stackitcloud/stackit-sdk-go/services/resourcemanager v0.14.0/go.mod h1:Picm0mP7TUBTAu+MzWtedz61LczMnWH4ghPjwB/g5DE=
599-
github.com/stackitcloud/stackit-sdk-go/services/runcommand v1.1.0 h1:nvwaviIDf5ffAydfQBrl48K1nPowyDq05ompo9ZzFzY=
600-
github.com/stackitcloud/stackit-sdk-go/services/runcommand v1.1.0/go.mod h1:qId86UiowpDDs0L+mstdzz3xXtnW+R56wh7q8CQltb4=
601-
github.com/stackitcloud/stackit-sdk-go/services/secretsmanager v0.11.4 h1:UCX1qy44q22bDGv7BhLtOrWCzriS9m4MQsIOX6n+lgM=
602-
github.com/stackitcloud/stackit-sdk-go/services/secretsmanager v0.11.4/go.mod h1:iD7R3CNdLUDUyKP+lATsQy+V4QGMMOb15zPnNq4wnbs=
603-
github.com/stackitcloud/stackit-sdk-go/services/serverbackup v1.1.0 h1:cKQAuKSihSX1Jpacub2rZ1StItiO7SIO0y+Fi2yukd4=
604-
github.com/stackitcloud/stackit-sdk-go/services/serverbackup v1.1.0/go.mod h1:j2GV/ePXEccwq0WV7DtmKpsZcJ2X45Be3D4oAlJdddo=
605-
github.com/stackitcloud/stackit-sdk-go/services/serverupdate v1.0.3 h1:iLyXsBF+lP7iE4rnoK3hO8l4wHcgySRXD65oeUgt6Jc=
606-
github.com/stackitcloud/stackit-sdk-go/services/serverupdate v1.0.3/go.mod h1:5F7/2BiKhrbvHD56mj5xR9qf8P0V2yMgeitmdIpQv4s=
607-
github.com/stackitcloud/stackit-sdk-go/services/serviceaccount v0.7.0 h1:QiHkjmforciAfBnf/oMjGmoZWYYD38ZrgLNWK149xQQ=
608-
github.com/stackitcloud/stackit-sdk-go/services/serviceaccount v0.7.0/go.mod h1:e3WMlYcUZZ5bpndWuCrxEQqIOPsYPuus9O/EG2eIfG4=
609-
github.com/stackitcloud/stackit-sdk-go/services/serviceenablement v1.1.0 h1:Wb/eEqbnwLw+lsTlAC8qTFoLMtXOTWcZDUDSiUB7GnM=
610-
github.com/stackitcloud/stackit-sdk-go/services/serviceenablement v1.1.0/go.mod h1:TYWEik7b2aJrCJrRWU3mn1p1hmShCwizRthT3xl6z0o=
611-
github.com/stackitcloud/stackit-sdk-go/services/ske v0.23.0 h1:kPAYBLDJC8W3GvDt+KtqDl2EZJgbU9l1tUj0JbCWA+4=
612-
github.com/stackitcloud/stackit-sdk-go/services/ske v0.23.0/go.mod h1:nJTJ3qT2xHmOs2aqQgBPfOLp322gE9pvpRaluTlRmN8=
613-
github.com/stackitcloud/stackit-sdk-go/services/sqlserverflex v1.1.0 h1:awy7JzBwAVJEKcJVt1DBZtZ0qtdT2aEuWCkgQvKky9w=
614-
github.com/stackitcloud/stackit-sdk-go/services/sqlserverflex v1.1.0/go.mod h1:CyYJqR0tZWs2r5bGz69j4bmvhxdsd4QLCm1Uf+LouB0=
597+
github.com/stackitcloud/stackit-sdk-go/services/resourcemanager v0.15.0 h1:lFxbZmcD+YyMVN35k2UxCpGoqhR+FyfgaOEcdWSOrwQ=
598+
github.com/stackitcloud/stackit-sdk-go/services/resourcemanager v0.15.0/go.mod h1:Picm0mP7TUBTAu+MzWtedz61LczMnWH4ghPjwB/g5DE=
599+
github.com/stackitcloud/stackit-sdk-go/services/runcommand v1.2.0 h1:fMtKiC1VwABJXckRTyxLWWMDCNrbVdpCwQ63aBKgR5k=
600+
github.com/stackitcloud/stackit-sdk-go/services/runcommand v1.2.0/go.mod h1:qId86UiowpDDs0L+mstdzz3xXtnW+R56wh7q8CQltb4=
601+
github.com/stackitcloud/stackit-sdk-go/services/secretsmanager v0.12.0 h1:oGR3wRC0xfX2Itpwbh/SrT/k2fnmMSzvy2U9U2lDQPs=
602+
github.com/stackitcloud/stackit-sdk-go/services/secretsmanager v0.12.0/go.mod h1:iD7R3CNdLUDUyKP+lATsQy+V4QGMMOb15zPnNq4wnbs=
603+
github.com/stackitcloud/stackit-sdk-go/services/serverbackup v1.2.0 h1:h3tF+yBqrFeRpvyeeGTM33ExA/YYbjwfKYvuZj7gQyM=
604+
github.com/stackitcloud/stackit-sdk-go/services/serverbackup v1.2.0/go.mod h1:j2GV/ePXEccwq0WV7DtmKpsZcJ2X45Be3D4oAlJdddo=
605+
github.com/stackitcloud/stackit-sdk-go/services/serverupdate v1.1.0 h1:WJA2v8XCISdrcbnJXstsjVE+QAFVsDpfJHNp0ORe1Bc=
606+
github.com/stackitcloud/stackit-sdk-go/services/serverupdate v1.1.0/go.mod h1:5F7/2BiKhrbvHD56mj5xR9qf8P0V2yMgeitmdIpQv4s=
607+
github.com/stackitcloud/stackit-sdk-go/services/serviceaccount v0.8.0 h1:rgSKhgnybB3vrAKAafnuOLjyhn4LtxUxvmgmi810N3U=
608+
github.com/stackitcloud/stackit-sdk-go/services/serviceaccount v0.8.0/go.mod h1:e3WMlYcUZZ5bpndWuCrxEQqIOPsYPuus9O/EG2eIfG4=
609+
github.com/stackitcloud/stackit-sdk-go/services/serviceenablement v1.2.0 h1:7CETDuCaEkA+YDbje6jaWhWO8w05lVxELTs93he9YG8=
610+
github.com/stackitcloud/stackit-sdk-go/services/serviceenablement v1.2.0/go.mod h1:TYWEik7b2aJrCJrRWU3mn1p1hmShCwizRthT3xl6z0o=
611+
github.com/stackitcloud/stackit-sdk-go/services/ske v0.24.0 h1:VuX2xLDdPeeXH2+E4FPnTRxGXu68cI62titv4W1V5ic=
612+
github.com/stackitcloud/stackit-sdk-go/services/ske v0.24.0/go.mod h1:nJTJ3qT2xHmOs2aqQgBPfOLp322gE9pvpRaluTlRmN8=
613+
github.com/stackitcloud/stackit-sdk-go/services/sqlserverflex v1.2.0 h1:WvPLO1c7oT/MWmCRTt7jRyxus2g3DIluIW5iAsUpSFM=
614+
github.com/stackitcloud/stackit-sdk-go/services/sqlserverflex v1.2.0/go.mod h1:CyYJqR0tZWs2r5bGz69j4bmvhxdsd4QLCm1Uf+LouB0=
615615
github.com/stbenjam/no-sprintf-host-port v0.2.0 h1:i8pxvGrt1+4G0czLr/WnmyH7zbZ8Bg8etvARQ1rpyl4=
616616
github.com/stbenjam/no-sprintf-host-port v0.2.0/go.mod h1:eL0bQ9PasS0hsyTyfTjjG+E80QIyPnBVQbYZyv20Jfk=
617617
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=

internal/cmd/beta/alb/list/list_test.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@ import (
55
"strconv"
66
"testing"
77

8+
"github.com/google/go-cmp/cmp/cmpopts"
89
"github.com/stackitcloud/stackit-cli/internal/cmd/params"
910
"github.com/stackitcloud/stackit-cli/internal/pkg/globalflags"
1011
"github.com/stackitcloud/stackit-cli/internal/pkg/print"
1112

1213
"github.com/google/go-cmp/cmp"
13-
"github.com/google/go-cmp/cmp/cmpopts"
1414
"github.com/google/uuid"
1515
"github.com/stackitcloud/stackit-sdk-go/services/alb"
1616
)
@@ -49,7 +49,7 @@ func fixtureInputModel(mods ...func(model *inputModel)) *inputModel {
4949
}
5050

5151
func fixtureRequest(mods ...func(request *alb.ApiListLoadBalancersRequest)) alb.ApiListLoadBalancersRequest {
52-
request := testClient.ListLoadBalancers(context.Background(), testProjectId, testRegion)
52+
request := testClient.ListLoadBalancers(testCtx, testProjectId, testRegion)
5353
for _, mod := range mods {
5454
mod(&request)
5555
}
@@ -160,7 +160,6 @@ func TestBuildRequest(t *testing.T) {
160160
diff := cmp.Diff(request, tt.expectedRequest,
161161
cmp.AllowUnexported(tt.expectedRequest),
162162
cmpopts.EquateComparable(testCtx),
163-
cmpopts.IgnoreFields(alb.ApiListLoadBalancersRequest{}, "ctx"),
164163
)
165164
if diff != "" {
166165
t.Fatalf("Data does not match: %s", diff)

internal/cmd/beta/alb/plans/plans_test.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,6 @@ func TestBuildRequest(t *testing.T) {
156156
diff := cmp.Diff(request, tt.expectedRequest,
157157
cmp.AllowUnexported(tt.expectedRequest),
158158
cmpopts.EquateComparable(testCtx),
159-
cmpopts.IgnoreFields(alb.ApiListLoadBalancersRequest{}, "ctx"),
160159
)
161160
if diff != "" {
162161
t.Fatalf("Data does not match: %s", diff)

internal/cmd/beta/alb/quotas/quotas_test.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,6 @@ func TestBuildRequest(t *testing.T) {
156156
diff := cmp.Diff(request, tt.expectedRequest,
157157
cmp.AllowUnexported(tt.expectedRequest),
158158
cmpopts.EquateComparable(testCtx),
159-
cmpopts.IgnoreFields(alb.ApiListLoadBalancersRequest{}, "ctx"),
160159
)
161160
if diff != "" {
162161
t.Fatalf("Data does not match: %s", diff)

internal/cmd/git/create/create_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ func TestBuildRequest(t *testing.T) {
184184
model.Name = "new-name"
185185
}),
186186
expectedRequest: fixtureRequest(func(request *git.ApiCreateInstanceRequest) {
187-
*request = request.CreateInstancePayload(fixtureCreatePayload(func(payload *git.CreateInstancePayload) {
187+
*request = (*request).CreateInstancePayload(fixtureCreatePayload(func(payload *git.CreateInstancePayload) {
188188
payload.Name = utils.Ptr("new-name")
189189
}))
190190
}),

0 commit comments

Comments
 (0)