Documentation ¶
Index ¶
- type Client
- func (a *Client) GetMasterVersions(params *GetMasterVersionsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetMasterVersionsOK, error)
- func (a *Client) GetMetaKubeVersions(params *GetMetaKubeVersionsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetMetaKubeVersionsOK, error)
- func (a *Client) GetNodeUpgrades(params *GetNodeUpgradesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetNodeUpgradesOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type GetMasterVersionsDefault
- type GetMasterVersionsOK
- type GetMasterVersionsParams
- func NewGetMasterVersionsParams() *GetMasterVersionsParams
- func NewGetMasterVersionsParamsWithContext(ctx context.Context) *GetMasterVersionsParams
- func NewGetMasterVersionsParamsWithHTTPClient(client *http.Client) *GetMasterVersionsParams
- func NewGetMasterVersionsParamsWithTimeout(timeout time.Duration) *GetMasterVersionsParams
- func (o *GetMasterVersionsParams) SetContext(ctx context.Context)
- func (o *GetMasterVersionsParams) SetDefaults()
- func (o *GetMasterVersionsParams) SetHTTPClient(client *http.Client)
- func (o *GetMasterVersionsParams) SetTimeout(timeout time.Duration)
- func (o *GetMasterVersionsParams) WithContext(ctx context.Context) *GetMasterVersionsParams
- func (o *GetMasterVersionsParams) WithDefaults() *GetMasterVersionsParams
- func (o *GetMasterVersionsParams) WithHTTPClient(client *http.Client) *GetMasterVersionsParams
- func (o *GetMasterVersionsParams) WithTimeout(timeout time.Duration) *GetMasterVersionsParams
- func (o *GetMasterVersionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetMasterVersionsReader
- type GetMetaKubeVersionsDefault
- type GetMetaKubeVersionsOK
- type GetMetaKubeVersionsParams
- func NewGetMetaKubeVersionsParams() *GetMetaKubeVersionsParams
- func NewGetMetaKubeVersionsParamsWithContext(ctx context.Context) *GetMetaKubeVersionsParams
- func NewGetMetaKubeVersionsParamsWithHTTPClient(client *http.Client) *GetMetaKubeVersionsParams
- func NewGetMetaKubeVersionsParamsWithTimeout(timeout time.Duration) *GetMetaKubeVersionsParams
- func (o *GetMetaKubeVersionsParams) SetContext(ctx context.Context)
- func (o *GetMetaKubeVersionsParams) SetDefaults()
- func (o *GetMetaKubeVersionsParams) SetHTTPClient(client *http.Client)
- func (o *GetMetaKubeVersionsParams) SetTimeout(timeout time.Duration)
- func (o *GetMetaKubeVersionsParams) WithContext(ctx context.Context) *GetMetaKubeVersionsParams
- func (o *GetMetaKubeVersionsParams) WithDefaults() *GetMetaKubeVersionsParams
- func (o *GetMetaKubeVersionsParams) WithHTTPClient(client *http.Client) *GetMetaKubeVersionsParams
- func (o *GetMetaKubeVersionsParams) WithTimeout(timeout time.Duration) *GetMetaKubeVersionsParams
- func (o *GetMetaKubeVersionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetMetaKubeVersionsReader
- type GetNodeUpgradesDefault
- type GetNodeUpgradesForbidden
- type GetNodeUpgradesOK
- type GetNodeUpgradesParams
- func NewGetNodeUpgradesParams() *GetNodeUpgradesParams
- func NewGetNodeUpgradesParamsWithContext(ctx context.Context) *GetNodeUpgradesParams
- func NewGetNodeUpgradesParamsWithHTTPClient(client *http.Client) *GetNodeUpgradesParams
- func NewGetNodeUpgradesParamsWithTimeout(timeout time.Duration) *GetNodeUpgradesParams
- func (o *GetNodeUpgradesParams) SetContext(ctx context.Context)
- func (o *GetNodeUpgradesParams) SetControlPlaneVersion(controlPlaneVersion *string)
- func (o *GetNodeUpgradesParams) SetDefaults()
- func (o *GetNodeUpgradesParams) SetHTTPClient(client *http.Client)
- func (o *GetNodeUpgradesParams) SetTimeout(timeout time.Duration)
- func (o *GetNodeUpgradesParams) SetType(typeVar *string)
- func (o *GetNodeUpgradesParams) WithContext(ctx context.Context) *GetNodeUpgradesParams
- func (o *GetNodeUpgradesParams) WithControlPlaneVersion(controlPlaneVersion *string) *GetNodeUpgradesParams
- func (o *GetNodeUpgradesParams) WithDefaults() *GetNodeUpgradesParams
- func (o *GetNodeUpgradesParams) WithHTTPClient(client *http.Client) *GetNodeUpgradesParams
- func (o *GetNodeUpgradesParams) WithTimeout(timeout time.Duration) *GetNodeUpgradesParams
- func (o *GetNodeUpgradesParams) WithType(typeVar *string) *GetNodeUpgradesParams
- func (o *GetNodeUpgradesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetNodeUpgradesReader
- type GetNodeUpgradesUnauthorized
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 versions API
func (*Client) GetMasterVersions ¶
func (a *Client) GetMasterVersions(params *GetMasterVersionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetMasterVersionsOK, error)
GetMasterVersions Lists all versions which don't result in automatic updates
func (*Client) GetMetaKubeVersions ¶
func (a *Client) GetMetaKubeVersions(params *GetMetaKubeVersionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetMetaKubeVersionsOK, error)
GetMetaKubeVersions gets versions of running meta kube components
func (*Client) GetNodeUpgrades ¶
func (a *Client) GetNodeUpgrades(params *GetNodeUpgradesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNodeUpgradesOK, error)
GetNodeUpgrades Gets possible node upgrades for a specific control plane version
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 { GetMasterVersions(params *GetMasterVersionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetMasterVersionsOK, error) GetMetaKubeVersions(params *GetMetaKubeVersionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetMetaKubeVersionsOK, error) GetNodeUpgrades(params *GetNodeUpgradesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNodeUpgradesOK, 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 versions API client.
type GetMasterVersionsDefault ¶
type GetMasterVersionsDefault struct { Payload *models.ErrorResponse // contains filtered or unexported fields }
GetMasterVersionsDefault describes a response with status code -1, with default header values.
errorResponse
func NewGetMasterVersionsDefault ¶
func NewGetMasterVersionsDefault(code int) *GetMasterVersionsDefault
NewGetMasterVersionsDefault creates a GetMasterVersionsDefault with default headers values
func (*GetMasterVersionsDefault) Code ¶
func (o *GetMasterVersionsDefault) Code() int
Code gets the status code for the get master versions default response
func (*GetMasterVersionsDefault) Error ¶
func (o *GetMasterVersionsDefault) Error() string
func (*GetMasterVersionsDefault) GetPayload ¶
func (o *GetMasterVersionsDefault) GetPayload() *models.ErrorResponse
type GetMasterVersionsOK ¶
type GetMasterVersionsOK struct {
Payload []*models.MasterVersion
}
GetMasterVersionsOK describes a response with status code 200, with default header values.
MasterVersion
func NewGetMasterVersionsOK ¶
func NewGetMasterVersionsOK() *GetMasterVersionsOK
NewGetMasterVersionsOK creates a GetMasterVersionsOK with default headers values
func (*GetMasterVersionsOK) Error ¶
func (o *GetMasterVersionsOK) Error() string
func (*GetMasterVersionsOK) GetPayload ¶
func (o *GetMasterVersionsOK) GetPayload() []*models.MasterVersion
type GetMasterVersionsParams ¶
type GetMasterVersionsParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetMasterVersionsParams contains all the parameters to send to the API endpoint
for the get master versions operation. Typically these are written to a http.Request.
func NewGetMasterVersionsParams ¶
func NewGetMasterVersionsParams() *GetMasterVersionsParams
NewGetMasterVersionsParams creates a new GetMasterVersionsParams 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 NewGetMasterVersionsParamsWithContext ¶
func NewGetMasterVersionsParamsWithContext(ctx context.Context) *GetMasterVersionsParams
NewGetMasterVersionsParamsWithContext creates a new GetMasterVersionsParams object with the ability to set a context for a request.
func NewGetMasterVersionsParamsWithHTTPClient ¶
func NewGetMasterVersionsParamsWithHTTPClient(client *http.Client) *GetMasterVersionsParams
NewGetMasterVersionsParamsWithHTTPClient creates a new GetMasterVersionsParams object with the ability to set a custom HTTPClient for a request.
func NewGetMasterVersionsParamsWithTimeout ¶
func NewGetMasterVersionsParamsWithTimeout(timeout time.Duration) *GetMasterVersionsParams
NewGetMasterVersionsParamsWithTimeout creates a new GetMasterVersionsParams object with the ability to set a timeout on a request.
func (*GetMasterVersionsParams) SetContext ¶
func (o *GetMasterVersionsParams) SetContext(ctx context.Context)
SetContext adds the context to the get master versions params
func (*GetMasterVersionsParams) SetDefaults ¶
func (o *GetMasterVersionsParams) SetDefaults()
SetDefaults hydrates default values in the get master versions params (not the query body).
All values with no default are reset to their zero value.
func (*GetMasterVersionsParams) SetHTTPClient ¶
func (o *GetMasterVersionsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get master versions params
func (*GetMasterVersionsParams) SetTimeout ¶
func (o *GetMasterVersionsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get master versions params
func (*GetMasterVersionsParams) WithContext ¶
func (o *GetMasterVersionsParams) WithContext(ctx context.Context) *GetMasterVersionsParams
WithContext adds the context to the get master versions params
func (*GetMasterVersionsParams) WithDefaults ¶
func (o *GetMasterVersionsParams) WithDefaults() *GetMasterVersionsParams
WithDefaults hydrates default values in the get master versions params (not the query body).
All values with no default are reset to their zero value.
func (*GetMasterVersionsParams) WithHTTPClient ¶
func (o *GetMasterVersionsParams) WithHTTPClient(client *http.Client) *GetMasterVersionsParams
WithHTTPClient adds the HTTPClient to the get master versions params
func (*GetMasterVersionsParams) WithTimeout ¶
func (o *GetMasterVersionsParams) WithTimeout(timeout time.Duration) *GetMasterVersionsParams
WithTimeout adds the timeout to the get master versions params
func (*GetMasterVersionsParams) WriteToRequest ¶
func (o *GetMasterVersionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetMasterVersionsReader ¶
type GetMasterVersionsReader struct {
// contains filtered or unexported fields
}
GetMasterVersionsReader is a Reader for the GetMasterVersions structure.
func (*GetMasterVersionsReader) ReadResponse ¶
func (o *GetMasterVersionsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetMetaKubeVersionsDefault ¶
type GetMetaKubeVersionsDefault struct { Payload *models.ErrorResponse // contains filtered or unexported fields }
GetMetaKubeVersionsDefault describes a response with status code -1, with default header values.
errorResponse
func NewGetMetaKubeVersionsDefault ¶
func NewGetMetaKubeVersionsDefault(code int) *GetMetaKubeVersionsDefault
NewGetMetaKubeVersionsDefault creates a GetMetaKubeVersionsDefault with default headers values
func (*GetMetaKubeVersionsDefault) Code ¶
func (o *GetMetaKubeVersionsDefault) Code() int
Code gets the status code for the get meta kube versions default response
func (*GetMetaKubeVersionsDefault) Error ¶
func (o *GetMetaKubeVersionsDefault) Error() string
func (*GetMetaKubeVersionsDefault) GetPayload ¶
func (o *GetMetaKubeVersionsDefault) GetPayload() *models.ErrorResponse
type GetMetaKubeVersionsOK ¶
type GetMetaKubeVersionsOK struct {
Payload *models.KubermaticVersions
}
GetMetaKubeVersionsOK describes a response with status code 200, with default header values.
MetaKubeVersions
func NewGetMetaKubeVersionsOK ¶
func NewGetMetaKubeVersionsOK() *GetMetaKubeVersionsOK
NewGetMetaKubeVersionsOK creates a GetMetaKubeVersionsOK with default headers values
func (*GetMetaKubeVersionsOK) Error ¶
func (o *GetMetaKubeVersionsOK) Error() string
func (*GetMetaKubeVersionsOK) GetPayload ¶
func (o *GetMetaKubeVersionsOK) GetPayload() *models.KubermaticVersions
type GetMetaKubeVersionsParams ¶
type GetMetaKubeVersionsParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetMetaKubeVersionsParams contains all the parameters to send to the API endpoint
for the get meta kube versions operation. Typically these are written to a http.Request.
func NewGetMetaKubeVersionsParams ¶
func NewGetMetaKubeVersionsParams() *GetMetaKubeVersionsParams
NewGetMetaKubeVersionsParams creates a new GetMetaKubeVersionsParams 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 NewGetMetaKubeVersionsParamsWithContext ¶
func NewGetMetaKubeVersionsParamsWithContext(ctx context.Context) *GetMetaKubeVersionsParams
NewGetMetaKubeVersionsParamsWithContext creates a new GetMetaKubeVersionsParams object with the ability to set a context for a request.
func NewGetMetaKubeVersionsParamsWithHTTPClient ¶
func NewGetMetaKubeVersionsParamsWithHTTPClient(client *http.Client) *GetMetaKubeVersionsParams
NewGetMetaKubeVersionsParamsWithHTTPClient creates a new GetMetaKubeVersionsParams object with the ability to set a custom HTTPClient for a request.
func NewGetMetaKubeVersionsParamsWithTimeout ¶
func NewGetMetaKubeVersionsParamsWithTimeout(timeout time.Duration) *GetMetaKubeVersionsParams
NewGetMetaKubeVersionsParamsWithTimeout creates a new GetMetaKubeVersionsParams object with the ability to set a timeout on a request.
func (*GetMetaKubeVersionsParams) SetContext ¶
func (o *GetMetaKubeVersionsParams) SetContext(ctx context.Context)
SetContext adds the context to the get meta kube versions params
func (*GetMetaKubeVersionsParams) SetDefaults ¶
func (o *GetMetaKubeVersionsParams) SetDefaults()
SetDefaults hydrates default values in the get meta kube versions params (not the query body).
All values with no default are reset to their zero value.
func (*GetMetaKubeVersionsParams) SetHTTPClient ¶
func (o *GetMetaKubeVersionsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get meta kube versions params
func (*GetMetaKubeVersionsParams) SetTimeout ¶
func (o *GetMetaKubeVersionsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get meta kube versions params
func (*GetMetaKubeVersionsParams) WithContext ¶
func (o *GetMetaKubeVersionsParams) WithContext(ctx context.Context) *GetMetaKubeVersionsParams
WithContext adds the context to the get meta kube versions params
func (*GetMetaKubeVersionsParams) WithDefaults ¶
func (o *GetMetaKubeVersionsParams) WithDefaults() *GetMetaKubeVersionsParams
WithDefaults hydrates default values in the get meta kube versions params (not the query body).
All values with no default are reset to their zero value.
func (*GetMetaKubeVersionsParams) WithHTTPClient ¶
func (o *GetMetaKubeVersionsParams) WithHTTPClient(client *http.Client) *GetMetaKubeVersionsParams
WithHTTPClient adds the HTTPClient to the get meta kube versions params
func (*GetMetaKubeVersionsParams) WithTimeout ¶
func (o *GetMetaKubeVersionsParams) WithTimeout(timeout time.Duration) *GetMetaKubeVersionsParams
WithTimeout adds the timeout to the get meta kube versions params
func (*GetMetaKubeVersionsParams) WriteToRequest ¶
func (o *GetMetaKubeVersionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetMetaKubeVersionsReader ¶
type GetMetaKubeVersionsReader struct {
// contains filtered or unexported fields
}
GetMetaKubeVersionsReader is a Reader for the GetMetaKubeVersions structure.
func (*GetMetaKubeVersionsReader) ReadResponse ¶
func (o *GetMetaKubeVersionsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetNodeUpgradesDefault ¶
type GetNodeUpgradesDefault struct { Payload *models.ErrorResponse // contains filtered or unexported fields }
GetNodeUpgradesDefault describes a response with status code -1, with default header values.
errorResponse
func NewGetNodeUpgradesDefault ¶
func NewGetNodeUpgradesDefault(code int) *GetNodeUpgradesDefault
NewGetNodeUpgradesDefault creates a GetNodeUpgradesDefault with default headers values
func (*GetNodeUpgradesDefault) Code ¶
func (o *GetNodeUpgradesDefault) Code() int
Code gets the status code for the get node upgrades default response
func (*GetNodeUpgradesDefault) Error ¶
func (o *GetNodeUpgradesDefault) Error() string
func (*GetNodeUpgradesDefault) GetPayload ¶
func (o *GetNodeUpgradesDefault) GetPayload() *models.ErrorResponse
type GetNodeUpgradesForbidden ¶
type GetNodeUpgradesForbidden struct { }
GetNodeUpgradesForbidden describes a response with status code 403, with default header values.
EmptyResponse is a empty response
func NewGetNodeUpgradesForbidden ¶
func NewGetNodeUpgradesForbidden() *GetNodeUpgradesForbidden
NewGetNodeUpgradesForbidden creates a GetNodeUpgradesForbidden with default headers values
func (*GetNodeUpgradesForbidden) Error ¶
func (o *GetNodeUpgradesForbidden) Error() string
type GetNodeUpgradesOK ¶
type GetNodeUpgradesOK struct {
Payload []*models.MasterVersion
}
GetNodeUpgradesOK describes a response with status code 200, with default header values.
MasterVersion
func NewGetNodeUpgradesOK ¶
func NewGetNodeUpgradesOK() *GetNodeUpgradesOK
NewGetNodeUpgradesOK creates a GetNodeUpgradesOK with default headers values
func (*GetNodeUpgradesOK) Error ¶
func (o *GetNodeUpgradesOK) Error() string
func (*GetNodeUpgradesOK) GetPayload ¶
func (o *GetNodeUpgradesOK) GetPayload() []*models.MasterVersion
type GetNodeUpgradesParams ¶
type GetNodeUpgradesParams struct { // ControlPlaneVersion. ControlPlaneVersion *string // Type. Type *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetNodeUpgradesParams contains all the parameters to send to the API endpoint
for the get node upgrades operation. Typically these are written to a http.Request.
func NewGetNodeUpgradesParams ¶
func NewGetNodeUpgradesParams() *GetNodeUpgradesParams
NewGetNodeUpgradesParams creates a new GetNodeUpgradesParams 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 NewGetNodeUpgradesParamsWithContext ¶
func NewGetNodeUpgradesParamsWithContext(ctx context.Context) *GetNodeUpgradesParams
NewGetNodeUpgradesParamsWithContext creates a new GetNodeUpgradesParams object with the ability to set a context for a request.
func NewGetNodeUpgradesParamsWithHTTPClient ¶
func NewGetNodeUpgradesParamsWithHTTPClient(client *http.Client) *GetNodeUpgradesParams
NewGetNodeUpgradesParamsWithHTTPClient creates a new GetNodeUpgradesParams object with the ability to set a custom HTTPClient for a request.
func NewGetNodeUpgradesParamsWithTimeout ¶
func NewGetNodeUpgradesParamsWithTimeout(timeout time.Duration) *GetNodeUpgradesParams
NewGetNodeUpgradesParamsWithTimeout creates a new GetNodeUpgradesParams object with the ability to set a timeout on a request.
func (*GetNodeUpgradesParams) SetContext ¶
func (o *GetNodeUpgradesParams) SetContext(ctx context.Context)
SetContext adds the context to the get node upgrades params
func (*GetNodeUpgradesParams) SetControlPlaneVersion ¶
func (o *GetNodeUpgradesParams) SetControlPlaneVersion(controlPlaneVersion *string)
SetControlPlaneVersion adds the controlPlaneVersion to the get node upgrades params
func (*GetNodeUpgradesParams) SetDefaults ¶
func (o *GetNodeUpgradesParams) SetDefaults()
SetDefaults hydrates default values in the get node upgrades params (not the query body).
All values with no default are reset to their zero value.
func (*GetNodeUpgradesParams) SetHTTPClient ¶
func (o *GetNodeUpgradesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get node upgrades params
func (*GetNodeUpgradesParams) SetTimeout ¶
func (o *GetNodeUpgradesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get node upgrades params
func (*GetNodeUpgradesParams) SetType ¶
func (o *GetNodeUpgradesParams) SetType(typeVar *string)
SetType adds the type to the get node upgrades params
func (*GetNodeUpgradesParams) WithContext ¶
func (o *GetNodeUpgradesParams) WithContext(ctx context.Context) *GetNodeUpgradesParams
WithContext adds the context to the get node upgrades params
func (*GetNodeUpgradesParams) WithControlPlaneVersion ¶
func (o *GetNodeUpgradesParams) WithControlPlaneVersion(controlPlaneVersion *string) *GetNodeUpgradesParams
WithControlPlaneVersion adds the controlPlaneVersion to the get node upgrades params
func (*GetNodeUpgradesParams) WithDefaults ¶
func (o *GetNodeUpgradesParams) WithDefaults() *GetNodeUpgradesParams
WithDefaults hydrates default values in the get node upgrades params (not the query body).
All values with no default are reset to their zero value.
func (*GetNodeUpgradesParams) WithHTTPClient ¶
func (o *GetNodeUpgradesParams) WithHTTPClient(client *http.Client) *GetNodeUpgradesParams
WithHTTPClient adds the HTTPClient to the get node upgrades params
func (*GetNodeUpgradesParams) WithTimeout ¶
func (o *GetNodeUpgradesParams) WithTimeout(timeout time.Duration) *GetNodeUpgradesParams
WithTimeout adds the timeout to the get node upgrades params
func (*GetNodeUpgradesParams) WithType ¶
func (o *GetNodeUpgradesParams) WithType(typeVar *string) *GetNodeUpgradesParams
WithType adds the typeVar to the get node upgrades params
func (*GetNodeUpgradesParams) WriteToRequest ¶
func (o *GetNodeUpgradesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetNodeUpgradesReader ¶
type GetNodeUpgradesReader struct {
// contains filtered or unexported fields
}
GetNodeUpgradesReader is a Reader for the GetNodeUpgrades structure.
func (*GetNodeUpgradesReader) ReadResponse ¶
func (o *GetNodeUpgradesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetNodeUpgradesUnauthorized ¶
type GetNodeUpgradesUnauthorized struct { }
GetNodeUpgradesUnauthorized describes a response with status code 401, with default header values.
EmptyResponse is a empty response
func NewGetNodeUpgradesUnauthorized ¶
func NewGetNodeUpgradesUnauthorized() *GetNodeUpgradesUnauthorized
NewGetNodeUpgradesUnauthorized creates a GetNodeUpgradesUnauthorized with default headers values
func (*GetNodeUpgradesUnauthorized) Error ¶
func (o *GetNodeUpgradesUnauthorized) Error() string