cluster_upgrade_history

package
v2.14.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 4, 2024 License: ISC Imports: 10 Imported by: 0

Documentation

Index

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 (*GetClusterUpgradeHistoriesBadRequest) GetPayload

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 (*GetClusterUpgradeHistoriesConnectionBadRequest) GetPayload

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 (*GetClusterUpgradeHistoriesConnectionInternalServerError) GetPayload

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 (*GetClusterUpgradeHistoriesConnectionNotFound) GetPayload

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 (*GetClusterUpgradeHistoriesConnectionOK) GetPayload

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

SetContext adds the context to the get cluster upgrade histories connection params

func (*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

SetRequestBody adds the requestBody to the get cluster upgrade histories connection params

func (*GetClusterUpgradeHistoriesConnectionParams) SetTimeout

SetTimeout adds the timeout to the get cluster upgrade histories connection params

func (*GetClusterUpgradeHistoriesConnectionParams) WithContentLanguage

WithContentLanguage adds the contentLanguage to the get cluster upgrade histories connection params

func (*GetClusterUpgradeHistoriesConnectionParams) WithContext

WithContext adds the context to the get cluster upgrade histories connection params

func (*GetClusterUpgradeHistoriesConnectionParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the get cluster upgrade histories connection params

func (*GetClusterUpgradeHistoriesConnectionParams) WithRequestBody

WithRequestBody adds the requestBody to the get cluster upgrade histories connection params

func (*GetClusterUpgradeHistoriesConnectionParams) WithTimeout

WithTimeout adds the timeout to the get cluster upgrade histories connection params

func (*GetClusterUpgradeHistoriesConnectionParams) WriteToRequest

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 (*GetClusterUpgradeHistoriesInternalServerError) GetPayload

type GetClusterUpgradeHistoriesNotFound

type GetClusterUpgradeHistoriesNotFound struct {
	XTowerRequestID string

	Payload *models.ErrorBody
}
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 (*GetClusterUpgradeHistoriesNotFound) GetPayload

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 (*GetClusterUpgradeHistoriesOK) GetPayload

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

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

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

WithContext adds the context to the get cluster upgrade histories params

func (*GetClusterUpgradeHistoriesParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the get cluster upgrade histories params

func (*GetClusterUpgradeHistoriesParams) WithRequestBody

WithRequestBody adds the requestBody to the get cluster upgrade histories params

func (*GetClusterUpgradeHistoriesParams) WithTimeout

WithTimeout adds the timeout to the get cluster upgrade histories params

func (*GetClusterUpgradeHistoriesParams) WriteToRequest

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL