Documentation ¶
Index ¶
- type Client
- func (a *Client) DeleteConfig(params *DeleteConfigParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteConfigNoContent, error)
- func (a *Client) DeleteConfigShort(params *DeleteConfigParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteConfigNoContent, error)
- func (a *Client) GetConfig(params *GetConfigParams, authInfo runtime.ClientAuthInfoWriter) (*GetConfigOK, *GetConfigNotFound, *GetConfigInternalServerError, error)
- func (a *Client) GetConfigShort(params *GetConfigParams, authInfo runtime.ClientAuthInfoWriter) (*GetConfigOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateConfig(params *UpdateConfigParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateConfigOK, *UpdateConfigBadRequest, *UpdateConfigInternalServerError, ...)
- func (a *Client) UpdateConfigShort(params *UpdateConfigParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateConfigOK, error)
- type ClientService
- type DeleteConfigNoContent
- type DeleteConfigParams
- func (o *DeleteConfigParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *DeleteConfigParams) SetContext(ctx context.Context)
- func (o *DeleteConfigParams) SetHTTPClient(client *http.Client)
- func (o *DeleteConfigParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *DeleteConfigParams) SetNamespace(namespace string)
- func (o *DeleteConfigParams) SetTimeout(timeout time.Duration)
- func (o *DeleteConfigParams) WithContext(ctx context.Context) *DeleteConfigParams
- func (o *DeleteConfigParams) WithHTTPClient(client *http.Client) *DeleteConfigParams
- func (o *DeleteConfigParams) WithNamespace(namespace string) *DeleteConfigParams
- func (o *DeleteConfigParams) WithTimeout(timeout time.Duration) *DeleteConfigParams
- func (o *DeleteConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteConfigReader
- type GetConfigInternalServerError
- type GetConfigNotFound
- type GetConfigOK
- type GetConfigParams
- func (o *GetConfigParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *GetConfigParams) SetContext(ctx context.Context)
- func (o *GetConfigParams) SetHTTPClient(client *http.Client)
- func (o *GetConfigParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *GetConfigParams) SetNamespace(namespace string)
- func (o *GetConfigParams) SetTimeout(timeout time.Duration)
- func (o *GetConfigParams) WithContext(ctx context.Context) *GetConfigParams
- func (o *GetConfigParams) WithHTTPClient(client *http.Client) *GetConfigParams
- func (o *GetConfigParams) WithNamespace(namespace string) *GetConfigParams
- func (o *GetConfigParams) WithTimeout(timeout time.Duration) *GetConfigParams
- func (o *GetConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetConfigReader
- type UpdateConfigBadRequest
- type UpdateConfigInternalServerError
- type UpdateConfigOK
- type UpdateConfigParams
- func (o *UpdateConfigParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *UpdateConfigParams) SetBody(body *basicclientmodels.ADTOForUpdateEqu8ConfigAPICall)
- func (o *UpdateConfigParams) SetContext(ctx context.Context)
- func (o *UpdateConfigParams) SetHTTPClient(client *http.Client)
- func (o *UpdateConfigParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *UpdateConfigParams) SetNamespace(namespace string)
- func (o *UpdateConfigParams) SetTimeout(timeout time.Duration)
- func (o *UpdateConfigParams) WithBody(body *basicclientmodels.ADTOForUpdateEqu8ConfigAPICall) *UpdateConfigParams
- func (o *UpdateConfigParams) WithContext(ctx context.Context) *UpdateConfigParams
- func (o *UpdateConfigParams) WithHTTPClient(client *http.Client) *UpdateConfigParams
- func (o *UpdateConfigParams) WithNamespace(namespace string) *UpdateConfigParams
- func (o *UpdateConfigParams) WithTimeout(timeout time.Duration) *UpdateConfigParams
- func (o *UpdateConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateConfigReader
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 e q u8 config API
func (*Client) DeleteConfig ¶
func (a *Client) DeleteConfig(params *DeleteConfigParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteConfigNoContent, error)
DeleteConfig deletes equ8 config
Delete equ8 config.<br>Other detail info: <ul><li><i>Required permission</i>: resource=<b>"ADMIN:NAMESPACE:{namespace}:EQU8CONFIG"</b>, action=8 <b>(DELETE)</b></li></ul>
func (*Client) DeleteConfigShort ¶ added in v0.8.0
func (a *Client) DeleteConfigShort(params *DeleteConfigParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteConfigNoContent, error)
func (*Client) GetConfig ¶
func (a *Client) GetConfig(params *GetConfigParams, authInfo runtime.ClientAuthInfoWriter) (*GetConfigOK, *GetConfigNotFound, *GetConfigInternalServerError, error)
GetConfig gets equ8 config
Get equ8 config.<br>Other detail info: <ul><li><i>Required permission</i>: resource=<b>"ADMIN:NAMESPACE:{namespace}:EQU8CONFIG"</b>, action=2 <b>(READ)</b></li></ul>
func (*Client) GetConfigShort ¶ added in v0.8.0
func (a *Client) GetConfigShort(params *GetConfigParams, authInfo runtime.ClientAuthInfoWriter) (*GetConfigOK, error)
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateConfig ¶
func (a *Client) UpdateConfig(params *UpdateConfigParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateConfigOK, *UpdateConfigBadRequest, *UpdateConfigInternalServerError, error)
UpdateConfig creates or update equ8 config
Update equ8 config, create if not exists.<br>Other detail info: <ul><li><i>Required permission</i>: resource=<b>"ADMIN:NAMESPACE:{namespace}:EQU8CONFIG"</b>, action=4 <b>(UPDATE)</b></li></ul>
func (*Client) UpdateConfigShort ¶ added in v0.8.0
func (a *Client) UpdateConfigShort(params *UpdateConfigParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateConfigOK, error)
type ClientService ¶
type ClientService interface { DeleteConfig(params *DeleteConfigParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteConfigNoContent, error) DeleteConfigShort(params *DeleteConfigParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteConfigNoContent, error) GetConfig(params *GetConfigParams, authInfo runtime.ClientAuthInfoWriter) (*GetConfigOK, *GetConfigNotFound, *GetConfigInternalServerError, error) GetConfigShort(params *GetConfigParams, authInfo runtime.ClientAuthInfoWriter) (*GetConfigOK, error) UpdateConfig(params *UpdateConfigParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateConfigOK, *UpdateConfigBadRequest, *UpdateConfigInternalServerError, error) UpdateConfigShort(params *UpdateConfigParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateConfigOK, 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 e q u8 config API client.
type DeleteConfigNoContent ¶
type DeleteConfigNoContent struct { }
DeleteConfigNoContent handles this case with default header values.
Delete equ8 config successfully
func NewDeleteConfigNoContent ¶
func NewDeleteConfigNoContent() *DeleteConfigNoContent
NewDeleteConfigNoContent creates a DeleteConfigNoContent with default headers values
func (*DeleteConfigNoContent) Error ¶
func (o *DeleteConfigNoContent) Error() string
type DeleteConfigParams ¶
type DeleteConfigParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace namespace, only accept alphabet and numeric */ Namespace string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteConfigParams contains all the parameters to send to the API endpoint for the delete config operation typically these are written to a http.Request
func NewDeleteConfigParams ¶
func NewDeleteConfigParams() *DeleteConfigParams
NewDeleteConfigParams creates a new DeleteConfigParams object with the default values initialized.
func NewDeleteConfigParamsWithContext ¶
func NewDeleteConfigParamsWithContext(ctx context.Context) *DeleteConfigParams
NewDeleteConfigParamsWithContext creates a new DeleteConfigParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteConfigParamsWithHTTPClient ¶
func NewDeleteConfigParamsWithHTTPClient(client *http.Client) *DeleteConfigParams
NewDeleteConfigParamsWithHTTPClient creates a new DeleteConfigParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteConfigParamsWithTimeout ¶
func NewDeleteConfigParamsWithTimeout(timeout time.Duration) *DeleteConfigParams
NewDeleteConfigParamsWithTimeout creates a new DeleteConfigParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteConfigParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *DeleteConfigParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the delete config params
func (*DeleteConfigParams) SetContext ¶
func (o *DeleteConfigParams) SetContext(ctx context.Context)
SetContext adds the context to the delete config params
func (*DeleteConfigParams) SetHTTPClient ¶
func (o *DeleteConfigParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete config params
func (*DeleteConfigParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *DeleteConfigParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the delete config params
func (*DeleteConfigParams) SetNamespace ¶
func (o *DeleteConfigParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the delete config params
func (*DeleteConfigParams) SetTimeout ¶
func (o *DeleteConfigParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete config params
func (*DeleteConfigParams) WithContext ¶
func (o *DeleteConfigParams) WithContext(ctx context.Context) *DeleteConfigParams
WithContext adds the context to the delete config params
func (*DeleteConfigParams) WithHTTPClient ¶
func (o *DeleteConfigParams) WithHTTPClient(client *http.Client) *DeleteConfigParams
WithHTTPClient adds the HTTPClient to the delete config params
func (*DeleteConfigParams) WithNamespace ¶
func (o *DeleteConfigParams) WithNamespace(namespace string) *DeleteConfigParams
WithNamespace adds the namespace to the delete config params
func (*DeleteConfigParams) WithTimeout ¶
func (o *DeleteConfigParams) WithTimeout(timeout time.Duration) *DeleteConfigParams
WithTimeout adds the timeout to the delete config params
func (*DeleteConfigParams) WriteToRequest ¶
func (o *DeleteConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteConfigReader ¶
type DeleteConfigReader struct {
// contains filtered or unexported fields
}
DeleteConfigReader is a Reader for the DeleteConfig structure.
func (*DeleteConfigReader) ReadResponse ¶
func (o *DeleteConfigReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetConfigInternalServerError ¶
type GetConfigInternalServerError struct {
Payload *basicclientmodels.ErrorEntity
}
GetConfigInternalServerError handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20000</td><td>internal server error</td></tr></table>
func NewGetConfigInternalServerError ¶
func NewGetConfigInternalServerError() *GetConfigInternalServerError
NewGetConfigInternalServerError creates a GetConfigInternalServerError with default headers values
func (*GetConfigInternalServerError) Error ¶
func (o *GetConfigInternalServerError) Error() string
func (*GetConfigInternalServerError) GetPayload ¶
func (o *GetConfigInternalServerError) GetPayload() *basicclientmodels.ErrorEntity
type GetConfigNotFound ¶
type GetConfigNotFound struct {
Payload *basicclientmodels.ErrorEntity
}
GetConfigNotFound handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>11641</td><td>Equ8 config not found in namespace [{namespace}]</td></tr></table>
func NewGetConfigNotFound ¶
func NewGetConfigNotFound() *GetConfigNotFound
NewGetConfigNotFound creates a GetConfigNotFound with default headers values
func (*GetConfigNotFound) Error ¶
func (o *GetConfigNotFound) Error() string
func (*GetConfigNotFound) GetPayload ¶
func (o *GetConfigNotFound) GetPayload() *basicclientmodels.ErrorEntity
type GetConfigOK ¶
type GetConfigOK struct {
Payload *basicclientmodels.Equ8Config
}
GetConfigOK handles this case with default header values.
successful operation
func NewGetConfigOK ¶
func NewGetConfigOK() *GetConfigOK
NewGetConfigOK creates a GetConfigOK with default headers values
func (*GetConfigOK) Error ¶
func (o *GetConfigOK) Error() string
func (*GetConfigOK) GetPayload ¶
func (o *GetConfigOK) GetPayload() *basicclientmodels.Equ8Config
type GetConfigParams ¶
type GetConfigParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace namespace, only accept alphabet and numeric */ Namespace string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetConfigParams contains all the parameters to send to the API endpoint for the get config operation typically these are written to a http.Request
func NewGetConfigParams ¶
func NewGetConfigParams() *GetConfigParams
NewGetConfigParams creates a new GetConfigParams object with the default values initialized.
func NewGetConfigParamsWithContext ¶
func NewGetConfigParamsWithContext(ctx context.Context) *GetConfigParams
NewGetConfigParamsWithContext creates a new GetConfigParams object with the default values initialized, and the ability to set a context for a request
func NewGetConfigParamsWithHTTPClient ¶
func NewGetConfigParamsWithHTTPClient(client *http.Client) *GetConfigParams
NewGetConfigParamsWithHTTPClient creates a new GetConfigParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetConfigParamsWithTimeout ¶
func NewGetConfigParamsWithTimeout(timeout time.Duration) *GetConfigParams
NewGetConfigParamsWithTimeout creates a new GetConfigParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetConfigParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *GetConfigParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the get config params
func (*GetConfigParams) SetContext ¶
func (o *GetConfigParams) SetContext(ctx context.Context)
SetContext adds the context to the get config params
func (*GetConfigParams) SetHTTPClient ¶
func (o *GetConfigParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get config params
func (*GetConfigParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *GetConfigParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the get config params
func (*GetConfigParams) SetNamespace ¶
func (o *GetConfigParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the get config params
func (*GetConfigParams) SetTimeout ¶
func (o *GetConfigParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get config params
func (*GetConfigParams) WithContext ¶
func (o *GetConfigParams) WithContext(ctx context.Context) *GetConfigParams
WithContext adds the context to the get config params
func (*GetConfigParams) WithHTTPClient ¶
func (o *GetConfigParams) WithHTTPClient(client *http.Client) *GetConfigParams
WithHTTPClient adds the HTTPClient to the get config params
func (*GetConfigParams) WithNamespace ¶
func (o *GetConfigParams) WithNamespace(namespace string) *GetConfigParams
WithNamespace adds the namespace to the get config params
func (*GetConfigParams) WithTimeout ¶
func (o *GetConfigParams) WithTimeout(timeout time.Duration) *GetConfigParams
WithTimeout adds the timeout to the get config params
func (*GetConfigParams) WriteToRequest ¶
func (o *GetConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetConfigReader ¶
type GetConfigReader struct {
// contains filtered or unexported fields
}
GetConfigReader is a Reader for the GetConfig structure.
func (*GetConfigReader) ReadResponse ¶
func (o *GetConfigReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateConfigBadRequest ¶
type UpdateConfigBadRequest struct {
Payload *basicclientmodels.ErrorEntity
}
UpdateConfigBadRequest handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>11621</td><td>Invalid EQU8 api key in namespace [{namespace}]</td></tr></table>
func NewUpdateConfigBadRequest ¶
func NewUpdateConfigBadRequest() *UpdateConfigBadRequest
NewUpdateConfigBadRequest creates a UpdateConfigBadRequest with default headers values
func (*UpdateConfigBadRequest) Error ¶
func (o *UpdateConfigBadRequest) Error() string
func (*UpdateConfigBadRequest) GetPayload ¶
func (o *UpdateConfigBadRequest) GetPayload() *basicclientmodels.ErrorEntity
type UpdateConfigInternalServerError ¶
type UpdateConfigInternalServerError struct {
Payload *basicclientmodels.ErrorEntity
}
UpdateConfigInternalServerError handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20000</td><td>internal server error</td></tr></table>
func NewUpdateConfigInternalServerError ¶
func NewUpdateConfigInternalServerError() *UpdateConfigInternalServerError
NewUpdateConfigInternalServerError creates a UpdateConfigInternalServerError with default headers values
func (*UpdateConfigInternalServerError) Error ¶
func (o *UpdateConfigInternalServerError) Error() string
func (*UpdateConfigInternalServerError) GetPayload ¶
func (o *UpdateConfigInternalServerError) GetPayload() *basicclientmodels.ErrorEntity
type UpdateConfigOK ¶
type UpdateConfigOK struct {
Payload *basicclientmodels.Equ8Config
}
UpdateConfigOK handles this case with default header values.
successful operation
func NewUpdateConfigOK ¶
func NewUpdateConfigOK() *UpdateConfigOK
NewUpdateConfigOK creates a UpdateConfigOK with default headers values
func (*UpdateConfigOK) Error ¶
func (o *UpdateConfigOK) Error() string
func (*UpdateConfigOK) GetPayload ¶
func (o *UpdateConfigOK) GetPayload() *basicclientmodels.Equ8Config
type UpdateConfigParams ¶
type UpdateConfigParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *basicclientmodels.ADTOForUpdateEqu8ConfigAPICall /*Namespace namespace, only accept alphabet and numeric */ Namespace string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateConfigParams contains all the parameters to send to the API endpoint for the update config operation typically these are written to a http.Request
func NewUpdateConfigParams ¶
func NewUpdateConfigParams() *UpdateConfigParams
NewUpdateConfigParams creates a new UpdateConfigParams object with the default values initialized.
func NewUpdateConfigParamsWithContext ¶
func NewUpdateConfigParamsWithContext(ctx context.Context) *UpdateConfigParams
NewUpdateConfigParamsWithContext creates a new UpdateConfigParams object with the default values initialized, and the ability to set a context for a request
func NewUpdateConfigParamsWithHTTPClient ¶
func NewUpdateConfigParamsWithHTTPClient(client *http.Client) *UpdateConfigParams
NewUpdateConfigParamsWithHTTPClient creates a new UpdateConfigParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUpdateConfigParamsWithTimeout ¶
func NewUpdateConfigParamsWithTimeout(timeout time.Duration) *UpdateConfigParams
NewUpdateConfigParamsWithTimeout creates a new UpdateConfigParams object with the default values initialized, and the ability to set a timeout on a request
func (*UpdateConfigParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *UpdateConfigParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the update config params
func (*UpdateConfigParams) SetBody ¶
func (o *UpdateConfigParams) SetBody(body *basicclientmodels.ADTOForUpdateEqu8ConfigAPICall)
SetBody adds the body to the update config params
func (*UpdateConfigParams) SetContext ¶
func (o *UpdateConfigParams) SetContext(ctx context.Context)
SetContext adds the context to the update config params
func (*UpdateConfigParams) SetHTTPClient ¶
func (o *UpdateConfigParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update config params
func (*UpdateConfigParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *UpdateConfigParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the update config params
func (*UpdateConfigParams) SetNamespace ¶
func (o *UpdateConfigParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the update config params
func (*UpdateConfigParams) SetTimeout ¶
func (o *UpdateConfigParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update config params
func (*UpdateConfigParams) WithBody ¶
func (o *UpdateConfigParams) WithBody(body *basicclientmodels.ADTOForUpdateEqu8ConfigAPICall) *UpdateConfigParams
WithBody adds the body to the update config params
func (*UpdateConfigParams) WithContext ¶
func (o *UpdateConfigParams) WithContext(ctx context.Context) *UpdateConfigParams
WithContext adds the context to the update config params
func (*UpdateConfigParams) WithHTTPClient ¶
func (o *UpdateConfigParams) WithHTTPClient(client *http.Client) *UpdateConfigParams
WithHTTPClient adds the HTTPClient to the update config params
func (*UpdateConfigParams) WithNamespace ¶
func (o *UpdateConfigParams) WithNamespace(namespace string) *UpdateConfigParams
WithNamespace adds the namespace to the update config params
func (*UpdateConfigParams) WithTimeout ¶
func (o *UpdateConfigParams) WithTimeout(timeout time.Duration) *UpdateConfigParams
WithTimeout adds the timeout to the update config params
func (*UpdateConfigParams) WriteToRequest ¶
func (o *UpdateConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateConfigReader ¶
type UpdateConfigReader struct {
// contains filtered or unexported fields
}
UpdateConfigReader is a Reader for the UpdateConfig structure.
func (*UpdateConfigReader) ReadResponse ¶
func (o *UpdateConfigReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.