chore: work save

This commit is contained in:
Marcel S. Henselin 2026-01-29 10:05:13 +01:00
parent 3e3f13d36d
commit 9752d63f7e
19 changed files with 1003 additions and 209 deletions

View file

@ -354,6 +354,7 @@ type ApiGetVPNGatewayStatusRequest interface {
}
type ApiListGatewayConnectionsRequest interface {
LabelSelector(labelSelector map[string]string) ApiListGatewayConnectionsRequest
Execute() (*ConnectionList, error)
}
@ -1860,11 +1861,17 @@ func (a *APIClient) GetVPNGatewayStatusExecute(ctx context.Context, projectId st
}
type ListGatewayConnectionsRequest struct {
ctx context.Context
apiService *DefaultApiService
projectId string
region Region
gatewayName string
ctx context.Context
apiService *DefaultApiService
projectId string
region Region
gatewayName string
labelSelector *map[string]string
}
func (r ListGatewayConnectionsRequest) LabelSelector(labelSelector map[string]string) ApiListGatewayConnectionsRequest {
r.labelSelector = &labelSelector
return r
}
func (r ListGatewayConnectionsRequest) Execute() (*ConnectionList, error) {
@ -1893,6 +1900,9 @@ func (r ListGatewayConnectionsRequest) Execute() (*ConnectionList, error) {
localVarQueryParams := url.Values{}
localVarFormParams := url.Values{}
if r.labelSelector != nil {
parameterAddToHeaderOrQuery(localVarQueryParams, "label_selector", r.labelSelector, "")
}
// to determine the Content-Type header
localVarHTTPContentTypes := []string{}