Documentation ¶
Index ¶
- type Client
- func (a *Client) DeleteServer(params *DeleteServerParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteServerNoContent, *DeleteServerInternalServerError, error)deprecated
- func (a *Client) DeleteServerShort(params *DeleteServerParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteServerNoContent, error)
- func (a *Client) SetServerAlias(params *SetServerAliasParams, authInfo runtime.ClientAuthInfoWriter) (*SetServerAliasNoContent, *SetServerAliasBadRequest, *SetServerAliasNotFound, ...)deprecated
- func (a *Client) SetServerAliasShort(params *SetServerAliasParams, authInfo runtime.ClientAuthInfoWriter) (*SetServerAliasNoContent, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateServerConfig(params *UpdateServerConfigParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateServerConfigNoContent, *UpdateServerConfigBadRequest, ...)deprecated
- func (a *Client) UpdateServerConfigShort(params *UpdateServerConfigParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateServerConfigNoContent, error)
- type ClientService
- type DeleteServerInternalServerError
- type DeleteServerNoContent
- type DeleteServerParams
- func (o *DeleteServerParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *DeleteServerParams) SetContext(ctx context.Context)
- func (o *DeleteServerParams) SetHTTPClient(client *http.Client)
- func (o *DeleteServerParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *DeleteServerParams) SetRegion(region string)
- func (o *DeleteServerParams) SetTimeout(timeout time.Duration)
- func (o *DeleteServerParams) WithContext(ctx context.Context) *DeleteServerParams
- func (o *DeleteServerParams) WithHTTPClient(client *http.Client) *DeleteServerParams
- func (o *DeleteServerParams) WithRegion(region string) *DeleteServerParams
- func (o *DeleteServerParams) WithTimeout(timeout time.Duration) *DeleteServerParams
- func (o *DeleteServerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteServerReader
- type SetServerAliasBadRequest
- type SetServerAliasInternalServerError
- type SetServerAliasNoContent
- type SetServerAliasNotFound
- type SetServerAliasParams
- func NewSetServerAliasParams() *SetServerAliasParams
- func NewSetServerAliasParamsWithContext(ctx context.Context) *SetServerAliasParams
- func NewSetServerAliasParamsWithHTTPClient(client *http.Client) *SetServerAliasParams
- func NewSetServerAliasParamsWithTimeout(timeout time.Duration) *SetServerAliasParams
- func (o *SetServerAliasParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *SetServerAliasParams) SetBody(body *qosmclientmodels.ModelsSetAliasRequest)
- func (o *SetServerAliasParams) SetContext(ctx context.Context)
- func (o *SetServerAliasParams) SetHTTPClient(client *http.Client)
- func (o *SetServerAliasParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *SetServerAliasParams) SetRegion(region string)
- func (o *SetServerAliasParams) SetTimeout(timeout time.Duration)
- func (o *SetServerAliasParams) WithBody(body *qosmclientmodels.ModelsSetAliasRequest) *SetServerAliasParams
- func (o *SetServerAliasParams) WithContext(ctx context.Context) *SetServerAliasParams
- func (o *SetServerAliasParams) WithHTTPClient(client *http.Client) *SetServerAliasParams
- func (o *SetServerAliasParams) WithRegion(region string) *SetServerAliasParams
- func (o *SetServerAliasParams) WithTimeout(timeout time.Duration) *SetServerAliasParams
- func (o *SetServerAliasParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SetServerAliasReader
- type UpdateServerConfigBadRequest
- type UpdateServerConfigInternalServerError
- type UpdateServerConfigNoContent
- type UpdateServerConfigNotFound
- type UpdateServerConfigParams
- func NewUpdateServerConfigParams() *UpdateServerConfigParams
- func NewUpdateServerConfigParamsWithContext(ctx context.Context) *UpdateServerConfigParams
- func NewUpdateServerConfigParamsWithHTTPClient(client *http.Client) *UpdateServerConfigParams
- func NewUpdateServerConfigParamsWithTimeout(timeout time.Duration) *UpdateServerConfigParams
- func (o *UpdateServerConfigParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *UpdateServerConfigParams) SetBody(body *qosmclientmodels.ModelsUpdateServerRequest)
- func (o *UpdateServerConfigParams) SetContext(ctx context.Context)
- func (o *UpdateServerConfigParams) SetHTTPClient(client *http.Client)
- func (o *UpdateServerConfigParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *UpdateServerConfigParams) SetNamespace(namespace string)
- func (o *UpdateServerConfigParams) SetRegion(region string)
- func (o *UpdateServerConfigParams) SetTimeout(timeout time.Duration)
- func (o *UpdateServerConfigParams) WithBody(body *qosmclientmodels.ModelsUpdateServerRequest) *UpdateServerConfigParams
- func (o *UpdateServerConfigParams) WithContext(ctx context.Context) *UpdateServerConfigParams
- func (o *UpdateServerConfigParams) WithHTTPClient(client *http.Client) *UpdateServerConfigParams
- func (o *UpdateServerConfigParams) WithNamespace(namespace string) *UpdateServerConfigParams
- func (o *UpdateServerConfigParams) WithRegion(region string) *UpdateServerConfigParams
- func (o *UpdateServerConfigParams) WithTimeout(timeout time.Duration) *UpdateServerConfigParams
- func (o *UpdateServerConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateServerConfigReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for admin API
func (*Client) DeleteServer
deprecated
func (a *Client) DeleteServer(params *DeleteServerParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteServerNoContent, *DeleteServerInternalServerError, error)
Deprecated: Use DeleteServerShort instead.
DeleteServer deletes a qo s service record ```
Required permission: ADMIN:QOS:SERVER [DELETE] Required scope: social
This endpoint delete a registered QoS service record. ```
func (*Client) DeleteServerShort ¶ added in v0.8.0
func (a *Client) DeleteServerShort(params *DeleteServerParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteServerNoContent, error)
DeleteServerShort deletes a qo s service record ```
Required permission: ADMIN:QOS:SERVER [DELETE] Required scope: social
This endpoint delete a registered QoS service record. ```
func (*Client) SetServerAlias
deprecated
func (a *Client) SetServerAlias(params *SetServerAliasParams, authInfo runtime.ClientAuthInfoWriter) (*SetServerAliasNoContent, *SetServerAliasBadRequest, *SetServerAliasNotFound, *SetServerAliasInternalServerError, error)
Deprecated: Use SetServerAliasShort instead.
SetServerAlias modifies a qo s service s region alias ```
Required permission: ADMIN:QOS:SERVER [UDPATE] Required scope: social
This endpoint modifies a registered QoS service's region alias. ```
func (*Client) SetServerAliasShort ¶ added in v0.8.0
func (a *Client) SetServerAliasShort(params *SetServerAliasParams, authInfo runtime.ClientAuthInfoWriter) (*SetServerAliasNoContent, error)
SetServerAliasShort modifies a qo s service s region alias ```
Required permission: ADMIN:QOS:SERVER [UDPATE] Required scope: social
This endpoint modifies a registered QoS service's region alias. ```
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateServerConfig
deprecated
added in
v0.20.0
func (a *Client) UpdateServerConfig(params *UpdateServerConfigParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateServerConfigNoContent, *UpdateServerConfigBadRequest, *UpdateServerConfigNotFound, *UpdateServerConfigInternalServerError, error)
Deprecated: Use UpdateServerConfigShort instead.
UpdateServerConfig updates qo s service configuration ```
Required permission: ADMIN:NAMESPACE:{namespace}:QOS:SERVER [UPDATE] Required scope: social
This endpoint updates the registered QoS service's configurable configuration'. ```
func (*Client) UpdateServerConfigShort ¶ added in v0.20.0
func (a *Client) UpdateServerConfigShort(params *UpdateServerConfigParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateServerConfigNoContent, error)
UpdateServerConfigShort updates qo s service configuration ```
Required permission: ADMIN:NAMESPACE:{namespace}:QOS:SERVER [UPDATE] Required scope: social
This endpoint updates the registered QoS service's configurable configuration'. ```
type ClientService ¶
type ClientService interface { DeleteServer(params *DeleteServerParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteServerNoContent, *DeleteServerInternalServerError, error) DeleteServerShort(params *DeleteServerParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteServerNoContent, error) SetServerAlias(params *SetServerAliasParams, authInfo runtime.ClientAuthInfoWriter) (*SetServerAliasNoContent, *SetServerAliasBadRequest, *SetServerAliasNotFound, *SetServerAliasInternalServerError, error) SetServerAliasShort(params *SetServerAliasParams, authInfo runtime.ClientAuthInfoWriter) (*SetServerAliasNoContent, error) UpdateServerConfig(params *UpdateServerConfigParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateServerConfigNoContent, *UpdateServerConfigBadRequest, *UpdateServerConfigNotFound, *UpdateServerConfigInternalServerError, error) UpdateServerConfigShort(params *UpdateServerConfigParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateServerConfigNoContent, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new admin API client.
type DeleteServerInternalServerError ¶
type DeleteServerInternalServerError struct {
Payload *qosmclientmodels.ResponseError
}
DeleteServerInternalServerError handles this case with default header values.
Internal Server Error
func NewDeleteServerInternalServerError ¶
func NewDeleteServerInternalServerError() *DeleteServerInternalServerError
NewDeleteServerInternalServerError creates a DeleteServerInternalServerError with default headers values
func (*DeleteServerInternalServerError) Error ¶
func (o *DeleteServerInternalServerError) Error() string
func (*DeleteServerInternalServerError) GetPayload ¶
func (o *DeleteServerInternalServerError) GetPayload() *qosmclientmodels.ResponseError
func (*DeleteServerInternalServerError) ToJSONString ¶ added in v0.25.0
func (o *DeleteServerInternalServerError) ToJSONString() string
type DeleteServerNoContent ¶
type DeleteServerNoContent struct { }
DeleteServerNoContent handles this case with default header values.
record deleted
func NewDeleteServerNoContent ¶
func NewDeleteServerNoContent() *DeleteServerNoContent
NewDeleteServerNoContent creates a DeleteServerNoContent with default headers values
func (*DeleteServerNoContent) Error ¶
func (o *DeleteServerNoContent) Error() string
type DeleteServerParams ¶
type DeleteServerParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Region region of the QoS */ Region string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteServerParams contains all the parameters to send to the API endpoint for the delete server operation typically these are written to a http.Request
func NewDeleteServerParams ¶
func NewDeleteServerParams() *DeleteServerParams
NewDeleteServerParams creates a new DeleteServerParams object with the default values initialized.
func NewDeleteServerParamsWithContext ¶
func NewDeleteServerParamsWithContext(ctx context.Context) *DeleteServerParams
NewDeleteServerParamsWithContext creates a new DeleteServerParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteServerParamsWithHTTPClient ¶
func NewDeleteServerParamsWithHTTPClient(client *http.Client) *DeleteServerParams
NewDeleteServerParamsWithHTTPClient creates a new DeleteServerParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteServerParamsWithTimeout ¶
func NewDeleteServerParamsWithTimeout(timeout time.Duration) *DeleteServerParams
NewDeleteServerParamsWithTimeout creates a new DeleteServerParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteServerParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *DeleteServerParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the delete server params
func (*DeleteServerParams) SetContext ¶
func (o *DeleteServerParams) SetContext(ctx context.Context)
SetContext adds the context to the delete server params
func (*DeleteServerParams) SetHTTPClient ¶
func (o *DeleteServerParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete server params
func (*DeleteServerParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *DeleteServerParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the delete server params
func (*DeleteServerParams) SetRegion ¶
func (o *DeleteServerParams) SetRegion(region string)
SetRegion adds the region to the delete server params
func (*DeleteServerParams) SetTimeout ¶
func (o *DeleteServerParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete server params
func (*DeleteServerParams) WithContext ¶
func (o *DeleteServerParams) WithContext(ctx context.Context) *DeleteServerParams
WithContext adds the context to the delete server params
func (*DeleteServerParams) WithHTTPClient ¶
func (o *DeleteServerParams) WithHTTPClient(client *http.Client) *DeleteServerParams
WithHTTPClient adds the HTTPClient to the delete server params
func (*DeleteServerParams) WithRegion ¶
func (o *DeleteServerParams) WithRegion(region string) *DeleteServerParams
WithRegion adds the region to the delete server params
func (*DeleteServerParams) WithTimeout ¶
func (o *DeleteServerParams) WithTimeout(timeout time.Duration) *DeleteServerParams
WithTimeout adds the timeout to the delete server params
func (*DeleteServerParams) WriteToRequest ¶
func (o *DeleteServerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteServerReader ¶
type DeleteServerReader struct {
// contains filtered or unexported fields
}
DeleteServerReader is a Reader for the DeleteServer structure.
func (*DeleteServerReader) ReadResponse ¶
func (o *DeleteServerReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SetServerAliasBadRequest ¶
type SetServerAliasBadRequest struct {
Payload *qosmclientmodels.ResponseError
}
SetServerAliasBadRequest handles this case with default header values.
malformed request
func NewSetServerAliasBadRequest ¶
func NewSetServerAliasBadRequest() *SetServerAliasBadRequest
NewSetServerAliasBadRequest creates a SetServerAliasBadRequest with default headers values
func (*SetServerAliasBadRequest) Error ¶
func (o *SetServerAliasBadRequest) Error() string
func (*SetServerAliasBadRequest) GetPayload ¶
func (o *SetServerAliasBadRequest) GetPayload() *qosmclientmodels.ResponseError
func (*SetServerAliasBadRequest) ToJSONString ¶ added in v0.25.0
func (o *SetServerAliasBadRequest) ToJSONString() string
type SetServerAliasInternalServerError ¶
type SetServerAliasInternalServerError struct {
Payload *qosmclientmodels.ResponseError
}
SetServerAliasInternalServerError handles this case with default header values.
Internal Server Error
func NewSetServerAliasInternalServerError ¶
func NewSetServerAliasInternalServerError() *SetServerAliasInternalServerError
NewSetServerAliasInternalServerError creates a SetServerAliasInternalServerError with default headers values
func (*SetServerAliasInternalServerError) Error ¶
func (o *SetServerAliasInternalServerError) Error() string
func (*SetServerAliasInternalServerError) GetPayload ¶
func (o *SetServerAliasInternalServerError) GetPayload() *qosmclientmodels.ResponseError
func (*SetServerAliasInternalServerError) ToJSONString ¶ added in v0.25.0
func (o *SetServerAliasInternalServerError) ToJSONString() string
type SetServerAliasNoContent ¶
type SetServerAliasNoContent struct { }
SetServerAliasNoContent handles this case with default header values.
record updated
func NewSetServerAliasNoContent ¶
func NewSetServerAliasNoContent() *SetServerAliasNoContent
NewSetServerAliasNoContent creates a SetServerAliasNoContent with default headers values
func (*SetServerAliasNoContent) Error ¶
func (o *SetServerAliasNoContent) Error() string
type SetServerAliasNotFound ¶
type SetServerAliasNotFound struct {
Payload *qosmclientmodels.ResponseError
}
SetServerAliasNotFound handles this case with default header values.
server record not found
func NewSetServerAliasNotFound ¶
func NewSetServerAliasNotFound() *SetServerAliasNotFound
NewSetServerAliasNotFound creates a SetServerAliasNotFound with default headers values
func (*SetServerAliasNotFound) Error ¶
func (o *SetServerAliasNotFound) Error() string
func (*SetServerAliasNotFound) GetPayload ¶
func (o *SetServerAliasNotFound) GetPayload() *qosmclientmodels.ResponseError
func (*SetServerAliasNotFound) ToJSONString ¶ added in v0.25.0
func (o *SetServerAliasNotFound) ToJSONString() string
type SetServerAliasParams ¶
type SetServerAliasParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *qosmclientmodels.ModelsSetAliasRequest /*Region original region of the QoS */ Region string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SetServerAliasParams contains all the parameters to send to the API endpoint for the set server alias operation typically these are written to a http.Request
func NewSetServerAliasParams ¶
func NewSetServerAliasParams() *SetServerAliasParams
NewSetServerAliasParams creates a new SetServerAliasParams object with the default values initialized.
func NewSetServerAliasParamsWithContext ¶
func NewSetServerAliasParamsWithContext(ctx context.Context) *SetServerAliasParams
NewSetServerAliasParamsWithContext creates a new SetServerAliasParams object with the default values initialized, and the ability to set a context for a request
func NewSetServerAliasParamsWithHTTPClient ¶
func NewSetServerAliasParamsWithHTTPClient(client *http.Client) *SetServerAliasParams
NewSetServerAliasParamsWithHTTPClient creates a new SetServerAliasParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewSetServerAliasParamsWithTimeout ¶
func NewSetServerAliasParamsWithTimeout(timeout time.Duration) *SetServerAliasParams
NewSetServerAliasParamsWithTimeout creates a new SetServerAliasParams object with the default values initialized, and the ability to set a timeout on a request
func (*SetServerAliasParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *SetServerAliasParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the set server alias params
func (*SetServerAliasParams) SetBody ¶
func (o *SetServerAliasParams) SetBody(body *qosmclientmodels.ModelsSetAliasRequest)
SetBody adds the body to the set server alias params
func (*SetServerAliasParams) SetContext ¶
func (o *SetServerAliasParams) SetContext(ctx context.Context)
SetContext adds the context to the set server alias params
func (*SetServerAliasParams) SetHTTPClient ¶
func (o *SetServerAliasParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the set server alias params
func (*SetServerAliasParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *SetServerAliasParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the set server alias params
func (*SetServerAliasParams) SetRegion ¶
func (o *SetServerAliasParams) SetRegion(region string)
SetRegion adds the region to the set server alias params
func (*SetServerAliasParams) SetTimeout ¶
func (o *SetServerAliasParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the set server alias params
func (*SetServerAliasParams) WithBody ¶
func (o *SetServerAliasParams) WithBody(body *qosmclientmodels.ModelsSetAliasRequest) *SetServerAliasParams
WithBody adds the body to the set server alias params
func (*SetServerAliasParams) WithContext ¶
func (o *SetServerAliasParams) WithContext(ctx context.Context) *SetServerAliasParams
WithContext adds the context to the set server alias params
func (*SetServerAliasParams) WithHTTPClient ¶
func (o *SetServerAliasParams) WithHTTPClient(client *http.Client) *SetServerAliasParams
WithHTTPClient adds the HTTPClient to the set server alias params
func (*SetServerAliasParams) WithRegion ¶
func (o *SetServerAliasParams) WithRegion(region string) *SetServerAliasParams
WithRegion adds the region to the set server alias params
func (*SetServerAliasParams) WithTimeout ¶
func (o *SetServerAliasParams) WithTimeout(timeout time.Duration) *SetServerAliasParams
WithTimeout adds the timeout to the set server alias params
func (*SetServerAliasParams) WriteToRequest ¶
func (o *SetServerAliasParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SetServerAliasReader ¶
type SetServerAliasReader struct {
// contains filtered or unexported fields
}
SetServerAliasReader is a Reader for the SetServerAlias structure.
func (*SetServerAliasReader) ReadResponse ¶
func (o *SetServerAliasReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateServerConfigBadRequest ¶ added in v0.20.0
type UpdateServerConfigBadRequest struct {
Payload *qosmclientmodels.ResponseError
}
UpdateServerConfigBadRequest handles this case with default header values.
malformed request
func NewUpdateServerConfigBadRequest ¶ added in v0.20.0
func NewUpdateServerConfigBadRequest() *UpdateServerConfigBadRequest
NewUpdateServerConfigBadRequest creates a UpdateServerConfigBadRequest with default headers values
func (*UpdateServerConfigBadRequest) Error ¶ added in v0.20.0
func (o *UpdateServerConfigBadRequest) Error() string
func (*UpdateServerConfigBadRequest) GetPayload ¶ added in v0.20.0
func (o *UpdateServerConfigBadRequest) GetPayload() *qosmclientmodels.ResponseError
func (*UpdateServerConfigBadRequest) ToJSONString ¶ added in v0.25.0
func (o *UpdateServerConfigBadRequest) ToJSONString() string
type UpdateServerConfigInternalServerError ¶ added in v0.20.0
type UpdateServerConfigInternalServerError struct {
Payload *qosmclientmodels.ResponseError
}
UpdateServerConfigInternalServerError handles this case with default header values.
Internal Server Error
func NewUpdateServerConfigInternalServerError ¶ added in v0.20.0
func NewUpdateServerConfigInternalServerError() *UpdateServerConfigInternalServerError
NewUpdateServerConfigInternalServerError creates a UpdateServerConfigInternalServerError with default headers values
func (*UpdateServerConfigInternalServerError) Error ¶ added in v0.20.0
func (o *UpdateServerConfigInternalServerError) Error() string
func (*UpdateServerConfigInternalServerError) GetPayload ¶ added in v0.20.0
func (o *UpdateServerConfigInternalServerError) GetPayload() *qosmclientmodels.ResponseError
func (*UpdateServerConfigInternalServerError) ToJSONString ¶ added in v0.25.0
func (o *UpdateServerConfigInternalServerError) ToJSONString() string
type UpdateServerConfigNoContent ¶ added in v0.20.0
type UpdateServerConfigNoContent struct { }
UpdateServerConfigNoContent handles this case with default header values.
record updated
func NewUpdateServerConfigNoContent ¶ added in v0.20.0
func NewUpdateServerConfigNoContent() *UpdateServerConfigNoContent
NewUpdateServerConfigNoContent creates a UpdateServerConfigNoContent with default headers values
func (*UpdateServerConfigNoContent) Error ¶ added in v0.20.0
func (o *UpdateServerConfigNoContent) Error() string
type UpdateServerConfigNotFound ¶ added in v0.20.0
type UpdateServerConfigNotFound struct {
Payload *qosmclientmodels.ResponseError
}
UpdateServerConfigNotFound handles this case with default header values.
server record not found
func NewUpdateServerConfigNotFound ¶ added in v0.20.0
func NewUpdateServerConfigNotFound() *UpdateServerConfigNotFound
NewUpdateServerConfigNotFound creates a UpdateServerConfigNotFound with default headers values
func (*UpdateServerConfigNotFound) Error ¶ added in v0.20.0
func (o *UpdateServerConfigNotFound) Error() string
func (*UpdateServerConfigNotFound) GetPayload ¶ added in v0.20.0
func (o *UpdateServerConfigNotFound) GetPayload() *qosmclientmodels.ResponseError
func (*UpdateServerConfigNotFound) ToJSONString ¶ added in v0.25.0
func (o *UpdateServerConfigNotFound) ToJSONString() string
type UpdateServerConfigParams ¶ added in v0.20.0
type UpdateServerConfigParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *qosmclientmodels.ModelsUpdateServerRequest /*Namespace namespace of the QoS */ Namespace string /*Region original region of the QoS */ Region string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateServerConfigParams contains all the parameters to send to the API endpoint for the update server config operation typically these are written to a http.Request
func NewUpdateServerConfigParams ¶ added in v0.20.0
func NewUpdateServerConfigParams() *UpdateServerConfigParams
NewUpdateServerConfigParams creates a new UpdateServerConfigParams object with the default values initialized.
func NewUpdateServerConfigParamsWithContext ¶ added in v0.20.0
func NewUpdateServerConfigParamsWithContext(ctx context.Context) *UpdateServerConfigParams
NewUpdateServerConfigParamsWithContext creates a new UpdateServerConfigParams object with the default values initialized, and the ability to set a context for a request
func NewUpdateServerConfigParamsWithHTTPClient ¶ added in v0.20.0
func NewUpdateServerConfigParamsWithHTTPClient(client *http.Client) *UpdateServerConfigParams
NewUpdateServerConfigParamsWithHTTPClient creates a new UpdateServerConfigParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUpdateServerConfigParamsWithTimeout ¶ added in v0.20.0
func NewUpdateServerConfigParamsWithTimeout(timeout time.Duration) *UpdateServerConfigParams
NewUpdateServerConfigParamsWithTimeout creates a new UpdateServerConfigParams object with the default values initialized, and the ability to set a timeout on a request
func (*UpdateServerConfigParams) SetAuthInfoWriter ¶ added in v0.20.0
func (o *UpdateServerConfigParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the update server config params
func (*UpdateServerConfigParams) SetBody ¶ added in v0.20.0
func (o *UpdateServerConfigParams) SetBody(body *qosmclientmodels.ModelsUpdateServerRequest)
SetBody adds the body to the update server config params
func (*UpdateServerConfigParams) SetContext ¶ added in v0.20.0
func (o *UpdateServerConfigParams) SetContext(ctx context.Context)
SetContext adds the context to the update server config params
func (*UpdateServerConfigParams) SetHTTPClient ¶ added in v0.20.0
func (o *UpdateServerConfigParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update server config params
func (*UpdateServerConfigParams) SetHTTPClientTransport ¶ added in v0.20.0
func (o *UpdateServerConfigParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the update server config params
func (*UpdateServerConfigParams) SetNamespace ¶ added in v0.20.0
func (o *UpdateServerConfigParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the update server config params
func (*UpdateServerConfigParams) SetRegion ¶ added in v0.20.0
func (o *UpdateServerConfigParams) SetRegion(region string)
SetRegion adds the region to the update server config params
func (*UpdateServerConfigParams) SetTimeout ¶ added in v0.20.0
func (o *UpdateServerConfigParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update server config params
func (*UpdateServerConfigParams) WithBody ¶ added in v0.20.0
func (o *UpdateServerConfigParams) WithBody(body *qosmclientmodels.ModelsUpdateServerRequest) *UpdateServerConfigParams
WithBody adds the body to the update server config params
func (*UpdateServerConfigParams) WithContext ¶ added in v0.20.0
func (o *UpdateServerConfigParams) WithContext(ctx context.Context) *UpdateServerConfigParams
WithContext adds the context to the update server config params
func (*UpdateServerConfigParams) WithHTTPClient ¶ added in v0.20.0
func (o *UpdateServerConfigParams) WithHTTPClient(client *http.Client) *UpdateServerConfigParams
WithHTTPClient adds the HTTPClient to the update server config params
func (*UpdateServerConfigParams) WithNamespace ¶ added in v0.20.0
func (o *UpdateServerConfigParams) WithNamespace(namespace string) *UpdateServerConfigParams
WithNamespace adds the namespace to the update server config params
func (*UpdateServerConfigParams) WithRegion ¶ added in v0.20.0
func (o *UpdateServerConfigParams) WithRegion(region string) *UpdateServerConfigParams
WithRegion adds the region to the update server config params
func (*UpdateServerConfigParams) WithTimeout ¶ added in v0.20.0
func (o *UpdateServerConfigParams) WithTimeout(timeout time.Duration) *UpdateServerConfigParams
WithTimeout adds the timeout to the update server config params
func (*UpdateServerConfigParams) WriteToRequest ¶ added in v0.20.0
func (o *UpdateServerConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateServerConfigReader ¶ added in v0.20.0
type UpdateServerConfigReader struct {
// contains filtered or unexported fields
}
UpdateServerConfigReader is a Reader for the UpdateServerConfig structure.
func (*UpdateServerConfigReader) ReadResponse ¶ added in v0.20.0
func (o *UpdateServerConfigReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.