upgradables

package
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2024 License: BSD-2-Clause 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 upgradables API

func (*Client) GetNSXTUpgradeResources added in v0.1.1

func (a *Client) GetNSXTUpgradeResources(params *GetNSXTUpgradeResourcesParams, opts ...ClientOption) (*GetNSXTUpgradeResourcesOK, error)

GetNSXTUpgradeResources gets NSXT upgradable resources

Get the list NSXT upgradable reosurce with resource metadata info

func (*Client) GetUpgradables added in v0.1.1

func (a *Client) GetUpgradables(params *GetUpgradablesParams, opts ...ClientOption) (*GetUpgradablesOK, error)

GetUpgradables gets the upgradables

Fetches the list of Upgradables in the System. Only one Upgradable becomes AVAILABLE for Upgrade. The Upgradables provides information that can be use for Precheck API and also in the actual Upgrade API call.

func (*Client) GetUpgradablesByDomain added in v0.1.1

func (a *Client) GetUpgradablesByDomain(params *GetUpgradablesByDomainParams, opts ...ClientOption) (*GetUpgradablesByDomainOK, error)

GetUpgradablesByDomain gets the upgradables

Fetches the list of Upgradables for a given domain. If a target version is provided, Upgradables that are required for given target version become Available. The Upgradables providesinformation that can be use for Precheck API and also in the actual Upgrade API call.This API is used only for management domain, for all cases please use v1/system/upgradables.

func (*Client) GetUpgradablesClusters added in v0.1.1

func (a *Client) GetUpgradablesClusters(params *GetUpgradablesClustersParams, opts ...ClientOption) (*GetUpgradablesClustersOK, error)

GetUpgradablesClusters gets registered and available h s m details along with software details

Fetches the list of available hardware support managers and configured hardware support managers for the give resource along with the hardware support packages and Software details.

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 {
	GetNSXTUpgradeResources(params *GetNSXTUpgradeResourcesParams, opts ...ClientOption) (*GetNSXTUpgradeResourcesOK, error)

	GetUpgradables(params *GetUpgradablesParams, opts ...ClientOption) (*GetUpgradablesOK, error)

	GetUpgradablesByDomain(params *GetUpgradablesByDomainParams, opts ...ClientOption) (*GetUpgradablesByDomainOK, error)

	GetUpgradablesClusters(params *GetUpgradablesClustersParams, opts ...ClientOption) (*GetUpgradablesClustersOK, 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 upgradables API client.

type GetNSXTUpgradeResourcesInternalServerError added in v0.1.1

type GetNSXTUpgradeResourcesInternalServerError struct {
	Payload *models.Error
}

GetNSXTUpgradeResourcesInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewGetNSXTUpgradeResourcesInternalServerError added in v0.1.1

func NewGetNSXTUpgradeResourcesInternalServerError() *GetNSXTUpgradeResourcesInternalServerError

NewGetNSXTUpgradeResourcesInternalServerError creates a GetNSXTUpgradeResourcesInternalServerError with default headers values

func (*GetNSXTUpgradeResourcesInternalServerError) Error added in v0.1.1

func (*GetNSXTUpgradeResourcesInternalServerError) GetPayload added in v0.1.1

func (*GetNSXTUpgradeResourcesInternalServerError) IsClientError added in v0.1.1

IsClientError returns true when this get Nsxt upgrade resources internal server error response has a 4xx status code

func (*GetNSXTUpgradeResourcesInternalServerError) IsCode added in v0.1.1

IsCode returns true when this get Nsxt upgrade resources internal server error response a status code equal to that given

func (*GetNSXTUpgradeResourcesInternalServerError) IsRedirect added in v0.1.1

IsRedirect returns true when this get Nsxt upgrade resources internal server error response has a 3xx status code

func (*GetNSXTUpgradeResourcesInternalServerError) IsServerError added in v0.1.1

IsServerError returns true when this get Nsxt upgrade resources internal server error response has a 5xx status code

func (*GetNSXTUpgradeResourcesInternalServerError) IsSuccess added in v0.1.1

IsSuccess returns true when this get Nsxt upgrade resources internal server error response has a 2xx status code

func (*GetNSXTUpgradeResourcesInternalServerError) String added in v0.1.1

type GetNSXTUpgradeResourcesNotFound added in v0.1.1

type GetNSXTUpgradeResourcesNotFound struct {
	Payload *models.Error
}

GetNSXTUpgradeResourcesNotFound describes a response with status code 404, with default header values.

Bundle not found

func NewGetNSXTUpgradeResourcesNotFound added in v0.1.1

func NewGetNSXTUpgradeResourcesNotFound() *GetNSXTUpgradeResourcesNotFound

NewGetNSXTUpgradeResourcesNotFound creates a GetNSXTUpgradeResourcesNotFound with default headers values

func (*GetNSXTUpgradeResourcesNotFound) Error added in v0.1.1

func (*GetNSXTUpgradeResourcesNotFound) GetPayload added in v0.1.1

func (o *GetNSXTUpgradeResourcesNotFound) GetPayload() *models.Error

func (*GetNSXTUpgradeResourcesNotFound) IsClientError added in v0.1.1

func (o *GetNSXTUpgradeResourcesNotFound) IsClientError() bool

IsClientError returns true when this get Nsxt upgrade resources not found response has a 4xx status code

func (*GetNSXTUpgradeResourcesNotFound) IsCode added in v0.1.1

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

IsCode returns true when this get Nsxt upgrade resources not found response a status code equal to that given

func (*GetNSXTUpgradeResourcesNotFound) IsRedirect added in v0.1.1

func (o *GetNSXTUpgradeResourcesNotFound) IsRedirect() bool

IsRedirect returns true when this get Nsxt upgrade resources not found response has a 3xx status code

func (*GetNSXTUpgradeResourcesNotFound) IsServerError added in v0.1.1

func (o *GetNSXTUpgradeResourcesNotFound) IsServerError() bool

IsServerError returns true when this get Nsxt upgrade resources not found response has a 5xx status code

func (*GetNSXTUpgradeResourcesNotFound) IsSuccess added in v0.1.1

func (o *GetNSXTUpgradeResourcesNotFound) IsSuccess() bool

IsSuccess returns true when this get Nsxt upgrade resources not found response has a 2xx status code

func (*GetNSXTUpgradeResourcesNotFound) String added in v0.1.1

type GetNSXTUpgradeResourcesOK added in v0.1.1

type GetNSXTUpgradeResourcesOK struct {
	Payload []*models.NSXTResources
}

GetNSXTUpgradeResourcesOK describes a response with status code 200, with default header values.

Ok

func NewGetNSXTUpgradeResourcesOK added in v0.1.1

func NewGetNSXTUpgradeResourcesOK() *GetNSXTUpgradeResourcesOK

NewGetNSXTUpgradeResourcesOK creates a GetNSXTUpgradeResourcesOK with default headers values

func (*GetNSXTUpgradeResourcesOK) Error added in v0.1.1

func (o *GetNSXTUpgradeResourcesOK) Error() string

func (*GetNSXTUpgradeResourcesOK) GetPayload added in v0.1.1

func (o *GetNSXTUpgradeResourcesOK) GetPayload() []*models.NSXTResources

func (*GetNSXTUpgradeResourcesOK) IsClientError added in v0.1.1

func (o *GetNSXTUpgradeResourcesOK) IsClientError() bool

IsClientError returns true when this get Nsxt upgrade resources o k response has a 4xx status code

func (*GetNSXTUpgradeResourcesOK) IsCode added in v0.1.1

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

IsCode returns true when this get Nsxt upgrade resources o k response a status code equal to that given

func (*GetNSXTUpgradeResourcesOK) IsRedirect added in v0.1.1

func (o *GetNSXTUpgradeResourcesOK) IsRedirect() bool

IsRedirect returns true when this get Nsxt upgrade resources o k response has a 3xx status code

func (*GetNSXTUpgradeResourcesOK) IsServerError added in v0.1.1

func (o *GetNSXTUpgradeResourcesOK) IsServerError() bool

IsServerError returns true when this get Nsxt upgrade resources o k response has a 5xx status code

func (*GetNSXTUpgradeResourcesOK) IsSuccess added in v0.1.1

func (o *GetNSXTUpgradeResourcesOK) IsSuccess() bool

IsSuccess returns true when this get Nsxt upgrade resources o k response has a 2xx status code

func (*GetNSXTUpgradeResourcesOK) String added in v0.1.1

func (o *GetNSXTUpgradeResourcesOK) String() string

type GetNSXTUpgradeResourcesParams added in v0.1.1

type GetNSXTUpgradeResourcesParams struct {

	/* BundleID.

	   bundle Id of the upgrade bundle applicable on the domain
	*/
	BundleID *string

	/* DomainID.

	   Domain ID
	*/
	DomainID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetNSXTUpgradeResourcesParams contains all the parameters to send to the API endpoint

for the get Nsxt upgrade resources operation.

Typically these are written to a http.Request.

func NewGetNSXTUpgradeResourcesParams added in v0.1.1

func NewGetNSXTUpgradeResourcesParams() *GetNSXTUpgradeResourcesParams

NewGetNSXTUpgradeResourcesParams creates a new GetNSXTUpgradeResourcesParams 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 NewGetNSXTUpgradeResourcesParamsWithContext added in v0.1.1

func NewGetNSXTUpgradeResourcesParamsWithContext(ctx context.Context) *GetNSXTUpgradeResourcesParams

NewGetNSXTUpgradeResourcesParamsWithContext creates a new GetNSXTUpgradeResourcesParams object with the ability to set a context for a request.

func NewGetNSXTUpgradeResourcesParamsWithHTTPClient added in v0.1.1

func NewGetNSXTUpgradeResourcesParamsWithHTTPClient(client *http.Client) *GetNSXTUpgradeResourcesParams

NewGetNSXTUpgradeResourcesParamsWithHTTPClient creates a new GetNSXTUpgradeResourcesParams object with the ability to set a custom HTTPClient for a request.

func NewGetNSXTUpgradeResourcesParamsWithTimeout added in v0.1.1

func NewGetNSXTUpgradeResourcesParamsWithTimeout(timeout time.Duration) *GetNSXTUpgradeResourcesParams

NewGetNSXTUpgradeResourcesParamsWithTimeout creates a new GetNSXTUpgradeResourcesParams object with the ability to set a timeout on a request.

func (*GetNSXTUpgradeResourcesParams) SetBundleID added in v0.1.1

func (o *GetNSXTUpgradeResourcesParams) SetBundleID(bundleID *string)

SetBundleID adds the bundleId to the get Nsxt upgrade resources params

func (*GetNSXTUpgradeResourcesParams) SetContext added in v0.1.1

func (o *GetNSXTUpgradeResourcesParams) SetContext(ctx context.Context)

SetContext adds the context to the get Nsxt upgrade resources params

func (*GetNSXTUpgradeResourcesParams) SetDefaults added in v0.1.1

func (o *GetNSXTUpgradeResourcesParams) SetDefaults()

SetDefaults hydrates default values in the get Nsxt upgrade resources params (not the query body).

All values with no default are reset to their zero value.

func (*GetNSXTUpgradeResourcesParams) SetDomainID added in v0.1.1

func (o *GetNSXTUpgradeResourcesParams) SetDomainID(domainID string)

SetDomainID adds the domainId to the get Nsxt upgrade resources params

func (*GetNSXTUpgradeResourcesParams) SetHTTPClient added in v0.1.1

func (o *GetNSXTUpgradeResourcesParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get Nsxt upgrade resources params

func (*GetNSXTUpgradeResourcesParams) SetTimeout added in v0.1.1

func (o *GetNSXTUpgradeResourcesParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get Nsxt upgrade resources params

func (*GetNSXTUpgradeResourcesParams) WithBundleID added in v0.1.1

WithBundleID adds the bundleID to the get Nsxt upgrade resources params

func (*GetNSXTUpgradeResourcesParams) WithContext added in v0.1.1

WithContext adds the context to the get Nsxt upgrade resources params

func (*GetNSXTUpgradeResourcesParams) WithDefaults added in v0.1.1

WithDefaults hydrates default values in the get Nsxt upgrade resources params (not the query body).

All values with no default are reset to their zero value.

func (*GetNSXTUpgradeResourcesParams) WithDomainID added in v0.1.1

WithDomainID adds the domainID to the get Nsxt upgrade resources params

func (*GetNSXTUpgradeResourcesParams) WithHTTPClient added in v0.1.1

WithHTTPClient adds the HTTPClient to the get Nsxt upgrade resources params

func (*GetNSXTUpgradeResourcesParams) WithTimeout added in v0.1.1

WithTimeout adds the timeout to the get Nsxt upgrade resources params

func (*GetNSXTUpgradeResourcesParams) WriteToRequest added in v0.1.1

WriteToRequest writes these params to a swagger request

type GetNSXTUpgradeResourcesReader added in v0.1.1

type GetNSXTUpgradeResourcesReader struct {
	// contains filtered or unexported fields
}

GetNSXTUpgradeResourcesReader is a Reader for the GetNSXTUpgradeResources structure.

func (*GetNSXTUpgradeResourcesReader) ReadResponse added in v0.1.1

func (o *GetNSXTUpgradeResourcesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetUpgradablesByDomainInternalServerError added in v0.1.1

type GetUpgradablesByDomainInternalServerError struct {
	Payload *models.Error
}

GetUpgradablesByDomainInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewGetUpgradablesByDomainInternalServerError added in v0.1.1

func NewGetUpgradablesByDomainInternalServerError() *GetUpgradablesByDomainInternalServerError

NewGetUpgradablesByDomainInternalServerError creates a GetUpgradablesByDomainInternalServerError with default headers values

func (*GetUpgradablesByDomainInternalServerError) Error added in v0.1.1

func (*GetUpgradablesByDomainInternalServerError) GetPayload added in v0.1.1

func (*GetUpgradablesByDomainInternalServerError) IsClientError added in v0.1.1

IsClientError returns true when this get upgradables by domain internal server error response has a 4xx status code

func (*GetUpgradablesByDomainInternalServerError) IsCode added in v0.1.1

IsCode returns true when this get upgradables by domain internal server error response a status code equal to that given

func (*GetUpgradablesByDomainInternalServerError) IsRedirect added in v0.1.1

IsRedirect returns true when this get upgradables by domain internal server error response has a 3xx status code

func (*GetUpgradablesByDomainInternalServerError) IsServerError added in v0.1.1

IsServerError returns true when this get upgradables by domain internal server error response has a 5xx status code

func (*GetUpgradablesByDomainInternalServerError) IsSuccess added in v0.1.1

IsSuccess returns true when this get upgradables by domain internal server error response has a 2xx status code

func (*GetUpgradablesByDomainInternalServerError) String added in v0.1.1

type GetUpgradablesByDomainNotFound added in v0.1.1

type GetUpgradablesByDomainNotFound struct {
	Payload *models.Error
}

GetUpgradablesByDomainNotFound describes a response with status code 404, with default header values.

Domain not found

func NewGetUpgradablesByDomainNotFound added in v0.1.1

func NewGetUpgradablesByDomainNotFound() *GetUpgradablesByDomainNotFound

NewGetUpgradablesByDomainNotFound creates a GetUpgradablesByDomainNotFound with default headers values

func (*GetUpgradablesByDomainNotFound) Error added in v0.1.1

func (*GetUpgradablesByDomainNotFound) GetPayload added in v0.1.1

func (o *GetUpgradablesByDomainNotFound) GetPayload() *models.Error

func (*GetUpgradablesByDomainNotFound) IsClientError added in v0.1.1

func (o *GetUpgradablesByDomainNotFound) IsClientError() bool

IsClientError returns true when this get upgradables by domain not found response has a 4xx status code

func (*GetUpgradablesByDomainNotFound) IsCode added in v0.1.1

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

IsCode returns true when this get upgradables by domain not found response a status code equal to that given

func (*GetUpgradablesByDomainNotFound) IsRedirect added in v0.1.1

func (o *GetUpgradablesByDomainNotFound) IsRedirect() bool

IsRedirect returns true when this get upgradables by domain not found response has a 3xx status code

func (*GetUpgradablesByDomainNotFound) IsServerError added in v0.1.1

func (o *GetUpgradablesByDomainNotFound) IsServerError() bool

IsServerError returns true when this get upgradables by domain not found response has a 5xx status code

func (*GetUpgradablesByDomainNotFound) IsSuccess added in v0.1.1

func (o *GetUpgradablesByDomainNotFound) IsSuccess() bool

IsSuccess returns true when this get upgradables by domain not found response has a 2xx status code

func (*GetUpgradablesByDomainNotFound) String added in v0.1.1

type GetUpgradablesByDomainOK added in v0.1.1

type GetUpgradablesByDomainOK struct {
	Payload *models.PageOfUpgradable
}

GetUpgradablesByDomainOK describes a response with status code 200, with default header values.

Ok

func NewGetUpgradablesByDomainOK added in v0.1.1

func NewGetUpgradablesByDomainOK() *GetUpgradablesByDomainOK

NewGetUpgradablesByDomainOK creates a GetUpgradablesByDomainOK with default headers values

func (*GetUpgradablesByDomainOK) Error added in v0.1.1

func (o *GetUpgradablesByDomainOK) Error() string

func (*GetUpgradablesByDomainOK) GetPayload added in v0.1.1

func (*GetUpgradablesByDomainOK) IsClientError added in v0.1.1

func (o *GetUpgradablesByDomainOK) IsClientError() bool

IsClientError returns true when this get upgradables by domain o k response has a 4xx status code

func (*GetUpgradablesByDomainOK) IsCode added in v0.1.1

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

IsCode returns true when this get upgradables by domain o k response a status code equal to that given

func (*GetUpgradablesByDomainOK) IsRedirect added in v0.1.1

func (o *GetUpgradablesByDomainOK) IsRedirect() bool

IsRedirect returns true when this get upgradables by domain o k response has a 3xx status code

func (*GetUpgradablesByDomainOK) IsServerError added in v0.1.1

func (o *GetUpgradablesByDomainOK) IsServerError() bool

IsServerError returns true when this get upgradables by domain o k response has a 5xx status code

func (*GetUpgradablesByDomainOK) IsSuccess added in v0.1.1

func (o *GetUpgradablesByDomainOK) IsSuccess() bool

IsSuccess returns true when this get upgradables by domain o k response has a 2xx status code

func (*GetUpgradablesByDomainOK) String added in v0.1.1

func (o *GetUpgradablesByDomainOK) String() string

type GetUpgradablesByDomainParams added in v0.1.1

type GetUpgradablesByDomainParams struct {

	/* DomainID.

	   Domain ID
	*/
	DomainID string

	/* TargetVersion.

	   Target Version to get Upgradables for a given Target Release
	*/
	TargetVersion *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetUpgradablesByDomainParams contains all the parameters to send to the API endpoint

for the get upgradables by domain operation.

Typically these are written to a http.Request.

func NewGetUpgradablesByDomainParams added in v0.1.1

func NewGetUpgradablesByDomainParams() *GetUpgradablesByDomainParams

NewGetUpgradablesByDomainParams creates a new GetUpgradablesByDomainParams 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 NewGetUpgradablesByDomainParamsWithContext added in v0.1.1

func NewGetUpgradablesByDomainParamsWithContext(ctx context.Context) *GetUpgradablesByDomainParams

NewGetUpgradablesByDomainParamsWithContext creates a new GetUpgradablesByDomainParams object with the ability to set a context for a request.

func NewGetUpgradablesByDomainParamsWithHTTPClient added in v0.1.1

func NewGetUpgradablesByDomainParamsWithHTTPClient(client *http.Client) *GetUpgradablesByDomainParams

NewGetUpgradablesByDomainParamsWithHTTPClient creates a new GetUpgradablesByDomainParams object with the ability to set a custom HTTPClient for a request.

func NewGetUpgradablesByDomainParamsWithTimeout added in v0.1.1

func NewGetUpgradablesByDomainParamsWithTimeout(timeout time.Duration) *GetUpgradablesByDomainParams

NewGetUpgradablesByDomainParamsWithTimeout creates a new GetUpgradablesByDomainParams object with the ability to set a timeout on a request.

func (*GetUpgradablesByDomainParams) SetContext added in v0.1.1

func (o *GetUpgradablesByDomainParams) SetContext(ctx context.Context)

SetContext adds the context to the get upgradables by domain params

func (*GetUpgradablesByDomainParams) SetDefaults added in v0.1.1

func (o *GetUpgradablesByDomainParams) SetDefaults()

SetDefaults hydrates default values in the get upgradables by domain params (not the query body).

All values with no default are reset to their zero value.

func (*GetUpgradablesByDomainParams) SetDomainID added in v0.1.1

func (o *GetUpgradablesByDomainParams) SetDomainID(domainID string)

SetDomainID adds the domainId to the get upgradables by domain params

func (*GetUpgradablesByDomainParams) SetHTTPClient added in v0.1.1

func (o *GetUpgradablesByDomainParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get upgradables by domain params

func (*GetUpgradablesByDomainParams) SetTargetVersion added in v0.1.1

func (o *GetUpgradablesByDomainParams) SetTargetVersion(targetVersion *string)

SetTargetVersion adds the targetVersion to the get upgradables by domain params

func (*GetUpgradablesByDomainParams) SetTimeout added in v0.1.1

func (o *GetUpgradablesByDomainParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get upgradables by domain params

func (*GetUpgradablesByDomainParams) WithContext added in v0.1.1

WithContext adds the context to the get upgradables by domain params

func (*GetUpgradablesByDomainParams) WithDefaults added in v0.1.1

WithDefaults hydrates default values in the get upgradables by domain params (not the query body).

All values with no default are reset to their zero value.

func (*GetUpgradablesByDomainParams) WithDomainID added in v0.1.1

WithDomainID adds the domainID to the get upgradables by domain params

func (*GetUpgradablesByDomainParams) WithHTTPClient added in v0.1.1

WithHTTPClient adds the HTTPClient to the get upgradables by domain params

func (*GetUpgradablesByDomainParams) WithTargetVersion added in v0.1.1

func (o *GetUpgradablesByDomainParams) WithTargetVersion(targetVersion *string) *GetUpgradablesByDomainParams

WithTargetVersion adds the targetVersion to the get upgradables by domain params

func (*GetUpgradablesByDomainParams) WithTimeout added in v0.1.1

WithTimeout adds the timeout to the get upgradables by domain params

func (*GetUpgradablesByDomainParams) WriteToRequest added in v0.1.1

WriteToRequest writes these params to a swagger request

type GetUpgradablesByDomainReader added in v0.1.1

type GetUpgradablesByDomainReader struct {
	// contains filtered or unexported fields
}

GetUpgradablesByDomainReader is a Reader for the GetUpgradablesByDomain structure.

func (*GetUpgradablesByDomainReader) ReadResponse added in v0.1.1

func (o *GetUpgradablesByDomainReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetUpgradablesClustersInternalServerError added in v0.1.1

type GetUpgradablesClustersInternalServerError struct {
	Payload *models.Error
}

GetUpgradablesClustersInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewGetUpgradablesClustersInternalServerError added in v0.1.1

func NewGetUpgradablesClustersInternalServerError() *GetUpgradablesClustersInternalServerError

NewGetUpgradablesClustersInternalServerError creates a GetUpgradablesClustersInternalServerError with default headers values

func (*GetUpgradablesClustersInternalServerError) Error added in v0.1.1

func (*GetUpgradablesClustersInternalServerError) GetPayload added in v0.1.1

func (*GetUpgradablesClustersInternalServerError) IsClientError added in v0.1.1

IsClientError returns true when this get upgradables clusters internal server error response has a 4xx status code

func (*GetUpgradablesClustersInternalServerError) IsCode added in v0.1.1

IsCode returns true when this get upgradables clusters internal server error response a status code equal to that given

func (*GetUpgradablesClustersInternalServerError) IsRedirect added in v0.1.1

IsRedirect returns true when this get upgradables clusters internal server error response has a 3xx status code

func (*GetUpgradablesClustersInternalServerError) IsServerError added in v0.1.1

IsServerError returns true when this get upgradables clusters internal server error response has a 5xx status code

func (*GetUpgradablesClustersInternalServerError) IsSuccess added in v0.1.1

IsSuccess returns true when this get upgradables clusters internal server error response has a 2xx status code

func (*GetUpgradablesClustersInternalServerError) String added in v0.1.1

type GetUpgradablesClustersNotFound added in v0.1.1

type GetUpgradablesClustersNotFound struct {
	Payload *models.Error
}

GetUpgradablesClustersNotFound describes a response with status code 404, with default header values.

Domain Not Found

func NewGetUpgradablesClustersNotFound added in v0.1.1

func NewGetUpgradablesClustersNotFound() *GetUpgradablesClustersNotFound

NewGetUpgradablesClustersNotFound creates a GetUpgradablesClustersNotFound with default headers values

func (*GetUpgradablesClustersNotFound) Error added in v0.1.1

func (*GetUpgradablesClustersNotFound) GetPayload added in v0.1.1

func (o *GetUpgradablesClustersNotFound) GetPayload() *models.Error

func (*GetUpgradablesClustersNotFound) IsClientError added in v0.1.1

func (o *GetUpgradablesClustersNotFound) IsClientError() bool

IsClientError returns true when this get upgradables clusters not found response has a 4xx status code

func (*GetUpgradablesClustersNotFound) IsCode added in v0.1.1

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

IsCode returns true when this get upgradables clusters not found response a status code equal to that given

func (*GetUpgradablesClustersNotFound) IsRedirect added in v0.1.1

func (o *GetUpgradablesClustersNotFound) IsRedirect() bool

IsRedirect returns true when this get upgradables clusters not found response has a 3xx status code

func (*GetUpgradablesClustersNotFound) IsServerError added in v0.1.1

func (o *GetUpgradablesClustersNotFound) IsServerError() bool

IsServerError returns true when this get upgradables clusters not found response has a 5xx status code

func (*GetUpgradablesClustersNotFound) IsSuccess added in v0.1.1

func (o *GetUpgradablesClustersNotFound) IsSuccess() bool

IsSuccess returns true when this get upgradables clusters not found response has a 2xx status code

func (*GetUpgradablesClustersNotFound) String added in v0.1.1

type GetUpgradablesClustersOK added in v0.1.1

type GetUpgradablesClustersOK struct {
	Payload *models.PageOfUpgradablesClusterResource
}

GetUpgradablesClustersOK describes a response with status code 200, with default header values.

Ok

func NewGetUpgradablesClustersOK added in v0.1.1

func NewGetUpgradablesClustersOK() *GetUpgradablesClustersOK

NewGetUpgradablesClustersOK creates a GetUpgradablesClustersOK with default headers values

func (*GetUpgradablesClustersOK) Error added in v0.1.1

func (o *GetUpgradablesClustersOK) Error() string

func (*GetUpgradablesClustersOK) GetPayload added in v0.1.1

func (*GetUpgradablesClustersOK) IsClientError added in v0.1.1

func (o *GetUpgradablesClustersOK) IsClientError() bool

IsClientError returns true when this get upgradables clusters o k response has a 4xx status code

func (*GetUpgradablesClustersOK) IsCode added in v0.1.1

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

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

func (*GetUpgradablesClustersOK) IsRedirect added in v0.1.1

func (o *GetUpgradablesClustersOK) IsRedirect() bool

IsRedirect returns true when this get upgradables clusters o k response has a 3xx status code

func (*GetUpgradablesClustersOK) IsServerError added in v0.1.1

func (o *GetUpgradablesClustersOK) IsServerError() bool

IsServerError returns true when this get upgradables clusters o k response has a 5xx status code

func (*GetUpgradablesClustersOK) IsSuccess added in v0.1.1

func (o *GetUpgradablesClustersOK) IsSuccess() bool

IsSuccess returns true when this get upgradables clusters o k response has a 2xx status code

func (*GetUpgradablesClustersOK) String added in v0.1.1

func (o *GetUpgradablesClustersOK) String() string

type GetUpgradablesClustersParams added in v0.1.1

type GetUpgradablesClustersParams struct {

	/* DomainID.

	   Domain ID
	*/
	DomainID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetUpgradablesClustersParams contains all the parameters to send to the API endpoint

for the get upgradables clusters operation.

Typically these are written to a http.Request.

func NewGetUpgradablesClustersParams added in v0.1.1

func NewGetUpgradablesClustersParams() *GetUpgradablesClustersParams

NewGetUpgradablesClustersParams creates a new GetUpgradablesClustersParams 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 NewGetUpgradablesClustersParamsWithContext added in v0.1.1

func NewGetUpgradablesClustersParamsWithContext(ctx context.Context) *GetUpgradablesClustersParams

NewGetUpgradablesClustersParamsWithContext creates a new GetUpgradablesClustersParams object with the ability to set a context for a request.

func NewGetUpgradablesClustersParamsWithHTTPClient added in v0.1.1

func NewGetUpgradablesClustersParamsWithHTTPClient(client *http.Client) *GetUpgradablesClustersParams

NewGetUpgradablesClustersParamsWithHTTPClient creates a new GetUpgradablesClustersParams object with the ability to set a custom HTTPClient for a request.

func NewGetUpgradablesClustersParamsWithTimeout added in v0.1.1

func NewGetUpgradablesClustersParamsWithTimeout(timeout time.Duration) *GetUpgradablesClustersParams

NewGetUpgradablesClustersParamsWithTimeout creates a new GetUpgradablesClustersParams object with the ability to set a timeout on a request.

func (*GetUpgradablesClustersParams) SetContext added in v0.1.1

func (o *GetUpgradablesClustersParams) SetContext(ctx context.Context)

SetContext adds the context to the get upgradables clusters params

func (*GetUpgradablesClustersParams) SetDefaults added in v0.1.1

func (o *GetUpgradablesClustersParams) SetDefaults()

SetDefaults hydrates default values in the get upgradables clusters params (not the query body).

All values with no default are reset to their zero value.

func (*GetUpgradablesClustersParams) SetDomainID added in v0.1.1

func (o *GetUpgradablesClustersParams) SetDomainID(domainID string)

SetDomainID adds the domainId to the get upgradables clusters params

func (*GetUpgradablesClustersParams) SetHTTPClient added in v0.1.1

func (o *GetUpgradablesClustersParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get upgradables clusters params

func (*GetUpgradablesClustersParams) SetTimeout added in v0.1.1

func (o *GetUpgradablesClustersParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get upgradables clusters params

func (*GetUpgradablesClustersParams) WithContext added in v0.1.1

WithContext adds the context to the get upgradables clusters params

func (*GetUpgradablesClustersParams) WithDefaults added in v0.1.1

WithDefaults hydrates default values in the get upgradables clusters params (not the query body).

All values with no default are reset to their zero value.

func (*GetUpgradablesClustersParams) WithDomainID added in v0.1.1

WithDomainID adds the domainID to the get upgradables clusters params

func (*GetUpgradablesClustersParams) WithHTTPClient added in v0.1.1

WithHTTPClient adds the HTTPClient to the get upgradables clusters params

func (*GetUpgradablesClustersParams) WithTimeout added in v0.1.1

WithTimeout adds the timeout to the get upgradables clusters params

func (*GetUpgradablesClustersParams) WriteToRequest added in v0.1.1

WriteToRequest writes these params to a swagger request

type GetUpgradablesClustersReader added in v0.1.1

type GetUpgradablesClustersReader struct {
	// contains filtered or unexported fields
}

GetUpgradablesClustersReader is a Reader for the GetUpgradablesClusters structure.

func (*GetUpgradablesClustersReader) ReadResponse added in v0.1.1

func (o *GetUpgradablesClustersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetUpgradablesInternalServerError added in v0.1.1

type GetUpgradablesInternalServerError struct {
	Payload *models.Error
}

GetUpgradablesInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewGetUpgradablesInternalServerError added in v0.1.1

func NewGetUpgradablesInternalServerError() *GetUpgradablesInternalServerError

NewGetUpgradablesInternalServerError creates a GetUpgradablesInternalServerError with default headers values

func (*GetUpgradablesInternalServerError) Error added in v0.1.1

func (*GetUpgradablesInternalServerError) GetPayload added in v0.1.1

func (*GetUpgradablesInternalServerError) IsClientError added in v0.1.1

func (o *GetUpgradablesInternalServerError) IsClientError() bool

IsClientError returns true when this get upgradables internal server error response has a 4xx status code

func (*GetUpgradablesInternalServerError) IsCode added in v0.1.1

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

IsCode returns true when this get upgradables internal server error response a status code equal to that given

func (*GetUpgradablesInternalServerError) IsRedirect added in v0.1.1

func (o *GetUpgradablesInternalServerError) IsRedirect() bool

IsRedirect returns true when this get upgradables internal server error response has a 3xx status code

func (*GetUpgradablesInternalServerError) IsServerError added in v0.1.1

func (o *GetUpgradablesInternalServerError) IsServerError() bool

IsServerError returns true when this get upgradables internal server error response has a 5xx status code

func (*GetUpgradablesInternalServerError) IsSuccess added in v0.1.1

func (o *GetUpgradablesInternalServerError) IsSuccess() bool

IsSuccess returns true when this get upgradables internal server error response has a 2xx status code

func (*GetUpgradablesInternalServerError) String added in v0.1.1

type GetUpgradablesOK added in v0.1.1

type GetUpgradablesOK struct {
	Payload *models.PageOfUpgradable
}

GetUpgradablesOK describes a response with status code 200, with default header values.

Ok

func NewGetUpgradablesOK added in v0.1.1

func NewGetUpgradablesOK() *GetUpgradablesOK

NewGetUpgradablesOK creates a GetUpgradablesOK with default headers values

func (*GetUpgradablesOK) Error added in v0.1.1

func (o *GetUpgradablesOK) Error() string

func (*GetUpgradablesOK) GetPayload added in v0.1.1

func (o *GetUpgradablesOK) GetPayload() *models.PageOfUpgradable

func (*GetUpgradablesOK) IsClientError added in v0.1.1

func (o *GetUpgradablesOK) IsClientError() bool

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

func (*GetUpgradablesOK) IsCode added in v0.1.1

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

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

func (*GetUpgradablesOK) IsRedirect added in v0.1.1

func (o *GetUpgradablesOK) IsRedirect() bool

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

func (*GetUpgradablesOK) IsServerError added in v0.1.1

func (o *GetUpgradablesOK) IsServerError() bool

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

func (*GetUpgradablesOK) IsSuccess added in v0.1.1

func (o *GetUpgradablesOK) IsSuccess() bool

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

func (*GetUpgradablesOK) String added in v0.1.1

func (o *GetUpgradablesOK) String() string

type GetUpgradablesParams added in v0.1.1

type GetUpgradablesParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetUpgradablesParams contains all the parameters to send to the API endpoint

for the get upgradables operation.

Typically these are written to a http.Request.

func NewGetUpgradablesParams added in v0.1.1

func NewGetUpgradablesParams() *GetUpgradablesParams

NewGetUpgradablesParams creates a new GetUpgradablesParams 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 NewGetUpgradablesParamsWithContext added in v0.1.1

func NewGetUpgradablesParamsWithContext(ctx context.Context) *GetUpgradablesParams

NewGetUpgradablesParamsWithContext creates a new GetUpgradablesParams object with the ability to set a context for a request.

func NewGetUpgradablesParamsWithHTTPClient added in v0.1.1

func NewGetUpgradablesParamsWithHTTPClient(client *http.Client) *GetUpgradablesParams

NewGetUpgradablesParamsWithHTTPClient creates a new GetUpgradablesParams object with the ability to set a custom HTTPClient for a request.

func NewGetUpgradablesParamsWithTimeout added in v0.1.1

func NewGetUpgradablesParamsWithTimeout(timeout time.Duration) *GetUpgradablesParams

NewGetUpgradablesParamsWithTimeout creates a new GetUpgradablesParams object with the ability to set a timeout on a request.

func (*GetUpgradablesParams) SetContext added in v0.1.1

func (o *GetUpgradablesParams) SetContext(ctx context.Context)

SetContext adds the context to the get upgradables params

func (*GetUpgradablesParams) SetDefaults added in v0.1.1

func (o *GetUpgradablesParams) SetDefaults()

SetDefaults hydrates default values in the get upgradables params (not the query body).

All values with no default are reset to their zero value.

func (*GetUpgradablesParams) SetHTTPClient added in v0.1.1

func (o *GetUpgradablesParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get upgradables params

func (*GetUpgradablesParams) SetTimeout added in v0.1.1

func (o *GetUpgradablesParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get upgradables params

func (*GetUpgradablesParams) WithContext added in v0.1.1

WithContext adds the context to the get upgradables params

func (*GetUpgradablesParams) WithDefaults added in v0.1.1

func (o *GetUpgradablesParams) WithDefaults() *GetUpgradablesParams

WithDefaults hydrates default values in the get upgradables params (not the query body).

All values with no default are reset to their zero value.

func (*GetUpgradablesParams) WithHTTPClient added in v0.1.1

func (o *GetUpgradablesParams) WithHTTPClient(client *http.Client) *GetUpgradablesParams

WithHTTPClient adds the HTTPClient to the get upgradables params

func (*GetUpgradablesParams) WithTimeout added in v0.1.1

func (o *GetUpgradablesParams) WithTimeout(timeout time.Duration) *GetUpgradablesParams

WithTimeout adds the timeout to the get upgradables params

func (*GetUpgradablesParams) WriteToRequest added in v0.1.1

func (o *GetUpgradablesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetUpgradablesReader added in v0.1.1

type GetUpgradablesReader struct {
	// contains filtered or unexported fields
}

GetUpgradablesReader is a Reader for the GetUpgradables structure.

func (*GetUpgradablesReader) ReadResponse added in v0.1.1

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