Documentation ¶
Index ¶
- type Client
- func (a *Client) GetKubermaticVersion(params *GetKubermaticVersionParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetKubermaticVersionOK, error)
- func (a *Client) GetMasterVersions(params *GetMasterVersionsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetMasterVersionsOK, error)
- func (a *Client) GetNodeUpgrades(params *GetNodeUpgradesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetNodeUpgradesOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type GetKubermaticVersionDefault
- type GetKubermaticVersionOK
- type GetKubermaticVersionParams
- func NewGetKubermaticVersionParams() *GetKubermaticVersionParams
- func NewGetKubermaticVersionParamsWithContext(ctx context.Context) *GetKubermaticVersionParams
- func NewGetKubermaticVersionParamsWithHTTPClient(client *http.Client) *GetKubermaticVersionParams
- func NewGetKubermaticVersionParamsWithTimeout(timeout time.Duration) *GetKubermaticVersionParams
- func (o *GetKubermaticVersionParams) SetContext(ctx context.Context)
- func (o *GetKubermaticVersionParams) SetDefaults()
- func (o *GetKubermaticVersionParams) SetHTTPClient(client *http.Client)
- func (o *GetKubermaticVersionParams) SetTimeout(timeout time.Duration)
- func (o *GetKubermaticVersionParams) WithContext(ctx context.Context) *GetKubermaticVersionParams
- func (o *GetKubermaticVersionParams) WithDefaults() *GetKubermaticVersionParams
- func (o *GetKubermaticVersionParams) WithHTTPClient(client *http.Client) *GetKubermaticVersionParams
- func (o *GetKubermaticVersionParams) WithTimeout(timeout time.Duration) *GetKubermaticVersionParams
- func (o *GetKubermaticVersionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetKubermaticVersionReader
- 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 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) GetKubermaticVersion ¶
func (a *Client) GetKubermaticVersion(params *GetKubermaticVersionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetKubermaticVersionOK, error)
GetKubermaticVersion gets versions of running kubermatic components
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) 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 ¶ added in v2.18.0
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { GetKubermaticVersion(params *GetKubermaticVersionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetKubermaticVersionOK, error) GetMasterVersions(params *GetMasterVersionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetMasterVersionsOK, 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 GetKubermaticVersionDefault ¶
type GetKubermaticVersionDefault struct { Payload *models.ErrorResponse // contains filtered or unexported fields }
GetKubermaticVersionDefault describes a response with status code -1, with default header values.
errorResponse
func NewGetKubermaticVersionDefault ¶
func NewGetKubermaticVersionDefault(code int) *GetKubermaticVersionDefault
NewGetKubermaticVersionDefault creates a GetKubermaticVersionDefault with default headers values
func (*GetKubermaticVersionDefault) Code ¶
func (o *GetKubermaticVersionDefault) Code() int
Code gets the status code for the get kubermatic version default response
func (*GetKubermaticVersionDefault) Error ¶
func (o *GetKubermaticVersionDefault) Error() string
func (*GetKubermaticVersionDefault) GetPayload ¶
func (o *GetKubermaticVersionDefault) GetPayload() *models.ErrorResponse
type GetKubermaticVersionOK ¶
type GetKubermaticVersionOK struct {
Payload *models.KubermaticVersions
}
GetKubermaticVersionOK describes a response with status code 200, with default header values.
KubermaticVersions
func NewGetKubermaticVersionOK ¶
func NewGetKubermaticVersionOK() *GetKubermaticVersionOK
NewGetKubermaticVersionOK creates a GetKubermaticVersionOK with default headers values
func (*GetKubermaticVersionOK) Error ¶
func (o *GetKubermaticVersionOK) Error() string
func (*GetKubermaticVersionOK) GetPayload ¶
func (o *GetKubermaticVersionOK) GetPayload() *models.KubermaticVersions
type GetKubermaticVersionParams ¶
type GetKubermaticVersionParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetKubermaticVersionParams contains all the parameters to send to the API endpoint
for the get kubermatic version operation. Typically these are written to a http.Request.
func NewGetKubermaticVersionParams ¶
func NewGetKubermaticVersionParams() *GetKubermaticVersionParams
NewGetKubermaticVersionParams creates a new GetKubermaticVersionParams 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 NewGetKubermaticVersionParamsWithContext ¶
func NewGetKubermaticVersionParamsWithContext(ctx context.Context) *GetKubermaticVersionParams
NewGetKubermaticVersionParamsWithContext creates a new GetKubermaticVersionParams object with the ability to set a context for a request.
func NewGetKubermaticVersionParamsWithHTTPClient ¶
func NewGetKubermaticVersionParamsWithHTTPClient(client *http.Client) *GetKubermaticVersionParams
NewGetKubermaticVersionParamsWithHTTPClient creates a new GetKubermaticVersionParams object with the ability to set a custom HTTPClient for a request.
func NewGetKubermaticVersionParamsWithTimeout ¶
func NewGetKubermaticVersionParamsWithTimeout(timeout time.Duration) *GetKubermaticVersionParams
NewGetKubermaticVersionParamsWithTimeout creates a new GetKubermaticVersionParams object with the ability to set a timeout on a request.
func (*GetKubermaticVersionParams) SetContext ¶
func (o *GetKubermaticVersionParams) SetContext(ctx context.Context)
SetContext adds the context to the get kubermatic version params
func (*GetKubermaticVersionParams) SetDefaults ¶ added in v2.18.0
func (o *GetKubermaticVersionParams) SetDefaults()
SetDefaults hydrates default values in the get kubermatic version params (not the query body).
All values with no default are reset to their zero value.
func (*GetKubermaticVersionParams) SetHTTPClient ¶
func (o *GetKubermaticVersionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get kubermatic version params
func (*GetKubermaticVersionParams) SetTimeout ¶
func (o *GetKubermaticVersionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get kubermatic version params
func (*GetKubermaticVersionParams) WithContext ¶
func (o *GetKubermaticVersionParams) WithContext(ctx context.Context) *GetKubermaticVersionParams
WithContext adds the context to the get kubermatic version params
func (*GetKubermaticVersionParams) WithDefaults ¶ added in v2.18.0
func (o *GetKubermaticVersionParams) WithDefaults() *GetKubermaticVersionParams
WithDefaults hydrates default values in the get kubermatic version params (not the query body).
All values with no default are reset to their zero value.
func (*GetKubermaticVersionParams) WithHTTPClient ¶
func (o *GetKubermaticVersionParams) WithHTTPClient(client *http.Client) *GetKubermaticVersionParams
WithHTTPClient adds the HTTPClient to the get kubermatic version params
func (*GetKubermaticVersionParams) WithTimeout ¶
func (o *GetKubermaticVersionParams) WithTimeout(timeout time.Duration) *GetKubermaticVersionParams
WithTimeout adds the timeout to the get kubermatic version params
func (*GetKubermaticVersionParams) WriteToRequest ¶
func (o *GetKubermaticVersionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetKubermaticVersionReader ¶
type GetKubermaticVersionReader struct {
// contains filtered or unexported fields
}
GetKubermaticVersionReader is a Reader for the GetKubermaticVersion structure.
func (*GetKubermaticVersionReader) ReadResponse ¶
func (o *GetKubermaticVersionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
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 ¶ added in v2.18.0
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 ¶ added in v2.18.0
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 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 ¶ added in v2.18.0
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 ¶ added in v2.18.0
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