Documentation ¶
Index ¶
- type Client
- func (a *Client) GetClusterUpgradeHistories(params *GetClusterUpgradeHistoriesParams, opts ...ClientOption) (*GetClusterUpgradeHistoriesOK, error)
- func (a *Client) GetClusterUpgradeHistoriesConnection(params *GetClusterUpgradeHistoriesConnectionParams, opts ...ClientOption) (*GetClusterUpgradeHistoriesConnectionOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type GetClusterUpgradeHistoriesBadRequest
- type GetClusterUpgradeHistoriesConnectionBadRequest
- type GetClusterUpgradeHistoriesConnectionInternalServerError
- type GetClusterUpgradeHistoriesConnectionNotFound
- type GetClusterUpgradeHistoriesConnectionOK
- type GetClusterUpgradeHistoriesConnectionParams
- func NewGetClusterUpgradeHistoriesConnectionParams() *GetClusterUpgradeHistoriesConnectionParams
- func NewGetClusterUpgradeHistoriesConnectionParamsWithContext(ctx context.Context) *GetClusterUpgradeHistoriesConnectionParams
- func NewGetClusterUpgradeHistoriesConnectionParamsWithHTTPClient(client *http.Client) *GetClusterUpgradeHistoriesConnectionParams
- func NewGetClusterUpgradeHistoriesConnectionParamsWithTimeout(timeout time.Duration) *GetClusterUpgradeHistoriesConnectionParams
- func (o *GetClusterUpgradeHistoriesConnectionParams) SetContentLanguage(contentLanguage *string)
- func (o *GetClusterUpgradeHistoriesConnectionParams) SetContext(ctx context.Context)
- func (o *GetClusterUpgradeHistoriesConnectionParams) SetDefaults()
- func (o *GetClusterUpgradeHistoriesConnectionParams) SetHTTPClient(client *http.Client)
- func (o *GetClusterUpgradeHistoriesConnectionParams) SetRequestBody(requestBody *models.GetClusterUpgradeHistoriesConnectionRequestBody)
- func (o *GetClusterUpgradeHistoriesConnectionParams) SetTimeout(timeout time.Duration)
- func (o *GetClusterUpgradeHistoriesConnectionParams) WithContentLanguage(contentLanguage *string) *GetClusterUpgradeHistoriesConnectionParams
- func (o *GetClusterUpgradeHistoriesConnectionParams) WithContext(ctx context.Context) *GetClusterUpgradeHistoriesConnectionParams
- func (o *GetClusterUpgradeHistoriesConnectionParams) WithDefaults() *GetClusterUpgradeHistoriesConnectionParams
- func (o *GetClusterUpgradeHistoriesConnectionParams) WithHTTPClient(client *http.Client) *GetClusterUpgradeHistoriesConnectionParams
- func (o *GetClusterUpgradeHistoriesConnectionParams) WithRequestBody(requestBody *models.GetClusterUpgradeHistoriesConnectionRequestBody) *GetClusterUpgradeHistoriesConnectionParams
- func (o *GetClusterUpgradeHistoriesConnectionParams) WithTimeout(timeout time.Duration) *GetClusterUpgradeHistoriesConnectionParams
- func (o *GetClusterUpgradeHistoriesConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetClusterUpgradeHistoriesConnectionReader
- type GetClusterUpgradeHistoriesInternalServerError
- type GetClusterUpgradeHistoriesNotFound
- type GetClusterUpgradeHistoriesOK
- type GetClusterUpgradeHistoriesParams
- func NewGetClusterUpgradeHistoriesParams() *GetClusterUpgradeHistoriesParams
- func NewGetClusterUpgradeHistoriesParamsWithContext(ctx context.Context) *GetClusterUpgradeHistoriesParams
- func NewGetClusterUpgradeHistoriesParamsWithHTTPClient(client *http.Client) *GetClusterUpgradeHistoriesParams
- func NewGetClusterUpgradeHistoriesParamsWithTimeout(timeout time.Duration) *GetClusterUpgradeHistoriesParams
- func (o *GetClusterUpgradeHistoriesParams) SetContentLanguage(contentLanguage *string)
- func (o *GetClusterUpgradeHistoriesParams) SetContext(ctx context.Context)
- func (o *GetClusterUpgradeHistoriesParams) SetDefaults()
- func (o *GetClusterUpgradeHistoriesParams) SetHTTPClient(client *http.Client)
- func (o *GetClusterUpgradeHistoriesParams) SetRequestBody(requestBody *models.GetClusterUpgradeHistoriesRequestBody)
- func (o *GetClusterUpgradeHistoriesParams) SetTimeout(timeout time.Duration)
- func (o *GetClusterUpgradeHistoriesParams) WithContentLanguage(contentLanguage *string) *GetClusterUpgradeHistoriesParams
- func (o *GetClusterUpgradeHistoriesParams) WithContext(ctx context.Context) *GetClusterUpgradeHistoriesParams
- func (o *GetClusterUpgradeHistoriesParams) WithDefaults() *GetClusterUpgradeHistoriesParams
- func (o *GetClusterUpgradeHistoriesParams) WithHTTPClient(client *http.Client) *GetClusterUpgradeHistoriesParams
- func (o *GetClusterUpgradeHistoriesParams) WithRequestBody(requestBody *models.GetClusterUpgradeHistoriesRequestBody) *GetClusterUpgradeHistoriesParams
- func (o *GetClusterUpgradeHistoriesParams) WithTimeout(timeout time.Duration) *GetClusterUpgradeHistoriesParams
- func (o *GetClusterUpgradeHistoriesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetClusterUpgradeHistoriesReader
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 upgrade history API
func (*Client) GetClusterUpgradeHistories ¶
func (a *Client) GetClusterUpgradeHistories(params *GetClusterUpgradeHistoriesParams, opts ...ClientOption) (*GetClusterUpgradeHistoriesOK, error)
GetClusterUpgradeHistories get cluster upgrade histories API
func (*Client) GetClusterUpgradeHistoriesConnection ¶
func (a *Client) GetClusterUpgradeHistoriesConnection(params *GetClusterUpgradeHistoriesConnectionParams, opts ...ClientOption) (*GetClusterUpgradeHistoriesConnectionOK, error)
GetClusterUpgradeHistoriesConnection get cluster upgrade histories 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 { GetClusterUpgradeHistories(params *GetClusterUpgradeHistoriesParams, opts ...ClientOption) (*GetClusterUpgradeHistoriesOK, error) GetClusterUpgradeHistoriesConnection(params *GetClusterUpgradeHistoriesConnectionParams, opts ...ClientOption) (*GetClusterUpgradeHistoriesConnectionOK, 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 upgrade history API client.
type GetClusterUpgradeHistoriesBadRequest ¶
type GetClusterUpgradeHistoriesBadRequest struct { XTowerRequestID string Payload *models.ErrorBody }
GetClusterUpgradeHistoriesBadRequest describes a response with status code 400, with default header values.
Bad request
func NewGetClusterUpgradeHistoriesBadRequest ¶
func NewGetClusterUpgradeHistoriesBadRequest() *GetClusterUpgradeHistoriesBadRequest
NewGetClusterUpgradeHistoriesBadRequest creates a GetClusterUpgradeHistoriesBadRequest with default headers values
func (*GetClusterUpgradeHistoriesBadRequest) Error ¶
func (o *GetClusterUpgradeHistoriesBadRequest) Error() string
func (*GetClusterUpgradeHistoriesBadRequest) GetPayload ¶
func (o *GetClusterUpgradeHistoriesBadRequest) GetPayload() *models.ErrorBody
type GetClusterUpgradeHistoriesConnectionBadRequest ¶
type GetClusterUpgradeHistoriesConnectionBadRequest struct { XTowerRequestID string Payload *models.ErrorBody }
GetClusterUpgradeHistoriesConnectionBadRequest describes a response with status code 400, with default header values.
Bad request
func NewGetClusterUpgradeHistoriesConnectionBadRequest ¶
func NewGetClusterUpgradeHistoriesConnectionBadRequest() *GetClusterUpgradeHistoriesConnectionBadRequest
NewGetClusterUpgradeHistoriesConnectionBadRequest creates a GetClusterUpgradeHistoriesConnectionBadRequest with default headers values
func (*GetClusterUpgradeHistoriesConnectionBadRequest) Error ¶
func (o *GetClusterUpgradeHistoriesConnectionBadRequest) Error() string
func (*GetClusterUpgradeHistoriesConnectionBadRequest) GetPayload ¶
func (o *GetClusterUpgradeHistoriesConnectionBadRequest) GetPayload() *models.ErrorBody
type GetClusterUpgradeHistoriesConnectionInternalServerError ¶
type GetClusterUpgradeHistoriesConnectionInternalServerError struct { XTowerRequestID string Payload *models.ErrorBody }
GetClusterUpgradeHistoriesConnectionInternalServerError describes a response with status code 500, with default header values.
Server error
func NewGetClusterUpgradeHistoriesConnectionInternalServerError ¶
func NewGetClusterUpgradeHistoriesConnectionInternalServerError() *GetClusterUpgradeHistoriesConnectionInternalServerError
NewGetClusterUpgradeHistoriesConnectionInternalServerError creates a GetClusterUpgradeHistoriesConnectionInternalServerError with default headers values
func (*GetClusterUpgradeHistoriesConnectionInternalServerError) Error ¶
func (o *GetClusterUpgradeHistoriesConnectionInternalServerError) Error() string
func (*GetClusterUpgradeHistoriesConnectionInternalServerError) GetPayload ¶
func (o *GetClusterUpgradeHistoriesConnectionInternalServerError) GetPayload() *models.ErrorBody
type GetClusterUpgradeHistoriesConnectionNotFound ¶
type GetClusterUpgradeHistoriesConnectionNotFound struct { XTowerRequestID string Payload *models.ErrorBody }
GetClusterUpgradeHistoriesConnectionNotFound describes a response with status code 404, with default header values.
Not found
func NewGetClusterUpgradeHistoriesConnectionNotFound ¶
func NewGetClusterUpgradeHistoriesConnectionNotFound() *GetClusterUpgradeHistoriesConnectionNotFound
NewGetClusterUpgradeHistoriesConnectionNotFound creates a GetClusterUpgradeHistoriesConnectionNotFound with default headers values
func (*GetClusterUpgradeHistoriesConnectionNotFound) Error ¶
func (o *GetClusterUpgradeHistoriesConnectionNotFound) Error() string
func (*GetClusterUpgradeHistoriesConnectionNotFound) GetPayload ¶
func (o *GetClusterUpgradeHistoriesConnectionNotFound) GetPayload() *models.ErrorBody
type GetClusterUpgradeHistoriesConnectionOK ¶
type GetClusterUpgradeHistoriesConnectionOK struct { XTowerRequestID string Payload *models.ClusterUpgradeHistoryConnection }
GetClusterUpgradeHistoriesConnectionOK describes a response with status code 200, with default header values.
GetClusterUpgradeHistoriesConnectionOK get cluster upgrade histories connection o k
func NewGetClusterUpgradeHistoriesConnectionOK ¶
func NewGetClusterUpgradeHistoriesConnectionOK() *GetClusterUpgradeHistoriesConnectionOK
NewGetClusterUpgradeHistoriesConnectionOK creates a GetClusterUpgradeHistoriesConnectionOK with default headers values
func (*GetClusterUpgradeHistoriesConnectionOK) Error ¶
func (o *GetClusterUpgradeHistoriesConnectionOK) Error() string
func (*GetClusterUpgradeHistoriesConnectionOK) GetPayload ¶
func (o *GetClusterUpgradeHistoriesConnectionOK) GetPayload() *models.ClusterUpgradeHistoryConnection
type GetClusterUpgradeHistoriesConnectionParams ¶
type GetClusterUpgradeHistoriesConnectionParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.GetClusterUpgradeHistoriesConnectionRequestBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetClusterUpgradeHistoriesConnectionParams contains all the parameters to send to the API endpoint
for the get cluster upgrade histories connection operation. Typically these are written to a http.Request.
func NewGetClusterUpgradeHistoriesConnectionParams ¶
func NewGetClusterUpgradeHistoriesConnectionParams() *GetClusterUpgradeHistoriesConnectionParams
NewGetClusterUpgradeHistoriesConnectionParams creates a new GetClusterUpgradeHistoriesConnectionParams 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 NewGetClusterUpgradeHistoriesConnectionParamsWithContext ¶
func NewGetClusterUpgradeHistoriesConnectionParamsWithContext(ctx context.Context) *GetClusterUpgradeHistoriesConnectionParams
NewGetClusterUpgradeHistoriesConnectionParamsWithContext creates a new GetClusterUpgradeHistoriesConnectionParams object with the ability to set a context for a request.
func NewGetClusterUpgradeHistoriesConnectionParamsWithHTTPClient ¶
func NewGetClusterUpgradeHistoriesConnectionParamsWithHTTPClient(client *http.Client) *GetClusterUpgradeHistoriesConnectionParams
NewGetClusterUpgradeHistoriesConnectionParamsWithHTTPClient creates a new GetClusterUpgradeHistoriesConnectionParams object with the ability to set a custom HTTPClient for a request.
func NewGetClusterUpgradeHistoriesConnectionParamsWithTimeout ¶
func NewGetClusterUpgradeHistoriesConnectionParamsWithTimeout(timeout time.Duration) *GetClusterUpgradeHistoriesConnectionParams
NewGetClusterUpgradeHistoriesConnectionParamsWithTimeout creates a new GetClusterUpgradeHistoriesConnectionParams object with the ability to set a timeout on a request.
func (*GetClusterUpgradeHistoriesConnectionParams) SetContentLanguage ¶
func (o *GetClusterUpgradeHistoriesConnectionParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the get cluster upgrade histories connection params
func (*GetClusterUpgradeHistoriesConnectionParams) SetContext ¶
func (o *GetClusterUpgradeHistoriesConnectionParams) SetContext(ctx context.Context)
SetContext adds the context to the get cluster upgrade histories connection params
func (*GetClusterUpgradeHistoriesConnectionParams) SetDefaults ¶
func (o *GetClusterUpgradeHistoriesConnectionParams) SetDefaults()
SetDefaults hydrates default values in the get cluster upgrade histories connection params (not the query body).
All values with no default are reset to their zero value.
func (*GetClusterUpgradeHistoriesConnectionParams) SetHTTPClient ¶
func (o *GetClusterUpgradeHistoriesConnectionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get cluster upgrade histories connection params
func (*GetClusterUpgradeHistoriesConnectionParams) SetRequestBody ¶
func (o *GetClusterUpgradeHistoriesConnectionParams) SetRequestBody(requestBody *models.GetClusterUpgradeHistoriesConnectionRequestBody)
SetRequestBody adds the requestBody to the get cluster upgrade histories connection params
func (*GetClusterUpgradeHistoriesConnectionParams) SetTimeout ¶
func (o *GetClusterUpgradeHistoriesConnectionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get cluster upgrade histories connection params
func (*GetClusterUpgradeHistoriesConnectionParams) WithContentLanguage ¶
func (o *GetClusterUpgradeHistoriesConnectionParams) WithContentLanguage(contentLanguage *string) *GetClusterUpgradeHistoriesConnectionParams
WithContentLanguage adds the contentLanguage to the get cluster upgrade histories connection params
func (*GetClusterUpgradeHistoriesConnectionParams) WithContext ¶
func (o *GetClusterUpgradeHistoriesConnectionParams) WithContext(ctx context.Context) *GetClusterUpgradeHistoriesConnectionParams
WithContext adds the context to the get cluster upgrade histories connection params
func (*GetClusterUpgradeHistoriesConnectionParams) WithDefaults ¶
func (o *GetClusterUpgradeHistoriesConnectionParams) WithDefaults() *GetClusterUpgradeHistoriesConnectionParams
WithDefaults hydrates default values in the get cluster upgrade histories connection params (not the query body).
All values with no default are reset to their zero value.
func (*GetClusterUpgradeHistoriesConnectionParams) WithHTTPClient ¶
func (o *GetClusterUpgradeHistoriesConnectionParams) WithHTTPClient(client *http.Client) *GetClusterUpgradeHistoriesConnectionParams
WithHTTPClient adds the HTTPClient to the get cluster upgrade histories connection params
func (*GetClusterUpgradeHistoriesConnectionParams) WithRequestBody ¶
func (o *GetClusterUpgradeHistoriesConnectionParams) WithRequestBody(requestBody *models.GetClusterUpgradeHistoriesConnectionRequestBody) *GetClusterUpgradeHistoriesConnectionParams
WithRequestBody adds the requestBody to the get cluster upgrade histories connection params
func (*GetClusterUpgradeHistoriesConnectionParams) WithTimeout ¶
func (o *GetClusterUpgradeHistoriesConnectionParams) WithTimeout(timeout time.Duration) *GetClusterUpgradeHistoriesConnectionParams
WithTimeout adds the timeout to the get cluster upgrade histories connection params
func (*GetClusterUpgradeHistoriesConnectionParams) WriteToRequest ¶
func (o *GetClusterUpgradeHistoriesConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetClusterUpgradeHistoriesConnectionReader ¶
type GetClusterUpgradeHistoriesConnectionReader struct {
// contains filtered or unexported fields
}
GetClusterUpgradeHistoriesConnectionReader is a Reader for the GetClusterUpgradeHistoriesConnection structure.
func (*GetClusterUpgradeHistoriesConnectionReader) ReadResponse ¶
func (o *GetClusterUpgradeHistoriesConnectionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetClusterUpgradeHistoriesInternalServerError ¶
type GetClusterUpgradeHistoriesInternalServerError struct { XTowerRequestID string Payload *models.ErrorBody }
GetClusterUpgradeHistoriesInternalServerError describes a response with status code 500, with default header values.
Server error
func NewGetClusterUpgradeHistoriesInternalServerError ¶
func NewGetClusterUpgradeHistoriesInternalServerError() *GetClusterUpgradeHistoriesInternalServerError
NewGetClusterUpgradeHistoriesInternalServerError creates a GetClusterUpgradeHistoriesInternalServerError with default headers values
func (*GetClusterUpgradeHistoriesInternalServerError) Error ¶
func (o *GetClusterUpgradeHistoriesInternalServerError) Error() string
func (*GetClusterUpgradeHistoriesInternalServerError) GetPayload ¶
func (o *GetClusterUpgradeHistoriesInternalServerError) GetPayload() *models.ErrorBody
type GetClusterUpgradeHistoriesNotFound ¶
GetClusterUpgradeHistoriesNotFound describes a response with status code 404, with default header values.
Not found
func NewGetClusterUpgradeHistoriesNotFound ¶
func NewGetClusterUpgradeHistoriesNotFound() *GetClusterUpgradeHistoriesNotFound
NewGetClusterUpgradeHistoriesNotFound creates a GetClusterUpgradeHistoriesNotFound with default headers values
func (*GetClusterUpgradeHistoriesNotFound) Error ¶
func (o *GetClusterUpgradeHistoriesNotFound) Error() string
func (*GetClusterUpgradeHistoriesNotFound) GetPayload ¶
func (o *GetClusterUpgradeHistoriesNotFound) GetPayload() *models.ErrorBody
type GetClusterUpgradeHistoriesOK ¶
type GetClusterUpgradeHistoriesOK struct { XTowerRequestID string Payload []*models.ClusterUpgradeHistory }
GetClusterUpgradeHistoriesOK describes a response with status code 200, with default header values.
GetClusterUpgradeHistoriesOK get cluster upgrade histories o k
func NewGetClusterUpgradeHistoriesOK ¶
func NewGetClusterUpgradeHistoriesOK() *GetClusterUpgradeHistoriesOK
NewGetClusterUpgradeHistoriesOK creates a GetClusterUpgradeHistoriesOK with default headers values
func (*GetClusterUpgradeHistoriesOK) Error ¶
func (o *GetClusterUpgradeHistoriesOK) Error() string
func (*GetClusterUpgradeHistoriesOK) GetPayload ¶
func (o *GetClusterUpgradeHistoriesOK) GetPayload() []*models.ClusterUpgradeHistory
type GetClusterUpgradeHistoriesParams ¶
type GetClusterUpgradeHistoriesParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.GetClusterUpgradeHistoriesRequestBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetClusterUpgradeHistoriesParams contains all the parameters to send to the API endpoint
for the get cluster upgrade histories operation. Typically these are written to a http.Request.
func NewGetClusterUpgradeHistoriesParams ¶
func NewGetClusterUpgradeHistoriesParams() *GetClusterUpgradeHistoriesParams
NewGetClusterUpgradeHistoriesParams creates a new GetClusterUpgradeHistoriesParams 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 NewGetClusterUpgradeHistoriesParamsWithContext ¶
func NewGetClusterUpgradeHistoriesParamsWithContext(ctx context.Context) *GetClusterUpgradeHistoriesParams
NewGetClusterUpgradeHistoriesParamsWithContext creates a new GetClusterUpgradeHistoriesParams object with the ability to set a context for a request.
func NewGetClusterUpgradeHistoriesParamsWithHTTPClient ¶
func NewGetClusterUpgradeHistoriesParamsWithHTTPClient(client *http.Client) *GetClusterUpgradeHistoriesParams
NewGetClusterUpgradeHistoriesParamsWithHTTPClient creates a new GetClusterUpgradeHistoriesParams object with the ability to set a custom HTTPClient for a request.
func NewGetClusterUpgradeHistoriesParamsWithTimeout ¶
func NewGetClusterUpgradeHistoriesParamsWithTimeout(timeout time.Duration) *GetClusterUpgradeHistoriesParams
NewGetClusterUpgradeHistoriesParamsWithTimeout creates a new GetClusterUpgradeHistoriesParams object with the ability to set a timeout on a request.
func (*GetClusterUpgradeHistoriesParams) SetContentLanguage ¶
func (o *GetClusterUpgradeHistoriesParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the get cluster upgrade histories params
func (*GetClusterUpgradeHistoriesParams) SetContext ¶
func (o *GetClusterUpgradeHistoriesParams) SetContext(ctx context.Context)
SetContext adds the context to the get cluster upgrade histories params
func (*GetClusterUpgradeHistoriesParams) SetDefaults ¶
func (o *GetClusterUpgradeHistoriesParams) SetDefaults()
SetDefaults hydrates default values in the get cluster upgrade histories params (not the query body).
All values with no default are reset to their zero value.
func (*GetClusterUpgradeHistoriesParams) SetHTTPClient ¶
func (o *GetClusterUpgradeHistoriesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get cluster upgrade histories params
func (*GetClusterUpgradeHistoriesParams) SetRequestBody ¶
func (o *GetClusterUpgradeHistoriesParams) SetRequestBody(requestBody *models.GetClusterUpgradeHistoriesRequestBody)
SetRequestBody adds the requestBody to the get cluster upgrade histories params
func (*GetClusterUpgradeHistoriesParams) SetTimeout ¶
func (o *GetClusterUpgradeHistoriesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get cluster upgrade histories params
func (*GetClusterUpgradeHistoriesParams) WithContentLanguage ¶
func (o *GetClusterUpgradeHistoriesParams) WithContentLanguage(contentLanguage *string) *GetClusterUpgradeHistoriesParams
WithContentLanguage adds the contentLanguage to the get cluster upgrade histories params
func (*GetClusterUpgradeHistoriesParams) WithContext ¶
func (o *GetClusterUpgradeHistoriesParams) WithContext(ctx context.Context) *GetClusterUpgradeHistoriesParams
WithContext adds the context to the get cluster upgrade histories params
func (*GetClusterUpgradeHistoriesParams) WithDefaults ¶
func (o *GetClusterUpgradeHistoriesParams) WithDefaults() *GetClusterUpgradeHistoriesParams
WithDefaults hydrates default values in the get cluster upgrade histories params (not the query body).
All values with no default are reset to their zero value.
func (*GetClusterUpgradeHistoriesParams) WithHTTPClient ¶
func (o *GetClusterUpgradeHistoriesParams) WithHTTPClient(client *http.Client) *GetClusterUpgradeHistoriesParams
WithHTTPClient adds the HTTPClient to the get cluster upgrade histories params
func (*GetClusterUpgradeHistoriesParams) WithRequestBody ¶
func (o *GetClusterUpgradeHistoriesParams) WithRequestBody(requestBody *models.GetClusterUpgradeHistoriesRequestBody) *GetClusterUpgradeHistoriesParams
WithRequestBody adds the requestBody to the get cluster upgrade histories params
func (*GetClusterUpgradeHistoriesParams) WithTimeout ¶
func (o *GetClusterUpgradeHistoriesParams) WithTimeout(timeout time.Duration) *GetClusterUpgradeHistoriesParams
WithTimeout adds the timeout to the get cluster upgrade histories params
func (*GetClusterUpgradeHistoriesParams) WriteToRequest ¶
func (o *GetClusterUpgradeHistoriesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetClusterUpgradeHistoriesReader ¶
type GetClusterUpgradeHistoriesReader struct {
// contains filtered or unexported fields
}
GetClusterUpgradeHistoriesReader is a Reader for the GetClusterUpgradeHistories structure.
func (*GetClusterUpgradeHistoriesReader) ReadResponse ¶
func (o *GetClusterUpgradeHistoriesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.