chore: work save
This commit is contained in:
parent
3e3f13d36d
commit
9752d63f7e
19 changed files with 1003 additions and 209 deletions
|
|
@ -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{}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue