Documentation ¶
Index ¶
- type Client
- func (a *Client) GetClusterSettingses(params *GetClusterSettingsesParams, opts ...ClientOption) (*GetClusterSettingsesOK, error)
- func (a *Client) GetClusterSettingsesConnection(params *GetClusterSettingsesConnectionParams, opts ...ClientOption) (*GetClusterSettingsesConnectionOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type GetClusterSettingsesBadRequest
- type GetClusterSettingsesConnectionBadRequest
- type GetClusterSettingsesConnectionInternalServerError
- type GetClusterSettingsesConnectionNotFound
- type GetClusterSettingsesConnectionOK
- type GetClusterSettingsesConnectionParams
- func NewGetClusterSettingsesConnectionParams() *GetClusterSettingsesConnectionParams
- func NewGetClusterSettingsesConnectionParamsWithContext(ctx context.Context) *GetClusterSettingsesConnectionParams
- func NewGetClusterSettingsesConnectionParamsWithHTTPClient(client *http.Client) *GetClusterSettingsesConnectionParams
- func NewGetClusterSettingsesConnectionParamsWithTimeout(timeout time.Duration) *GetClusterSettingsesConnectionParams
- func (o *GetClusterSettingsesConnectionParams) SetContentLanguage(contentLanguage *string)
- func (o *GetClusterSettingsesConnectionParams) SetContext(ctx context.Context)
- func (o *GetClusterSettingsesConnectionParams) SetDefaults()
- func (o *GetClusterSettingsesConnectionParams) SetHTTPClient(client *http.Client)
- func (o *GetClusterSettingsesConnectionParams) SetRequestBody(requestBody *models.GetClusterSettingsesConnectionRequestBody)
- func (o *GetClusterSettingsesConnectionParams) SetTimeout(timeout time.Duration)
- func (o *GetClusterSettingsesConnectionParams) WithContentLanguage(contentLanguage *string) *GetClusterSettingsesConnectionParams
- func (o *GetClusterSettingsesConnectionParams) WithContext(ctx context.Context) *GetClusterSettingsesConnectionParams
- func (o *GetClusterSettingsesConnectionParams) WithDefaults() *GetClusterSettingsesConnectionParams
- func (o *GetClusterSettingsesConnectionParams) WithHTTPClient(client *http.Client) *GetClusterSettingsesConnectionParams
- func (o *GetClusterSettingsesConnectionParams) WithRequestBody(requestBody *models.GetClusterSettingsesConnectionRequestBody) *GetClusterSettingsesConnectionParams
- func (o *GetClusterSettingsesConnectionParams) WithTimeout(timeout time.Duration) *GetClusterSettingsesConnectionParams
- func (o *GetClusterSettingsesConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetClusterSettingsesConnectionReader
- type GetClusterSettingsesInternalServerError
- type GetClusterSettingsesNotFound
- type GetClusterSettingsesOK
- type GetClusterSettingsesParams
- func NewGetClusterSettingsesParams() *GetClusterSettingsesParams
- func NewGetClusterSettingsesParamsWithContext(ctx context.Context) *GetClusterSettingsesParams
- func NewGetClusterSettingsesParamsWithHTTPClient(client *http.Client) *GetClusterSettingsesParams
- func NewGetClusterSettingsesParamsWithTimeout(timeout time.Duration) *GetClusterSettingsesParams
- func (o *GetClusterSettingsesParams) SetContentLanguage(contentLanguage *string)
- func (o *GetClusterSettingsesParams) SetContext(ctx context.Context)
- func (o *GetClusterSettingsesParams) SetDefaults()
- func (o *GetClusterSettingsesParams) SetHTTPClient(client *http.Client)
- func (o *GetClusterSettingsesParams) SetRequestBody(requestBody *models.GetClusterSettingsesRequestBody)
- func (o *GetClusterSettingsesParams) SetTimeout(timeout time.Duration)
- func (o *GetClusterSettingsesParams) WithContentLanguage(contentLanguage *string) *GetClusterSettingsesParams
- func (o *GetClusterSettingsesParams) WithContext(ctx context.Context) *GetClusterSettingsesParams
- func (o *GetClusterSettingsesParams) WithDefaults() *GetClusterSettingsesParams
- func (o *GetClusterSettingsesParams) WithHTTPClient(client *http.Client) *GetClusterSettingsesParams
- func (o *GetClusterSettingsesParams) WithRequestBody(requestBody *models.GetClusterSettingsesRequestBody) *GetClusterSettingsesParams
- func (o *GetClusterSettingsesParams) WithTimeout(timeout time.Duration) *GetClusterSettingsesParams
- func (o *GetClusterSettingsesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetClusterSettingsesReader
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 cluster settings API
func (*Client) GetClusterSettingses ¶
func (a *Client) GetClusterSettingses(params *GetClusterSettingsesParams, opts ...ClientOption) (*GetClusterSettingsesOK, error)
GetClusterSettingses get cluster settingses API
func (*Client) GetClusterSettingsesConnection ¶
func (a *Client) GetClusterSettingsesConnection(params *GetClusterSettingsesConnectionParams, opts ...ClientOption) (*GetClusterSettingsesConnectionOK, error)
GetClusterSettingsesConnection get cluster settingses connection API
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { GetClusterSettingses(params *GetClusterSettingsesParams, opts ...ClientOption) (*GetClusterSettingsesOK, error) GetClusterSettingsesConnection(params *GetClusterSettingsesConnectionParams, opts ...ClientOption) (*GetClusterSettingsesConnectionOK, 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 cluster settings API client.
type GetClusterSettingsesBadRequest ¶
GetClusterSettingsesBadRequest describes a response with status code 400, with default header values.
Bad request
func NewGetClusterSettingsesBadRequest ¶
func NewGetClusterSettingsesBadRequest() *GetClusterSettingsesBadRequest
NewGetClusterSettingsesBadRequest creates a GetClusterSettingsesBadRequest with default headers values
func (*GetClusterSettingsesBadRequest) Error ¶
func (o *GetClusterSettingsesBadRequest) Error() string
func (*GetClusterSettingsesBadRequest) GetPayload ¶
func (o *GetClusterSettingsesBadRequest) GetPayload() *models.ErrorBody
type GetClusterSettingsesConnectionBadRequest ¶
GetClusterSettingsesConnectionBadRequest describes a response with status code 400, with default header values.
Bad request
func NewGetClusterSettingsesConnectionBadRequest ¶
func NewGetClusterSettingsesConnectionBadRequest() *GetClusterSettingsesConnectionBadRequest
NewGetClusterSettingsesConnectionBadRequest creates a GetClusterSettingsesConnectionBadRequest with default headers values
func (*GetClusterSettingsesConnectionBadRequest) Error ¶
func (o *GetClusterSettingsesConnectionBadRequest) Error() string
func (*GetClusterSettingsesConnectionBadRequest) GetPayload ¶
func (o *GetClusterSettingsesConnectionBadRequest) GetPayload() *models.ErrorBody
type GetClusterSettingsesConnectionInternalServerError ¶
GetClusterSettingsesConnectionInternalServerError describes a response with status code 500, with default header values.
Server error
func NewGetClusterSettingsesConnectionInternalServerError ¶
func NewGetClusterSettingsesConnectionInternalServerError() *GetClusterSettingsesConnectionInternalServerError
NewGetClusterSettingsesConnectionInternalServerError creates a GetClusterSettingsesConnectionInternalServerError with default headers values
func (*GetClusterSettingsesConnectionInternalServerError) Error ¶
func (o *GetClusterSettingsesConnectionInternalServerError) Error() string
func (*GetClusterSettingsesConnectionInternalServerError) GetPayload ¶
func (o *GetClusterSettingsesConnectionInternalServerError) GetPayload() *models.ErrorBody
type GetClusterSettingsesConnectionNotFound ¶
GetClusterSettingsesConnectionNotFound describes a response with status code 404, with default header values.
Not found
func NewGetClusterSettingsesConnectionNotFound ¶
func NewGetClusterSettingsesConnectionNotFound() *GetClusterSettingsesConnectionNotFound
NewGetClusterSettingsesConnectionNotFound creates a GetClusterSettingsesConnectionNotFound with default headers values
func (*GetClusterSettingsesConnectionNotFound) Error ¶
func (o *GetClusterSettingsesConnectionNotFound) Error() string
func (*GetClusterSettingsesConnectionNotFound) GetPayload ¶
func (o *GetClusterSettingsesConnectionNotFound) GetPayload() *models.ErrorBody
type GetClusterSettingsesConnectionOK ¶
type GetClusterSettingsesConnectionOK struct {
Payload *models.ClusterSettingsConnection
}
GetClusterSettingsesConnectionOK describes a response with status code 200, with default header values.
Ok
func NewGetClusterSettingsesConnectionOK ¶
func NewGetClusterSettingsesConnectionOK() *GetClusterSettingsesConnectionOK
NewGetClusterSettingsesConnectionOK creates a GetClusterSettingsesConnectionOK with default headers values
func (*GetClusterSettingsesConnectionOK) Error ¶
func (o *GetClusterSettingsesConnectionOK) Error() string
func (*GetClusterSettingsesConnectionOK) GetPayload ¶
func (o *GetClusterSettingsesConnectionOK) GetPayload() *models.ClusterSettingsConnection
type GetClusterSettingsesConnectionParams ¶
type GetClusterSettingsesConnectionParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.GetClusterSettingsesConnectionRequestBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetClusterSettingsesConnectionParams contains all the parameters to send to the API endpoint
for the get cluster settingses connection operation. Typically these are written to a http.Request.
func NewGetClusterSettingsesConnectionParams ¶
func NewGetClusterSettingsesConnectionParams() *GetClusterSettingsesConnectionParams
NewGetClusterSettingsesConnectionParams creates a new GetClusterSettingsesConnectionParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetClusterSettingsesConnectionParamsWithContext ¶
func NewGetClusterSettingsesConnectionParamsWithContext(ctx context.Context) *GetClusterSettingsesConnectionParams
NewGetClusterSettingsesConnectionParamsWithContext creates a new GetClusterSettingsesConnectionParams object with the ability to set a context for a request.
func NewGetClusterSettingsesConnectionParamsWithHTTPClient ¶
func NewGetClusterSettingsesConnectionParamsWithHTTPClient(client *http.Client) *GetClusterSettingsesConnectionParams
NewGetClusterSettingsesConnectionParamsWithHTTPClient creates a new GetClusterSettingsesConnectionParams object with the ability to set a custom HTTPClient for a request.
func NewGetClusterSettingsesConnectionParamsWithTimeout ¶
func NewGetClusterSettingsesConnectionParamsWithTimeout(timeout time.Duration) *GetClusterSettingsesConnectionParams
NewGetClusterSettingsesConnectionParamsWithTimeout creates a new GetClusterSettingsesConnectionParams object with the ability to set a timeout on a request.
func (*GetClusterSettingsesConnectionParams) SetContentLanguage ¶
func (o *GetClusterSettingsesConnectionParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the get cluster settingses connection params
func (*GetClusterSettingsesConnectionParams) SetContext ¶
func (o *GetClusterSettingsesConnectionParams) SetContext(ctx context.Context)
SetContext adds the context to the get cluster settingses connection params
func (*GetClusterSettingsesConnectionParams) SetDefaults ¶
func (o *GetClusterSettingsesConnectionParams) SetDefaults()
SetDefaults hydrates default values in the get cluster settingses connection params (not the query body).
All values with no default are reset to their zero value.
func (*GetClusterSettingsesConnectionParams) SetHTTPClient ¶
func (o *GetClusterSettingsesConnectionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get cluster settingses connection params
func (*GetClusterSettingsesConnectionParams) SetRequestBody ¶
func (o *GetClusterSettingsesConnectionParams) SetRequestBody(requestBody *models.GetClusterSettingsesConnectionRequestBody)
SetRequestBody adds the requestBody to the get cluster settingses connection params
func (*GetClusterSettingsesConnectionParams) SetTimeout ¶
func (o *GetClusterSettingsesConnectionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get cluster settingses connection params
func (*GetClusterSettingsesConnectionParams) WithContentLanguage ¶
func (o *GetClusterSettingsesConnectionParams) WithContentLanguage(contentLanguage *string) *GetClusterSettingsesConnectionParams
WithContentLanguage adds the contentLanguage to the get cluster settingses connection params
func (*GetClusterSettingsesConnectionParams) WithContext ¶
func (o *GetClusterSettingsesConnectionParams) WithContext(ctx context.Context) *GetClusterSettingsesConnectionParams
WithContext adds the context to the get cluster settingses connection params
func (*GetClusterSettingsesConnectionParams) WithDefaults ¶
func (o *GetClusterSettingsesConnectionParams) WithDefaults() *GetClusterSettingsesConnectionParams
WithDefaults hydrates default values in the get cluster settingses connection params (not the query body).
All values with no default are reset to their zero value.
func (*GetClusterSettingsesConnectionParams) WithHTTPClient ¶
func (o *GetClusterSettingsesConnectionParams) WithHTTPClient(client *http.Client) *GetClusterSettingsesConnectionParams
WithHTTPClient adds the HTTPClient to the get cluster settingses connection params
func (*GetClusterSettingsesConnectionParams) WithRequestBody ¶
func (o *GetClusterSettingsesConnectionParams) WithRequestBody(requestBody *models.GetClusterSettingsesConnectionRequestBody) *GetClusterSettingsesConnectionParams
WithRequestBody adds the requestBody to the get cluster settingses connection params
func (*GetClusterSettingsesConnectionParams) WithTimeout ¶
func (o *GetClusterSettingsesConnectionParams) WithTimeout(timeout time.Duration) *GetClusterSettingsesConnectionParams
WithTimeout adds the timeout to the get cluster settingses connection params
func (*GetClusterSettingsesConnectionParams) WriteToRequest ¶
func (o *GetClusterSettingsesConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetClusterSettingsesConnectionReader ¶
type GetClusterSettingsesConnectionReader struct {
// contains filtered or unexported fields
}
GetClusterSettingsesConnectionReader is a Reader for the GetClusterSettingsesConnection structure.
func (*GetClusterSettingsesConnectionReader) ReadResponse ¶
func (o *GetClusterSettingsesConnectionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetClusterSettingsesInternalServerError ¶
GetClusterSettingsesInternalServerError describes a response with status code 500, with default header values.
Server error
func NewGetClusterSettingsesInternalServerError ¶
func NewGetClusterSettingsesInternalServerError() *GetClusterSettingsesInternalServerError
NewGetClusterSettingsesInternalServerError creates a GetClusterSettingsesInternalServerError with default headers values
func (*GetClusterSettingsesInternalServerError) Error ¶
func (o *GetClusterSettingsesInternalServerError) Error() string
func (*GetClusterSettingsesInternalServerError) GetPayload ¶
func (o *GetClusterSettingsesInternalServerError) GetPayload() *models.ErrorBody
type GetClusterSettingsesNotFound ¶
GetClusterSettingsesNotFound describes a response with status code 404, with default header values.
Not found
func NewGetClusterSettingsesNotFound ¶
func NewGetClusterSettingsesNotFound() *GetClusterSettingsesNotFound
NewGetClusterSettingsesNotFound creates a GetClusterSettingsesNotFound with default headers values
func (*GetClusterSettingsesNotFound) Error ¶
func (o *GetClusterSettingsesNotFound) Error() string
func (*GetClusterSettingsesNotFound) GetPayload ¶
func (o *GetClusterSettingsesNotFound) GetPayload() *models.ErrorBody
type GetClusterSettingsesOK ¶
type GetClusterSettingsesOK struct {
Payload []*models.ClusterSettings
}
GetClusterSettingsesOK describes a response with status code 200, with default header values.
Ok
func NewGetClusterSettingsesOK ¶
func NewGetClusterSettingsesOK() *GetClusterSettingsesOK
NewGetClusterSettingsesOK creates a GetClusterSettingsesOK with default headers values
func (*GetClusterSettingsesOK) Error ¶
func (o *GetClusterSettingsesOK) Error() string
func (*GetClusterSettingsesOK) GetPayload ¶
func (o *GetClusterSettingsesOK) GetPayload() []*models.ClusterSettings
type GetClusterSettingsesParams ¶
type GetClusterSettingsesParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.GetClusterSettingsesRequestBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetClusterSettingsesParams contains all the parameters to send to the API endpoint
for the get cluster settingses operation. Typically these are written to a http.Request.
func NewGetClusterSettingsesParams ¶
func NewGetClusterSettingsesParams() *GetClusterSettingsesParams
NewGetClusterSettingsesParams creates a new GetClusterSettingsesParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetClusterSettingsesParamsWithContext ¶
func NewGetClusterSettingsesParamsWithContext(ctx context.Context) *GetClusterSettingsesParams
NewGetClusterSettingsesParamsWithContext creates a new GetClusterSettingsesParams object with the ability to set a context for a request.
func NewGetClusterSettingsesParamsWithHTTPClient ¶
func NewGetClusterSettingsesParamsWithHTTPClient(client *http.Client) *GetClusterSettingsesParams
NewGetClusterSettingsesParamsWithHTTPClient creates a new GetClusterSettingsesParams object with the ability to set a custom HTTPClient for a request.
func NewGetClusterSettingsesParamsWithTimeout ¶
func NewGetClusterSettingsesParamsWithTimeout(timeout time.Duration) *GetClusterSettingsesParams
NewGetClusterSettingsesParamsWithTimeout creates a new GetClusterSettingsesParams object with the ability to set a timeout on a request.
func (*GetClusterSettingsesParams) SetContentLanguage ¶
func (o *GetClusterSettingsesParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the get cluster settingses params
func (*GetClusterSettingsesParams) SetContext ¶
func (o *GetClusterSettingsesParams) SetContext(ctx context.Context)
SetContext adds the context to the get cluster settingses params
func (*GetClusterSettingsesParams) SetDefaults ¶
func (o *GetClusterSettingsesParams) SetDefaults()
SetDefaults hydrates default values in the get cluster settingses params (not the query body).
All values with no default are reset to their zero value.
func (*GetClusterSettingsesParams) SetHTTPClient ¶
func (o *GetClusterSettingsesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get cluster settingses params
func (*GetClusterSettingsesParams) SetRequestBody ¶
func (o *GetClusterSettingsesParams) SetRequestBody(requestBody *models.GetClusterSettingsesRequestBody)
SetRequestBody adds the requestBody to the get cluster settingses params
func (*GetClusterSettingsesParams) SetTimeout ¶
func (o *GetClusterSettingsesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get cluster settingses params
func (*GetClusterSettingsesParams) WithContentLanguage ¶
func (o *GetClusterSettingsesParams) WithContentLanguage(contentLanguage *string) *GetClusterSettingsesParams
WithContentLanguage adds the contentLanguage to the get cluster settingses params
func (*GetClusterSettingsesParams) WithContext ¶
func (o *GetClusterSettingsesParams) WithContext(ctx context.Context) *GetClusterSettingsesParams
WithContext adds the context to the get cluster settingses params
func (*GetClusterSettingsesParams) WithDefaults ¶
func (o *GetClusterSettingsesParams) WithDefaults() *GetClusterSettingsesParams
WithDefaults hydrates default values in the get cluster settingses params (not the query body).
All values with no default are reset to their zero value.
func (*GetClusterSettingsesParams) WithHTTPClient ¶
func (o *GetClusterSettingsesParams) WithHTTPClient(client *http.Client) *GetClusterSettingsesParams
WithHTTPClient adds the HTTPClient to the get cluster settingses params
func (*GetClusterSettingsesParams) WithRequestBody ¶
func (o *GetClusterSettingsesParams) WithRequestBody(requestBody *models.GetClusterSettingsesRequestBody) *GetClusterSettingsesParams
WithRequestBody adds the requestBody to the get cluster settingses params
func (*GetClusterSettingsesParams) WithTimeout ¶
func (o *GetClusterSettingsesParams) WithTimeout(timeout time.Duration) *GetClusterSettingsesParams
WithTimeout adds the timeout to the get cluster settingses params
func (*GetClusterSettingsesParams) WriteToRequest ¶
func (o *GetClusterSettingsesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetClusterSettingsesReader ¶
type GetClusterSettingsesReader struct {
// contains filtered or unexported fields
}
GetClusterSettingsesReader is a Reader for the GetClusterSettingses structure.
func (*GetClusterSettingsesReader) ReadResponse ¶
func (o *GetClusterSettingsesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.