versions

package
v0.0.0-...-b339f66 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2022 License: Apache-2.0 Imports: 10 Imported by: 2

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 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

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

func (*GetKubermaticVersionDefault) IsClientError

func (o *GetKubermaticVersionDefault) IsClientError() bool

IsClientError returns true when this get kubermatic version default response has a 4xx status code

func (*GetKubermaticVersionDefault) IsCode

func (o *GetKubermaticVersionDefault) IsCode(code int) bool

IsCode returns true when this get kubermatic version default response a status code equal to that given

func (*GetKubermaticVersionDefault) IsRedirect

func (o *GetKubermaticVersionDefault) IsRedirect() bool

IsRedirect returns true when this get kubermatic version default response has a 3xx status code

func (*GetKubermaticVersionDefault) IsServerError

func (o *GetKubermaticVersionDefault) IsServerError() bool

IsServerError returns true when this get kubermatic version default response has a 5xx status code

func (*GetKubermaticVersionDefault) IsSuccess

func (o *GetKubermaticVersionDefault) IsSuccess() bool

IsSuccess returns true when this get kubermatic version default response has a 2xx status code

func (*GetKubermaticVersionDefault) String

func (o *GetKubermaticVersionDefault) String() string

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 (*GetKubermaticVersionOK) IsClientError

func (o *GetKubermaticVersionOK) IsClientError() bool

IsClientError returns true when this get kubermatic version o k response has a 4xx status code

func (*GetKubermaticVersionOK) IsCode

func (o *GetKubermaticVersionOK) IsCode(code int) bool

IsCode returns true when this get kubermatic version o k response a status code equal to that given

func (*GetKubermaticVersionOK) IsRedirect

func (o *GetKubermaticVersionOK) IsRedirect() bool

IsRedirect returns true when this get kubermatic version o k response has a 3xx status code

func (*GetKubermaticVersionOK) IsServerError

func (o *GetKubermaticVersionOK) IsServerError() bool

IsServerError returns true when this get kubermatic version o k response has a 5xx status code

func (*GetKubermaticVersionOK) IsSuccess

func (o *GetKubermaticVersionOK) IsSuccess() bool

IsSuccess returns true when this get kubermatic version o k response has a 2xx status code

func (*GetKubermaticVersionOK) String

func (o *GetKubermaticVersionOK) String() string

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

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

WithContext adds the context to the get kubermatic version params

func (*GetKubermaticVersionParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the get kubermatic version params

func (*GetKubermaticVersionParams) WithTimeout

WithTimeout adds the timeout to the get kubermatic version params

func (*GetKubermaticVersionParams) WriteToRequest

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 (*GetMasterVersionsDefault) IsClientError

func (o *GetMasterVersionsDefault) IsClientError() bool

IsClientError returns true when this get master versions default response has a 4xx status code

func (*GetMasterVersionsDefault) IsCode

func (o *GetMasterVersionsDefault) IsCode(code int) bool

IsCode returns true when this get master versions default response a status code equal to that given

func (*GetMasterVersionsDefault) IsRedirect

func (o *GetMasterVersionsDefault) IsRedirect() bool

IsRedirect returns true when this get master versions default response has a 3xx status code

func (*GetMasterVersionsDefault) IsServerError

func (o *GetMasterVersionsDefault) IsServerError() bool

IsServerError returns true when this get master versions default response has a 5xx status code

func (*GetMasterVersionsDefault) IsSuccess

func (o *GetMasterVersionsDefault) IsSuccess() bool

IsSuccess returns true when this get master versions default response has a 2xx status code

func (*GetMasterVersionsDefault) String

func (o *GetMasterVersionsDefault) String() string

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

func (*GetMasterVersionsOK) IsClientError

func (o *GetMasterVersionsOK) IsClientError() bool

IsClientError returns true when this get master versions o k response has a 4xx status code

func (*GetMasterVersionsOK) IsCode

func (o *GetMasterVersionsOK) IsCode(code int) bool

IsCode returns true when this get master versions o k response a status code equal to that given

func (*GetMasterVersionsOK) IsRedirect

func (o *GetMasterVersionsOK) IsRedirect() bool

IsRedirect returns true when this get master versions o k response has a 3xx status code

func (*GetMasterVersionsOK) IsServerError

func (o *GetMasterVersionsOK) IsServerError() bool

IsServerError returns true when this get master versions o k response has a 5xx status code

func (*GetMasterVersionsOK) IsSuccess

func (o *GetMasterVersionsOK) IsSuccess() bool

IsSuccess returns true when this get master versions o k response has a 2xx status code

func (*GetMasterVersionsOK) String

func (o *GetMasterVersionsOK) String() string

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

WithContext adds the context to the get master versions params

func (*GetMasterVersionsParams) WithDefaults

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

WithTimeout adds the timeout to the get master versions params

func (*GetMasterVersionsParams) WriteToRequest

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

func (*GetNodeUpgradesDefault) IsClientError

func (o *GetNodeUpgradesDefault) IsClientError() bool

IsClientError returns true when this get node upgrades default response has a 4xx status code

func (*GetNodeUpgradesDefault) IsCode

func (o *GetNodeUpgradesDefault) IsCode(code int) bool

IsCode returns true when this get node upgrades default response a status code equal to that given

func (*GetNodeUpgradesDefault) IsRedirect

func (o *GetNodeUpgradesDefault) IsRedirect() bool

IsRedirect returns true when this get node upgrades default response has a 3xx status code

func (*GetNodeUpgradesDefault) IsServerError

func (o *GetNodeUpgradesDefault) IsServerError() bool

IsServerError returns true when this get node upgrades default response has a 5xx status code

func (*GetNodeUpgradesDefault) IsSuccess

func (o *GetNodeUpgradesDefault) IsSuccess() bool

IsSuccess returns true when this get node upgrades default response has a 2xx status code

func (*GetNodeUpgradesDefault) String

func (o *GetNodeUpgradesDefault) String() string

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

func (*GetNodeUpgradesForbidden) IsClientError

func (o *GetNodeUpgradesForbidden) IsClientError() bool

IsClientError returns true when this get node upgrades forbidden response has a 4xx status code

func (*GetNodeUpgradesForbidden) IsCode

func (o *GetNodeUpgradesForbidden) IsCode(code int) bool

IsCode returns true when this get node upgrades forbidden response a status code equal to that given

func (*GetNodeUpgradesForbidden) IsRedirect

func (o *GetNodeUpgradesForbidden) IsRedirect() bool

IsRedirect returns true when this get node upgrades forbidden response has a 3xx status code

func (*GetNodeUpgradesForbidden) IsServerError

func (o *GetNodeUpgradesForbidden) IsServerError() bool

IsServerError returns true when this get node upgrades forbidden response has a 5xx status code

func (*GetNodeUpgradesForbidden) IsSuccess

func (o *GetNodeUpgradesForbidden) IsSuccess() bool

IsSuccess returns true when this get node upgrades forbidden response has a 2xx status code

func (*GetNodeUpgradesForbidden) String

func (o *GetNodeUpgradesForbidden) String() 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

func (*GetNodeUpgradesOK) IsClientError

func (o *GetNodeUpgradesOK) IsClientError() bool

IsClientError returns true when this get node upgrades o k response has a 4xx status code

func (*GetNodeUpgradesOK) IsCode

func (o *GetNodeUpgradesOK) IsCode(code int) bool

IsCode returns true when this get node upgrades o k response a status code equal to that given

func (*GetNodeUpgradesOK) IsRedirect

func (o *GetNodeUpgradesOK) IsRedirect() bool

IsRedirect returns true when this get node upgrades o k response has a 3xx status code

func (*GetNodeUpgradesOK) IsServerError

func (o *GetNodeUpgradesOK) IsServerError() bool

IsServerError returns true when this get node upgrades o k response has a 5xx status code

func (*GetNodeUpgradesOK) IsSuccess

func (o *GetNodeUpgradesOK) IsSuccess() bool

IsSuccess returns true when this get node upgrades o k response has a 2xx status code

func (*GetNodeUpgradesOK) String

func (o *GetNodeUpgradesOK) String() string

type GetNodeUpgradesParams

type GetNodeUpgradesParams struct {

	// ControlPlaneVersion.
	ControlPlaneVersion *string

	/* Type.

	   Type is deprecated and not used anymore.
	*/
	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

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 (*GetNodeUpgradesUnauthorized) IsClientError

func (o *GetNodeUpgradesUnauthorized) IsClientError() bool

IsClientError returns true when this get node upgrades unauthorized response has a 4xx status code

func (*GetNodeUpgradesUnauthorized) IsCode

func (o *GetNodeUpgradesUnauthorized) IsCode(code int) bool

IsCode returns true when this get node upgrades unauthorized response a status code equal to that given

func (*GetNodeUpgradesUnauthorized) IsRedirect

func (o *GetNodeUpgradesUnauthorized) IsRedirect() bool

IsRedirect returns true when this get node upgrades unauthorized response has a 3xx status code

func (*GetNodeUpgradesUnauthorized) IsServerError

func (o *GetNodeUpgradesUnauthorized) IsServerError() bool

IsServerError returns true when this get node upgrades unauthorized response has a 5xx status code

func (*GetNodeUpgradesUnauthorized) IsSuccess

func (o *GetNodeUpgradesUnauthorized) IsSuccess() bool

IsSuccess returns true when this get node upgrades unauthorized response has a 2xx status code

func (*GetNodeUpgradesUnauthorized) String

func (o *GetNodeUpgradesUnauthorized) String() string

Jump to

Keyboard shortcuts

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