From de4a88f5ffbb25dc1b1c918bd29b7f5cb1c77f65 Mon Sep 17 00:00:00 2001 From: SDK Generator Bot Date: Wed, 3 Jun 2026 07:49:16 +0000 Subject: [PATCH 1/2] Generate ske --- services/ske/model_cluster_status.go | 60 +++++++++++++++++++++- services/ske/oas_commit | 2 +- services/ske/v2api/model_cluster_status.go | 37 +++++++++++++ 3 files changed, 97 insertions(+), 2 deletions(-) diff --git a/services/ske/model_cluster_status.go b/services/ske/model_cluster_status.go index d70ddf989..d3eefdf82 100644 --- a/services/ske/model_cluster_status.go +++ b/services/ske/model_cluster_status.go @@ -289,6 +289,33 @@ func setClusterStatusGetPodAddressRangesAttributeType(arg *ClusterStatusGetPodAd *arg = &val } +/* + types and functions for serviceAccountIssuer +*/ + +// isNotNullableString +// Deprecated: Will be removed after 2026-09-30. Move to the packages generated for each available API version instead +type ClusterStatusGetServiceAccountIssuerAttributeType = *string + +// Deprecated: Will be removed after 2026-09-30. Move to the packages generated for each available API version instead +func getClusterStatusGetServiceAccountIssuerAttributeTypeOk(arg ClusterStatusGetServiceAccountIssuerAttributeType) (ret ClusterStatusGetServiceAccountIssuerRetType, ok bool) { + if arg == nil { + return ret, false + } + return *arg, true +} + +// Deprecated: Will be removed after 2026-09-30. Move to the packages generated for each available API version instead +func setClusterStatusGetServiceAccountIssuerAttributeType(arg *ClusterStatusGetServiceAccountIssuerAttributeType, val ClusterStatusGetServiceAccountIssuerRetType) { + *arg = &val +} + +// Deprecated: Will be removed after 2026-09-30. Move to the packages generated for each available API version instead +type ClusterStatusGetServiceAccountIssuerArgType = string + +// Deprecated: Will be removed after 2026-09-30. Move to the packages generated for each available API version instead +type ClusterStatusGetServiceAccountIssuerRetType = string + // ClusterStatus struct for ClusterStatus // Deprecated: Will be removed after 2026-09-30. Move to the packages generated for each available API version instead type ClusterStatus struct { @@ -304,7 +331,8 @@ type ClusterStatus struct { Hibernated ClusterStatusgetHibernatedAttributeType `json:"hibernated,omitempty"` Identity ClusterStatusGetIdentityAttributeType `json:"identity,omitempty"` // The network ranges (in CIDR notation) used by pods of the cluster. - PodAddressRanges ClusterStatusGetPodAddressRangesAttributeType `json:"podAddressRanges,omitempty"` + PodAddressRanges ClusterStatusGetPodAddressRangesAttributeType `json:"podAddressRanges,omitempty"` + ServiceAccountIssuer ClusterStatusGetServiceAccountIssuerAttributeType `json:"serviceAccountIssuer,omitempty"` } // NewClusterStatus instantiates a new ClusterStatus object @@ -596,6 +624,33 @@ func (o *ClusterStatus) SetPodAddressRanges(v ClusterStatusGetPodAddressRangesRe setClusterStatusGetPodAddressRangesAttributeType(&o.PodAddressRanges, v) } +// GetServiceAccountIssuer returns the ServiceAccountIssuer field value if set, zero value otherwise. +// Deprecated: Will be removed after 2026-09-30. Move to the packages generated for each available API version instead +func (o *ClusterStatus) GetServiceAccountIssuer() (res ClusterStatusGetServiceAccountIssuerRetType) { + res, _ = o.GetServiceAccountIssuerOk() + return +} + +// GetServiceAccountIssuerOk returns a tuple with the ServiceAccountIssuer field value if set, nil otherwise +// and a boolean to check if the value has been set. +// Deprecated: Will be removed after 2026-09-30. Move to the packages generated for each available API version instead +func (o *ClusterStatus) GetServiceAccountIssuerOk() (ret ClusterStatusGetServiceAccountIssuerRetType, ok bool) { + return getClusterStatusGetServiceAccountIssuerAttributeTypeOk(o.ServiceAccountIssuer) +} + +// HasServiceAccountIssuer returns a boolean if a field has been set. +// Deprecated: Will be removed after 2026-09-30. Move to the packages generated for each available API version instead +func (o *ClusterStatus) HasServiceAccountIssuer() bool { + _, ok := o.GetServiceAccountIssuerOk() + return ok +} + +// SetServiceAccountIssuer gets a reference to the given string and assigns it to the ServiceAccountIssuer field. +// Deprecated: Will be removed after 2026-09-30. Move to the packages generated for each available API version instead +func (o *ClusterStatus) SetServiceAccountIssuer(v ClusterStatusGetServiceAccountIssuerRetType) { + setClusterStatusGetServiceAccountIssuerAttributeType(&o.ServiceAccountIssuer, v) +} + // Deprecated: Will be removed after 2026-09-30. Move to the packages generated for each available API version instead func (o ClusterStatus) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} @@ -629,6 +684,9 @@ func (o ClusterStatus) ToMap() (map[string]interface{}, error) { if val, ok := getClusterStatusGetPodAddressRangesAttributeTypeOk(o.PodAddressRanges); ok { toSerialize["PodAddressRanges"] = val } + if val, ok := getClusterStatusGetServiceAccountIssuerAttributeTypeOk(o.ServiceAccountIssuer); ok { + toSerialize["ServiceAccountIssuer"] = val + } return toSerialize, nil } diff --git a/services/ske/oas_commit b/services/ske/oas_commit index 3bdcef578..6ba71f50d 100644 --- a/services/ske/oas_commit +++ b/services/ske/oas_commit @@ -1 +1 @@ -5e44a8a3aa0447f4f0511f53cc4eead9b6e6384e +d2755fb2bda0e2105f920af64d7176d184b2bcb7 diff --git a/services/ske/v2api/model_cluster_status.go b/services/ske/v2api/model_cluster_status.go index bb3edd28a..edffd4c09 100644 --- a/services/ske/v2api/model_cluster_status.go +++ b/services/ske/v2api/model_cluster_status.go @@ -33,6 +33,7 @@ type ClusterStatus struct { Identity *string `json:"identity,omitempty"` // The network ranges (in CIDR notation) used by pods of the cluster. PodAddressRanges []string `json:"podAddressRanges,omitempty"` + ServiceAccountIssuer *string `json:"serviceAccountIssuer,omitempty"` AdditionalProperties map[string]interface{} } @@ -375,6 +376,38 @@ func (o *ClusterStatus) SetPodAddressRanges(v []string) { o.PodAddressRanges = v } +// GetServiceAccountIssuer returns the ServiceAccountIssuer field value if set, zero value otherwise. +func (o *ClusterStatus) GetServiceAccountIssuer() string { + if o == nil || IsNil(o.ServiceAccountIssuer) { + var ret string + return ret + } + return *o.ServiceAccountIssuer +} + +// GetServiceAccountIssuerOk returns a tuple with the ServiceAccountIssuer field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ClusterStatus) GetServiceAccountIssuerOk() (*string, bool) { + if o == nil || IsNil(o.ServiceAccountIssuer) { + return nil, false + } + return o.ServiceAccountIssuer, true +} + +// HasServiceAccountIssuer returns a boolean if a field has been set. +func (o *ClusterStatus) HasServiceAccountIssuer() bool { + if o != nil && !IsNil(o.ServiceAccountIssuer) { + return true + } + + return false +} + +// SetServiceAccountIssuer gets a reference to the given string and assigns it to the ServiceAccountIssuer field. +func (o *ClusterStatus) SetServiceAccountIssuer(v string) { + o.ServiceAccountIssuer = &v +} + func (o ClusterStatus) MarshalJSON() ([]byte, error) { toSerialize, err := o.ToMap() if err != nil { @@ -415,6 +448,9 @@ func (o ClusterStatus) ToMap() (map[string]interface{}, error) { if !IsNil(o.PodAddressRanges) { toSerialize["podAddressRanges"] = o.PodAddressRanges } + if !IsNil(o.ServiceAccountIssuer) { + toSerialize["serviceAccountIssuer"] = o.ServiceAccountIssuer + } for key, value := range o.AdditionalProperties { toSerialize[key] = value @@ -447,6 +483,7 @@ func (o *ClusterStatus) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "hibernated") delete(additionalProperties, "identity") delete(additionalProperties, "podAddressRanges") + delete(additionalProperties, "serviceAccountIssuer") o.AdditionalProperties = additionalProperties } From a6a5e578f714109866e4d9056a9e8f3be40dc0f4 Mon Sep 17 00:00:00 2001 From: Manuel Vaas Date: Wed, 3 Jun 2026 11:00:54 +0200 Subject: [PATCH 2/2] add changelog --- CHANGELOG.md | 2 ++ services/ske/CHANGELOG.md | 3 +++ services/ske/VERSION | 2 +- 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4a28f4a05..f995e2ecc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -533,6 +533,8 @@ - **Feature:** New field `GatewayApi` in `DNS` model struct - [v1.16.0](services/ske/CHANGELOG.md#v1160) - **Feature:** Introduce enums for various attributes + - [v1.17.0](services/ske/CHANGELOG.md#v1170) + - **Feature:** New field `ServiceAccountIssuer` for `ClusterStatus` model struct - `sqlserverflex`: - [v1.6.3](services/sqlserverflex/CHANGELOG.md#v163) - **Dependencies:** Bump STACKIT SDK core module from `v0.24.0` to `v0.24.1` diff --git a/services/ske/CHANGELOG.md b/services/ske/CHANGELOG.md index 126461fbd..2df13ef68 100644 --- a/services/ske/CHANGELOG.md +++ b/services/ske/CHANGELOG.md @@ -1,3 +1,6 @@ +## v1.17.0 +- **Feature:** New field `ServiceAccountIssuer` for `ClusterStatus` model struct + ## v1.16.0 - **Feature:** Introduce enums for various attributes diff --git a/services/ske/VERSION b/services/ske/VERSION index a406138ee..07c3efad8 100644 --- a/services/ske/VERSION +++ b/services/ske/VERSION @@ -1 +1 @@ -v1.16.0 +v1.17.0