Skip to content

Commit 57a45bb

Browse files
authored
Merge branch 'main' into stackit-cli-flow
2 parents a1154da + 60b3c2c commit 57a45bb

File tree

337 files changed

+43790
-9641
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

337 files changed

+43790
-9641
lines changed

CHANGELOG.md

Lines changed: 142 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,148 @@
1-
## Release (2025-XX-YY)
1+
## Release (2025-05-21)
22
- `core`: [v0.17.2](core/CHANGELOG.md#v0172-2025-05-21)
33
- **New:** Add STACKIT CLI auth flow.
44

5+
## Release (2025-05-15)
6+
- `alb`:
7+
- [v0.4.0](services/alb/CHANGELOG.md#v040-2025-05-15)
8+
- **Breaking change:** Introduce interfaces for `APIClient` and the request structs
9+
- [v0.3.1](services/alb/CHANGELOG.md#v031-2025-05-15)
10+
- **Feature:** New field `Path` for `Rule`
11+
- [v0.3.0](services/alb/CHANGELOG.md#v030-2025-05-14)
12+
- **Breaking change:** Introduce typed enum constants for status attributes
13+
- `authorization`: [v0.7.0](services/authorization/CHANGELOG.md#v070-2025-05-15)
14+
- **Breaking change:** Introduce interfaces for `APIClient` and the request structs
15+
- `cdn`:
16+
- [v1.2.0](services/cdn/CHANGELOG.md#v120-2025-05-15)
17+
- **Breaking change:** Introduce interfaces for `APIClient` and the request structs
18+
- [v1.1.0](services/cdn/CHANGELOG.md#v110-2025-05-14)
19+
- **Breaking change:** Introduce typed enum constants for status attributes
20+
- `certificates`: [v1.1.0](services/certificates/CHANGELOG.md#v110-2025-05-15)
21+
- **Breaking change:** Introduce interfaces for `APIClient` and the request structs
22+
- `dns`:
23+
- [v0.15.0](services/dns/CHANGELOG.md#v0150-2025-05-15)
24+
- **Breaking change:** Introduce interfaces for `APIClient` and the request structs
25+
- [v0.14.0](services/dns/CHANGELOG.md#v0140-2025-05-14)
26+
- **Breaking change:** Introduce typed enum constants for status attributes
27+
- `git`:
28+
- [v0.5.0](services/git/CHANGELOG.md#v050-2025-05-15)
29+
- **Breaking change:** Introduce interfaces for `APIClient` and the request structs
30+
- [v0.4.0](services/git/CHANGELOG.md#v040-2025-05-14)
31+
- **Breaking change:** Introduce typed enum constants for status attributes
32+
- `iaas`: [v0.23.0](services/iaas/CHANGELOG.md#v0230-2025-05-15)
33+
- **Breaking change:** Introduce interfaces for `APIClient` and the request structs
34+
- `kms`:
35+
- [v0.2.0](services/kms/CHANGELOG.md#v020-2025-05-15)
36+
- **Breaking change:** Introduce interfaces for `APIClient` and the request structs
37+
- [v0.1.0](services/kms/CHANGELOG.md#v010-2025-05-14)
38+
- **Breaking change:** Introduce typed enum constants for status attributes
39+
- `lbapplication`:
40+
- [v0.5.0](services/lbapplication/CHANGELOG.md#v050-2025-05-15)
41+
- **Breaking change:** Introduce interfaces for `APIClient` and the request structs
42+
- [v0.4.0](services/lbapplication/CHANGELOG.md#v040-2025-05-14)
43+
- **Breaking change:** Introduce typed enum constants for status attributes
44+
- **Deprecated:** `lbapplication` service is deprecated and no longer maintained. Use the `alb` service instead
45+
- `loadbalancer`:
46+
- [v1.2.0](services/loadbalancer/CHANGELOG.md#v120-2025-05-15)
47+
- **Breaking change:** Introduce interfaces for `APIClient` and the request structs
48+
- [v1.1.0](services/loadbalancer/CHANGELOG.md#v110-2025-05-14)
49+
- **Breaking change:** Introduce typed enum constants for status attributes
50+
- `logme`:
51+
- [v0.24.0](services/logme/CHANGELOG.md#v0240-2025-05-15)
52+
- **Breaking change:** Introduce interfaces for `APIClient` and the request structs
53+
- [v0.23.0](services/logme/CHANGELOG.md#v0230-2025-05-14)
54+
- **Breaking change:** Introduce typed enum constants for status attributes
55+
- `mariadb`:
56+
- [v0.24.0](services/mariadb/CHANGELOG.md#v0240-2025-05-15)
57+
- **Breaking change:** Introduce interfaces for `APIClient` and the request structs
58+
- [v0.23.0](services/mariadb/CHANGELOG.md#v0230-2025-05-14)
59+
- **Breaking change:** Introduce typed enum constants for status attributes
60+
- `modelserving`:
61+
- [v0.4.0](services/modelserving/CHANGELOG.md#v040-2025-05-15)
62+
- **Breaking change:** Introduce interfaces for `APIClient` and the request structs
63+
- [v0.3.0](services/modelserving/CHANGELOG.md#v030-2025-05-14)
64+
- **Breaking change:** Introduce typed enum constants for status attributes
65+
- `mongodbflex`:
66+
- [v1.2.0](services/mongodbflex/CHANGELOG.md#v120-2025-05-15)
67+
- **Breaking change:** Introduce interfaces for `APIClient` and the request structs
68+
- [v1.1.0](services/mongodbflex/CHANGELOG.md#v110-2025-05-14)
69+
- **Breaking change:** Introduce typed enum constants for status attributes
70+
- `objectstorage`: [v1.2.0](services/objectstorage/CHANGELOG.md#v120-2025-05-15)
71+
- **Breaking change:** Introduce interfaces for `APIClient` and the request structs
72+
- `observability`:
73+
- [v0.7.0](services/observability/CHANGELOG.md#v070-2025-05-15)
74+
- **Breaking change:** Introduce interfaces for `APIClient` and the request structs
75+
- [v0.6.0](services/observability/CHANGELOG.md#v060-2025-05-14)
76+
- **Breaking change:** Introduce typed enum constants for status attributes
77+
- `opensearch`:
78+
- [v0.23.0](services/opensearch/CHANGELOG.md#v0230-2025-05-15)
79+
- **Breaking change:** Introduce interfaces for `APIClient` and the request structs
80+
- [v0.22.0](services/opensearch/CHANGELOG.md#v0220-2025-05-14)
81+
- **Breaking change:** Introduce typed enum constants for status attributes
82+
- `postgresflex`: [v1.1.0](services/postgresflex/CHANGELOG.md#v110-2025-05-15)
83+
- **Breaking change:** Introduce interfaces for `APIClient` and the request structs
84+
- `rabbitmq`:
85+
- [v0.24.0](services/rabbitmq/CHANGELOG.md#v0240-2025-05-15)
86+
- **Breaking change:** Introduce interfaces for `APIClient` and the request structs
87+
- [v0.23.0](services/rabbitmq/CHANGELOG.md#v0230-2025-05-14)
88+
- **Breaking change:** Introduce typed enum constants for status attributes
89+
- `redis`:
90+
- [v0.24.0](services/redis/CHANGELOG.md#v0240-2025-05-15)
91+
- **Breaking change:** Introduce interfaces for `APIClient` and the request structs
92+
- [v0.23.0](services/redis/CHANGELOG.md#v0230-2025-05-14)
93+
- **Breaking change:** Introduce typed enum constants for status attributes
94+
- `resourcemanager`:
95+
- [v0.15.0](services/resourcemanager/CHANGELOG.md#v0150-2025-05-15)
96+
- **Breaking change:** Introduce interfaces for `APIClient` and the request structs
97+
- [v0.14.0](services/resourcemanager/CHANGELOG.md#v0140-2025-05-14)
98+
- **Breaking change:** Introduce typed enum constants for status attributes
99+
- **Breaking change:** Fields `ContainerParentId` and `ParentId` are no longer required
100+
- `runcommand`:
101+
- [v1.2.0](services/runcommand/CHANGELOG.md#v120-2025-05-15)
102+
- **Breaking change:** Introduce interfaces for `APIClient` and the request structs
103+
- [v1.1.0](services/runcommand/CHANGELOG.md#v110-2025-05-14)
104+
- **Breaking change:** Introduce typed enum constants for status attributes
105+
- `secretsmanager`: [v0.12.0](services/secretsmanager/CHANGELOG.md#v0120-2025-05-15)
106+
- **Breaking change:** Introduce interfaces for `APIClient` and the request structs
107+
- `serverbackup`:
108+
- [v1.2.0](services/serverbackup/CHANGELOG.md#v120-2025-05-15)
109+
- **Breaking change:** Introduce interfaces for `APIClient` and the request structs
110+
- [v1.1.0](services/serverbackup/CHANGELOG.md#v110-2025-05-14)
111+
- **Breaking change:** Introduce typed enum constants for status attributes
112+
- `serverupdate`: [v1.1.0](services/serverupdate/CHANGELOG.md#v110-2025-05-15)
113+
- **Breaking change:** Introduce interfaces for `APIClient` and the request structs
114+
- `serviceaccount`:
115+
- [v0.8.0](services/serviceaccount/CHANGELOG.md#v080-2025-05-15)
116+
- **Breaking change:** Introduce interfaces for `APIClient` and the request structs
117+
- [v0.7.0](services/serviceaccount/CHANGELOG.md#v070-2025-05-14)
118+
- **Breaking change:** Introduce typed enum constants for status attributes
119+
- `serviceenablement`:
120+
- [v1.2.0](services/serviceenablement/CHANGELOG.md#v120-2025-05-15)
121+
- **Breaking change:** Introduce interfaces for `APIClient` and the request structs
122+
- [v1.1.0](services/serviceenablement/CHANGELOG.md#v110-2025-05-14)
123+
- **Breaking change:** Introduce typed enum constants for status attributes
124+
- `ske`:
125+
- [v0.24.0](services/ske/CHANGELOG.md#v0240-2025-05-15)
126+
- **Breaking change:** Introduce interfaces for `APIClient` and the request structs
127+
- [v0.23.0](services/ske/CHANGELOG.md#v0230-2025-05-14)
128+
- **Breaking change:** Introduce typed enum constants for status attributes
129+
- [v0.22.4](services/ske/CHANGELOG.md#v0224-2025-05-13)
130+
- **Feature:** Added `ClusterError`
131+
- `sqlserverflex`:
132+
- [v1.2.0](services/sqlserverflex/CHANGELOG.md#v120-2025-05-15)
133+
- **Breaking change:** Introduce interfaces for `APIClient` and the request structs
134+
- [v1.1.0](services/sqlserverflex/CHANGELOG.md#v110-2025-05-14)
135+
- **Features**: Added new method `ListMetrics`
136+
- `stackitmarketplace`:
137+
- [v1.3.0](services/stackitmarketplace/CHANGELOG.md#v130-2025-05-15)
138+
- **Breaking change:** Introduce interfaces for `APIClient` and the request structs
139+
- [v1.2.1](services/stackitmarketplace/CHANGELOG.md#v121-2025-05-15)
140+
- **Feature:** Added new method `VendorsSubscriptionsReject`
141+
- [v1.2.0](services/stackitmarketplace/CHANGELOG.md#v120-2025-05-14)
142+
- **Breaking change:** Introduce typed enum constants for status attributes
143+
- [v1.1.0](services/stackitmarketplace/CHANGELOG.md#v110-2025-05-13)
144+
- **Breaking Change:** Added organization id to `VendorSubscription`
145+
5146
## Release (2025-05-09)
6147
- `resourcemanager`:
7148
- [v0.13.3](services/resourcemanager/CHANGELOG.md#v0133-2025-05-09)

Makefile

Lines changed: 34 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,39 +3,64 @@ SCRIPTS_BASE ?= $(ROOT_DIR)/scripts
33
GOLANG_CI_YAML_PATH ?= ${ROOT_DIR}/golang-ci.yaml
44
GOLANG_CI_ARGS ?= --allow-parallel-runners --timeout=5m --config=${GOLANG_CI_YAML_PATH}
55

6+
##
7+
# Console Colors
8+
##
9+
GREEN := $(shell printf "\033[0;32m")
10+
YELLOW := $(shell printf "\033[0;33m")
11+
WHITE := $(shell printf "\033[0;37m")
12+
CYAN := $(shell printf "\033[0;36m")
13+
RESET := $(shell printf "\033[0m")
14+
15+
16+
##
17+
# Targets
18+
##
19+
.PHONY: help
20+
help: ## Show this help
21+
@echo "Project: stackit-sdk-go"
22+
@echo 'Usage:'
23+
@echo " ${GREEN}make${RESET} ${YELLOW}<target>${RESET}"
24+
@echo ''
25+
@echo 'Targets:'
26+
@awk 'BEGIN {FS = ":.*?## "} { \
27+
if (/^[a-zA-Z_-]+:.*?##.*$$/) {printf " ${GREEN}%-21s${YELLOW}%s${RESET}\n", $$1, $$2} \
28+
else if (/^## .*$$/) {printf " ${CYAN}%s${RESET}\n", substr($$1,4)} \
29+
}' $(MAKEFILE_LIST) | sort
30+
631
# SETUP AND TOOL INITIALIZATION TASKS
7-
project-help:
32+
project-help: ## Show help for the project
833
@$(SCRIPTS_BASE)/project.sh help
934

10-
project-tools:
35+
project-tools: ## Install project tools
1136
@$(SCRIPTS_BASE)/project.sh tools
1237

1338
# LINT
14-
lint-golangci-lint:
39+
lint-golangci-lint: ## Lint Go code
1540
@echo ">> Linting with golangci-lint"
1641
@$(SCRIPTS_BASE)/lint-golangci-lint.sh "${skip-non-generated-files}" "${service}"
1742

18-
lint-scripts:
43+
lint-scripts: ## Lint scripts
1944
@echo ">> Linting scripts"
2045
@cd ${ROOT_DIR}/scripts && golangci-lint run ${GOLANG_CI_ARGS}
2146

22-
sync-tidy:
47+
sync-tidy: ## Sync and tidy dependencies
2348
@echo ">> Syncing and tidying dependencies"
2449
@$(SCRIPTS_BASE)/sync-tidy.sh
2550

26-
lint: sync-tidy
51+
lint: sync-tidy ## Lint all code
2752
@$(MAKE) --no-print-directory lint-golangci-lint skip-non-generated-files=${skip-non-generated-files} service=${service}
2853

2954
# TEST
30-
test-go:
55+
test-go: ## Run Go tests
3156
@echo ">> Running Go tests"
3257
@$(SCRIPTS_BASE)/test-go.sh "${skip-non-generated-files}" "${service}"
3358

34-
test-scripts:
59+
test-scripts: ## Run tests for scripts
3560
@echo ">> Running Go tests for scripts"
3661
@go test $(ROOT_DIR)/scripts/... ${GOTEST_ARGS}
3762

38-
test:
63+
test: ## Run all tests
3964
@$(MAKE) --no-print-directory test-go skip-non-generated-files=${skip-non-generated-files} service=${service}
4065

4166
# AUTOMATIC TAG
@@ -45,4 +70,3 @@ sdk-tag-services:
4570

4671
sdk-tag-core:
4772
@go run $(SCRIPTS_BASE)/automatic_tag.go --update-type ${update-type} --ssh-private-key-file-path ${ssh-private-key-file-path} --target core;
48-

examples/authentication/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ go 1.21
44

55
require (
66
github.com/stackitcloud/stackit-sdk-go/core v0.17.1
7-
github.com/stackitcloud/stackit-sdk-go/services/dns v0.13.2
7+
github.com/stackitcloud/stackit-sdk-go/services/dns v0.15.0
88
)
99

1010
require (

examples/authentication/go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0=
66
github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
77
github.com/stackitcloud/stackit-sdk-go/core v0.17.1 h1:TTrVoB1lERd/qfWzpe6HpwCJSjtaGnUI7UE7ITb5IT0=
88
github.com/stackitcloud/stackit-sdk-go/core v0.17.1/go.mod h1:8KIw3czdNJ9sdil9QQimxjR6vHjeINFrRv0iZ67wfn0=
9-
github.com/stackitcloud/stackit-sdk-go/services/dns v0.13.2 h1:6rb3EM0yXuMIBd1U6WsJoMzEiVaHC3WQFWFvT23OE4Y=
10-
github.com/stackitcloud/stackit-sdk-go/services/dns v0.13.2/go.mod h1:PMHoavoIaRZpkI9BA0nsnRjGoHASVSBon45XB3QyhMA=
9+
github.com/stackitcloud/stackit-sdk-go/services/dns v0.15.0 h1:GQAA9gqhKN0ZRc1vRYURHeVjSghh+iF+5DK0HdeuakI=
10+
github.com/stackitcloud/stackit-sdk-go/services/dns v0.15.0/go.mod h1:PMHoavoIaRZpkI9BA0nsnRjGoHASVSBon45XB3QyhMA=

examples/authorization/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ go 1.21
44

55
require (
66
github.com/stackitcloud/stackit-sdk-go/core v0.17.1
7-
github.com/stackitcloud/stackit-sdk-go/services/authorization v0.6.2
7+
github.com/stackitcloud/stackit-sdk-go/services/authorization v0.7.0
88
)
99

1010
require (

examples/authorization/go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0=
66
github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
77
github.com/stackitcloud/stackit-sdk-go/core v0.17.1 h1:TTrVoB1lERd/qfWzpe6HpwCJSjtaGnUI7UE7ITb5IT0=
88
github.com/stackitcloud/stackit-sdk-go/core v0.17.1/go.mod h1:8KIw3czdNJ9sdil9QQimxjR6vHjeINFrRv0iZ67wfn0=
9-
github.com/stackitcloud/stackit-sdk-go/services/authorization v0.6.2 h1:erpN0BM7lTkV/zhxka5fTYHssQaOqdGjj76c2FWMec0=
10-
github.com/stackitcloud/stackit-sdk-go/services/authorization v0.6.2/go.mod h1:dJ19ZwFjp2bfC5ZobXV3vUdSpE3quUw3GuoFSKLpHIo=
9+
github.com/stackitcloud/stackit-sdk-go/services/authorization v0.7.0 h1:VpONplkdlEh7Pf22+cNnnHH4bx+S9QI+z55XYRE74JY=
10+
github.com/stackitcloud/stackit-sdk-go/services/authorization v0.7.0/go.mod h1:dJ19ZwFjp2bfC5ZobXV3vUdSpE3quUw3GuoFSKLpHIo=

examples/backgroundrefresh/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ go 1.21
44

55
require (
66
github.com/stackitcloud/stackit-sdk-go/core v0.17.1
7-
github.com/stackitcloud/stackit-sdk-go/services/dns v0.13.2
7+
github.com/stackitcloud/stackit-sdk-go/services/dns v0.15.0
88
)
99

1010
require (

examples/backgroundrefresh/go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0=
66
github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
77
github.com/stackitcloud/stackit-sdk-go/core v0.17.1 h1:TTrVoB1lERd/qfWzpe6HpwCJSjtaGnUI7UE7ITb5IT0=
88
github.com/stackitcloud/stackit-sdk-go/core v0.17.1/go.mod h1:8KIw3czdNJ9sdil9QQimxjR6vHjeINFrRv0iZ67wfn0=
9-
github.com/stackitcloud/stackit-sdk-go/services/dns v0.13.2 h1:6rb3EM0yXuMIBd1U6WsJoMzEiVaHC3WQFWFvT23OE4Y=
10-
github.com/stackitcloud/stackit-sdk-go/services/dns v0.13.2/go.mod h1:PMHoavoIaRZpkI9BA0nsnRjGoHASVSBon45XB3QyhMA=
9+
github.com/stackitcloud/stackit-sdk-go/services/dns v0.15.0 h1:GQAA9gqhKN0ZRc1vRYURHeVjSghh+iF+5DK0HdeuakI=
10+
github.com/stackitcloud/stackit-sdk-go/services/dns v0.15.0/go.mod h1:PMHoavoIaRZpkI9BA0nsnRjGoHASVSBon45XB3QyhMA=

examples/configuration/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ go 1.21
44

55
require (
66
github.com/stackitcloud/stackit-sdk-go/core v0.17.1
7-
github.com/stackitcloud/stackit-sdk-go/services/dns v0.13.2
7+
github.com/stackitcloud/stackit-sdk-go/services/dns v0.15.0
88
github.com/stackitcloud/stackit-sdk-go/services/postgresql v0.12.1
99
)
1010

examples/configuration/go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0=
66
github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
77
github.com/stackitcloud/stackit-sdk-go/core v0.17.1 h1:TTrVoB1lERd/qfWzpe6HpwCJSjtaGnUI7UE7ITb5IT0=
88
github.com/stackitcloud/stackit-sdk-go/core v0.17.1/go.mod h1:8KIw3czdNJ9sdil9QQimxjR6vHjeINFrRv0iZ67wfn0=
9-
github.com/stackitcloud/stackit-sdk-go/services/dns v0.13.2 h1:6rb3EM0yXuMIBd1U6WsJoMzEiVaHC3WQFWFvT23OE4Y=
10-
github.com/stackitcloud/stackit-sdk-go/services/dns v0.13.2/go.mod h1:PMHoavoIaRZpkI9BA0nsnRjGoHASVSBon45XB3QyhMA=
9+
github.com/stackitcloud/stackit-sdk-go/services/dns v0.15.0 h1:GQAA9gqhKN0ZRc1vRYURHeVjSghh+iF+5DK0HdeuakI=
10+
github.com/stackitcloud/stackit-sdk-go/services/dns v0.15.0/go.mod h1:PMHoavoIaRZpkI9BA0nsnRjGoHASVSBon45XB3QyhMA=
1111
github.com/stackitcloud/stackit-sdk-go/services/postgresql v0.12.1 h1:u2jNFPPLM2TlpM1qUu1UuG9XKx/EYPjwg2nJqAK1HUY=
1212
github.com/stackitcloud/stackit-sdk-go/services/postgresql v0.12.1/go.mod h1:rTbdB/rl+e9o9sJNrT3yMIaSNVBGqR5G2Vh4opKrEwo=

0 commit comments

Comments
 (0)