Documentation ¶
Index ¶
- type Client
- func (a *Client) GetNSXTUpgradeResources(params *GetNSXTUpgradeResourcesParams, opts ...ClientOption) (*GetNSXTUpgradeResourcesOK, error)
- func (a *Client) GetUpgradables(params *GetUpgradablesParams, opts ...ClientOption) (*GetUpgradablesOK, error)
- func (a *Client) GetUpgradablesByDomain(params *GetUpgradablesByDomainParams, opts ...ClientOption) (*GetUpgradablesByDomainOK, error)
- func (a *Client) GetUpgradablesClusters(params *GetUpgradablesClustersParams, opts ...ClientOption) (*GetUpgradablesClustersOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type GetNSXTUpgradeResourcesInternalServerError
- func (o *GetNSXTUpgradeResourcesInternalServerError) Error() string
- func (o *GetNSXTUpgradeResourcesInternalServerError) GetPayload() *models.Error
- func (o *GetNSXTUpgradeResourcesInternalServerError) IsClientError() bool
- func (o *GetNSXTUpgradeResourcesInternalServerError) IsCode(code int) bool
- func (o *GetNSXTUpgradeResourcesInternalServerError) IsRedirect() bool
- func (o *GetNSXTUpgradeResourcesInternalServerError) IsServerError() bool
- func (o *GetNSXTUpgradeResourcesInternalServerError) IsSuccess() bool
- func (o *GetNSXTUpgradeResourcesInternalServerError) String() string
- type GetNSXTUpgradeResourcesNotFound
- func (o *GetNSXTUpgradeResourcesNotFound) Error() string
- func (o *GetNSXTUpgradeResourcesNotFound) GetPayload() *models.Error
- func (o *GetNSXTUpgradeResourcesNotFound) IsClientError() bool
- func (o *GetNSXTUpgradeResourcesNotFound) IsCode(code int) bool
- func (o *GetNSXTUpgradeResourcesNotFound) IsRedirect() bool
- func (o *GetNSXTUpgradeResourcesNotFound) IsServerError() bool
- func (o *GetNSXTUpgradeResourcesNotFound) IsSuccess() bool
- func (o *GetNSXTUpgradeResourcesNotFound) String() string
- type GetNSXTUpgradeResourcesOK
- func (o *GetNSXTUpgradeResourcesOK) Error() string
- func (o *GetNSXTUpgradeResourcesOK) GetPayload() []*models.NSXTResources
- func (o *GetNSXTUpgradeResourcesOK) IsClientError() bool
- func (o *GetNSXTUpgradeResourcesOK) IsCode(code int) bool
- func (o *GetNSXTUpgradeResourcesOK) IsRedirect() bool
- func (o *GetNSXTUpgradeResourcesOK) IsServerError() bool
- func (o *GetNSXTUpgradeResourcesOK) IsSuccess() bool
- func (o *GetNSXTUpgradeResourcesOK) String() string
- type GetNSXTUpgradeResourcesParams
- func NewGetNSXTUpgradeResourcesParams() *GetNSXTUpgradeResourcesParams
- func NewGetNSXTUpgradeResourcesParamsWithContext(ctx context.Context) *GetNSXTUpgradeResourcesParams
- func NewGetNSXTUpgradeResourcesParamsWithHTTPClient(client *http.Client) *GetNSXTUpgradeResourcesParams
- func NewGetNSXTUpgradeResourcesParamsWithTimeout(timeout time.Duration) *GetNSXTUpgradeResourcesParams
- func (o *GetNSXTUpgradeResourcesParams) SetBundleID(bundleID *string)
- func (o *GetNSXTUpgradeResourcesParams) SetContext(ctx context.Context)
- func (o *GetNSXTUpgradeResourcesParams) SetDefaults()
- func (o *GetNSXTUpgradeResourcesParams) SetDomainID(domainID string)
- func (o *GetNSXTUpgradeResourcesParams) SetHTTPClient(client *http.Client)
- func (o *GetNSXTUpgradeResourcesParams) SetTimeout(timeout time.Duration)
- func (o *GetNSXTUpgradeResourcesParams) WithBundleID(bundleID *string) *GetNSXTUpgradeResourcesParams
- func (o *GetNSXTUpgradeResourcesParams) WithContext(ctx context.Context) *GetNSXTUpgradeResourcesParams
- func (o *GetNSXTUpgradeResourcesParams) WithDefaults() *GetNSXTUpgradeResourcesParams
- func (o *GetNSXTUpgradeResourcesParams) WithDomainID(domainID string) *GetNSXTUpgradeResourcesParams
- func (o *GetNSXTUpgradeResourcesParams) WithHTTPClient(client *http.Client) *GetNSXTUpgradeResourcesParams
- func (o *GetNSXTUpgradeResourcesParams) WithTimeout(timeout time.Duration) *GetNSXTUpgradeResourcesParams
- func (o *GetNSXTUpgradeResourcesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetNSXTUpgradeResourcesReader
- type GetUpgradablesByDomainInternalServerError
- func (o *GetUpgradablesByDomainInternalServerError) Error() string
- func (o *GetUpgradablesByDomainInternalServerError) GetPayload() *models.Error
- func (o *GetUpgradablesByDomainInternalServerError) IsClientError() bool
- func (o *GetUpgradablesByDomainInternalServerError) IsCode(code int) bool
- func (o *GetUpgradablesByDomainInternalServerError) IsRedirect() bool
- func (o *GetUpgradablesByDomainInternalServerError) IsServerError() bool
- func (o *GetUpgradablesByDomainInternalServerError) IsSuccess() bool
- func (o *GetUpgradablesByDomainInternalServerError) String() string
- type GetUpgradablesByDomainNotFound
- func (o *GetUpgradablesByDomainNotFound) Error() string
- func (o *GetUpgradablesByDomainNotFound) GetPayload() *models.Error
- func (o *GetUpgradablesByDomainNotFound) IsClientError() bool
- func (o *GetUpgradablesByDomainNotFound) IsCode(code int) bool
- func (o *GetUpgradablesByDomainNotFound) IsRedirect() bool
- func (o *GetUpgradablesByDomainNotFound) IsServerError() bool
- func (o *GetUpgradablesByDomainNotFound) IsSuccess() bool
- func (o *GetUpgradablesByDomainNotFound) String() string
- type GetUpgradablesByDomainOK
- func (o *GetUpgradablesByDomainOK) Error() string
- func (o *GetUpgradablesByDomainOK) GetPayload() *models.PageOfUpgradable
- func (o *GetUpgradablesByDomainOK) IsClientError() bool
- func (o *GetUpgradablesByDomainOK) IsCode(code int) bool
- func (o *GetUpgradablesByDomainOK) IsRedirect() bool
- func (o *GetUpgradablesByDomainOK) IsServerError() bool
- func (o *GetUpgradablesByDomainOK) IsSuccess() bool
- func (o *GetUpgradablesByDomainOK) String() string
- type GetUpgradablesByDomainParams
- func NewGetUpgradablesByDomainParams() *GetUpgradablesByDomainParams
- func NewGetUpgradablesByDomainParamsWithContext(ctx context.Context) *GetUpgradablesByDomainParams
- func NewGetUpgradablesByDomainParamsWithHTTPClient(client *http.Client) *GetUpgradablesByDomainParams
- func NewGetUpgradablesByDomainParamsWithTimeout(timeout time.Duration) *GetUpgradablesByDomainParams
- func (o *GetUpgradablesByDomainParams) SetContext(ctx context.Context)
- func (o *GetUpgradablesByDomainParams) SetDefaults()
- func (o *GetUpgradablesByDomainParams) SetDomainID(domainID string)
- func (o *GetUpgradablesByDomainParams) SetHTTPClient(client *http.Client)
- func (o *GetUpgradablesByDomainParams) SetTargetVersion(targetVersion *string)
- func (o *GetUpgradablesByDomainParams) SetTimeout(timeout time.Duration)
- func (o *GetUpgradablesByDomainParams) WithContext(ctx context.Context) *GetUpgradablesByDomainParams
- func (o *GetUpgradablesByDomainParams) WithDefaults() *GetUpgradablesByDomainParams
- func (o *GetUpgradablesByDomainParams) WithDomainID(domainID string) *GetUpgradablesByDomainParams
- func (o *GetUpgradablesByDomainParams) WithHTTPClient(client *http.Client) *GetUpgradablesByDomainParams
- func (o *GetUpgradablesByDomainParams) WithTargetVersion(targetVersion *string) *GetUpgradablesByDomainParams
- func (o *GetUpgradablesByDomainParams) WithTimeout(timeout time.Duration) *GetUpgradablesByDomainParams
- func (o *GetUpgradablesByDomainParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetUpgradablesByDomainReader
- type GetUpgradablesClustersInternalServerError
- func (o *GetUpgradablesClustersInternalServerError) Error() string
- func (o *GetUpgradablesClustersInternalServerError) GetPayload() *models.Error
- func (o *GetUpgradablesClustersInternalServerError) IsClientError() bool
- func (o *GetUpgradablesClustersInternalServerError) IsCode(code int) bool
- func (o *GetUpgradablesClustersInternalServerError) IsRedirect() bool
- func (o *GetUpgradablesClustersInternalServerError) IsServerError() bool
- func (o *GetUpgradablesClustersInternalServerError) IsSuccess() bool
- func (o *GetUpgradablesClustersInternalServerError) String() string
- type GetUpgradablesClustersNotFound
- func (o *GetUpgradablesClustersNotFound) Error() string
- func (o *GetUpgradablesClustersNotFound) GetPayload() *models.Error
- func (o *GetUpgradablesClustersNotFound) IsClientError() bool
- func (o *GetUpgradablesClustersNotFound) IsCode(code int) bool
- func (o *GetUpgradablesClustersNotFound) IsRedirect() bool
- func (o *GetUpgradablesClustersNotFound) IsServerError() bool
- func (o *GetUpgradablesClustersNotFound) IsSuccess() bool
- func (o *GetUpgradablesClustersNotFound) String() string
- type GetUpgradablesClustersOK
- func (o *GetUpgradablesClustersOK) Error() string
- func (o *GetUpgradablesClustersOK) GetPayload() *models.PageOfUpgradablesClusterResource
- func (o *GetUpgradablesClustersOK) IsClientError() bool
- func (o *GetUpgradablesClustersOK) IsCode(code int) bool
- func (o *GetUpgradablesClustersOK) IsRedirect() bool
- func (o *GetUpgradablesClustersOK) IsServerError() bool
- func (o *GetUpgradablesClustersOK) IsSuccess() bool
- func (o *GetUpgradablesClustersOK) String() string
- type GetUpgradablesClustersParams
- func NewGetUpgradablesClustersParams() *GetUpgradablesClustersParams
- func NewGetUpgradablesClustersParamsWithContext(ctx context.Context) *GetUpgradablesClustersParams
- func NewGetUpgradablesClustersParamsWithHTTPClient(client *http.Client) *GetUpgradablesClustersParams
- func NewGetUpgradablesClustersParamsWithTimeout(timeout time.Duration) *GetUpgradablesClustersParams
- func (o *GetUpgradablesClustersParams) SetContext(ctx context.Context)
- func (o *GetUpgradablesClustersParams) SetDefaults()
- func (o *GetUpgradablesClustersParams) SetDomainID(domainID string)
- func (o *GetUpgradablesClustersParams) SetHTTPClient(client *http.Client)
- func (o *GetUpgradablesClustersParams) SetTimeout(timeout time.Duration)
- func (o *GetUpgradablesClustersParams) WithContext(ctx context.Context) *GetUpgradablesClustersParams
- func (o *GetUpgradablesClustersParams) WithDefaults() *GetUpgradablesClustersParams
- func (o *GetUpgradablesClustersParams) WithDomainID(domainID string) *GetUpgradablesClustersParams
- func (o *GetUpgradablesClustersParams) WithHTTPClient(client *http.Client) *GetUpgradablesClustersParams
- func (o *GetUpgradablesClustersParams) WithTimeout(timeout time.Duration) *GetUpgradablesClustersParams
- func (o *GetUpgradablesClustersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetUpgradablesClustersReader
- type GetUpgradablesInternalServerError
- func (o *GetUpgradablesInternalServerError) Error() string
- func (o *GetUpgradablesInternalServerError) GetPayload() *models.Error
- func (o *GetUpgradablesInternalServerError) IsClientError() bool
- func (o *GetUpgradablesInternalServerError) IsCode(code int) bool
- func (o *GetUpgradablesInternalServerError) IsRedirect() bool
- func (o *GetUpgradablesInternalServerError) IsServerError() bool
- func (o *GetUpgradablesInternalServerError) IsSuccess() bool
- func (o *GetUpgradablesInternalServerError) String() string
- type GetUpgradablesOK
- func (o *GetUpgradablesOK) Error() string
- func (o *GetUpgradablesOK) GetPayload() *models.PageOfUpgradable
- func (o *GetUpgradablesOK) IsClientError() bool
- func (o *GetUpgradablesOK) IsCode(code int) bool
- func (o *GetUpgradablesOK) IsRedirect() bool
- func (o *GetUpgradablesOK) IsServerError() bool
- func (o *GetUpgradablesOK) IsSuccess() bool
- func (o *GetUpgradablesOK) String() string
- type GetUpgradablesParams
- func NewGetUpgradablesParams() *GetUpgradablesParams
- func NewGetUpgradablesParamsWithContext(ctx context.Context) *GetUpgradablesParams
- func NewGetUpgradablesParamsWithHTTPClient(client *http.Client) *GetUpgradablesParams
- func NewGetUpgradablesParamsWithTimeout(timeout time.Duration) *GetUpgradablesParams
- func (o *GetUpgradablesParams) SetContext(ctx context.Context)
- func (o *GetUpgradablesParams) SetDefaults()
- func (o *GetUpgradablesParams) SetHTTPClient(client *http.Client)
- func (o *GetUpgradablesParams) SetTimeout(timeout time.Duration)
- func (o *GetUpgradablesParams) WithContext(ctx context.Context) *GetUpgradablesParams
- func (o *GetUpgradablesParams) WithDefaults() *GetUpgradablesParams
- func (o *GetUpgradablesParams) WithHTTPClient(client *http.Client) *GetUpgradablesParams
- func (o *GetUpgradablesParams) WithTimeout(timeout time.Duration) *GetUpgradablesParams
- func (o *GetUpgradablesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetUpgradablesReader
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
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 (o *GetNSXTUpgradeResourcesInternalServerError) Error() string
func (*GetNSXTUpgradeResourcesInternalServerError) GetPayload ¶ added in v0.1.1
func (o *GetNSXTUpgradeResourcesInternalServerError) GetPayload() *models.Error
func (*GetNSXTUpgradeResourcesInternalServerError) IsClientError ¶ added in v0.1.1
func (o *GetNSXTUpgradeResourcesInternalServerError) IsClientError() bool
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
func (o *GetNSXTUpgradeResourcesInternalServerError) IsCode(code int) bool
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
func (o *GetNSXTUpgradeResourcesInternalServerError) IsRedirect() bool
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
func (o *GetNSXTUpgradeResourcesInternalServerError) IsServerError() bool
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
func (o *GetNSXTUpgradeResourcesInternalServerError) IsSuccess() bool
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
func (o *GetNSXTUpgradeResourcesInternalServerError) String() string
type GetNSXTUpgradeResourcesNotFound ¶ added in v0.1.1
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 (o *GetNSXTUpgradeResourcesNotFound) Error() string
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
func (o *GetNSXTUpgradeResourcesNotFound) String() string
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
func (o *GetNSXTUpgradeResourcesParams) WithBundleID(bundleID *string) *GetNSXTUpgradeResourcesParams
WithBundleID adds the bundleID to the get Nsxt upgrade resources params
func (*GetNSXTUpgradeResourcesParams) WithContext ¶ added in v0.1.1
func (o *GetNSXTUpgradeResourcesParams) WithContext(ctx context.Context) *GetNSXTUpgradeResourcesParams
WithContext adds the context to the get Nsxt upgrade resources params
func (*GetNSXTUpgradeResourcesParams) WithDefaults ¶ added in v0.1.1
func (o *GetNSXTUpgradeResourcesParams) WithDefaults() *GetNSXTUpgradeResourcesParams
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
func (o *GetNSXTUpgradeResourcesParams) WithDomainID(domainID string) *GetNSXTUpgradeResourcesParams
WithDomainID adds the domainID to the get Nsxt upgrade resources params
func (*GetNSXTUpgradeResourcesParams) WithHTTPClient ¶ added in v0.1.1
func (o *GetNSXTUpgradeResourcesParams) WithHTTPClient(client *http.Client) *GetNSXTUpgradeResourcesParams
WithHTTPClient adds the HTTPClient to the get Nsxt upgrade resources params
func (*GetNSXTUpgradeResourcesParams) WithTimeout ¶ added in v0.1.1
func (o *GetNSXTUpgradeResourcesParams) WithTimeout(timeout time.Duration) *GetNSXTUpgradeResourcesParams
WithTimeout adds the timeout to the get Nsxt upgrade resources params
func (*GetNSXTUpgradeResourcesParams) WriteToRequest ¶ added in v0.1.1
func (o *GetNSXTUpgradeResourcesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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
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 (o *GetUpgradablesByDomainInternalServerError) Error() string
func (*GetUpgradablesByDomainInternalServerError) GetPayload ¶ added in v0.1.1
func (o *GetUpgradablesByDomainInternalServerError) GetPayload() *models.Error
func (*GetUpgradablesByDomainInternalServerError) IsClientError ¶ added in v0.1.1
func (o *GetUpgradablesByDomainInternalServerError) IsClientError() bool
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
func (o *GetUpgradablesByDomainInternalServerError) IsCode(code int) bool
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
func (o *GetUpgradablesByDomainInternalServerError) IsRedirect() bool
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
func (o *GetUpgradablesByDomainInternalServerError) IsServerError() bool
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
func (o *GetUpgradablesByDomainInternalServerError) IsSuccess() bool
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
func (o *GetUpgradablesByDomainInternalServerError) String() string
type GetUpgradablesByDomainNotFound ¶ added in v0.1.1
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 (o *GetUpgradablesByDomainNotFound) Error() string
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
func (o *GetUpgradablesByDomainNotFound) String() string
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 (o *GetUpgradablesByDomainOK) GetPayload() *models.PageOfUpgradable
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
func (o *GetUpgradablesByDomainParams) WithContext(ctx context.Context) *GetUpgradablesByDomainParams
WithContext adds the context to the get upgradables by domain params
func (*GetUpgradablesByDomainParams) WithDefaults ¶ added in v0.1.1
func (o *GetUpgradablesByDomainParams) WithDefaults() *GetUpgradablesByDomainParams
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
func (o *GetUpgradablesByDomainParams) WithDomainID(domainID string) *GetUpgradablesByDomainParams
WithDomainID adds the domainID to the get upgradables by domain params
func (*GetUpgradablesByDomainParams) WithHTTPClient ¶ added in v0.1.1
func (o *GetUpgradablesByDomainParams) WithHTTPClient(client *http.Client) *GetUpgradablesByDomainParams
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
func (o *GetUpgradablesByDomainParams) WithTimeout(timeout time.Duration) *GetUpgradablesByDomainParams
WithTimeout adds the timeout to the get upgradables by domain params
func (*GetUpgradablesByDomainParams) WriteToRequest ¶ added in v0.1.1
func (o *GetUpgradablesByDomainParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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
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 (o *GetUpgradablesClustersInternalServerError) Error() string
func (*GetUpgradablesClustersInternalServerError) GetPayload ¶ added in v0.1.1
func (o *GetUpgradablesClustersInternalServerError) GetPayload() *models.Error
func (*GetUpgradablesClustersInternalServerError) IsClientError ¶ added in v0.1.1
func (o *GetUpgradablesClustersInternalServerError) IsClientError() bool
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
func (o *GetUpgradablesClustersInternalServerError) IsCode(code int) bool
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
func (o *GetUpgradablesClustersInternalServerError) IsRedirect() bool
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
func (o *GetUpgradablesClustersInternalServerError) IsServerError() bool
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
func (o *GetUpgradablesClustersInternalServerError) IsSuccess() bool
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
func (o *GetUpgradablesClustersInternalServerError) String() string
type GetUpgradablesClustersNotFound ¶ added in v0.1.1
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 (o *GetUpgradablesClustersNotFound) Error() string
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
func (o *GetUpgradablesClustersNotFound) String() string
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 (o *GetUpgradablesClustersOK) GetPayload() *models.PageOfUpgradablesClusterResource
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
func (o *GetUpgradablesClustersParams) WithContext(ctx context.Context) *GetUpgradablesClustersParams
WithContext adds the context to the get upgradables clusters params
func (*GetUpgradablesClustersParams) WithDefaults ¶ added in v0.1.1
func (o *GetUpgradablesClustersParams) WithDefaults() *GetUpgradablesClustersParams
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
func (o *GetUpgradablesClustersParams) WithDomainID(domainID string) *GetUpgradablesClustersParams
WithDomainID adds the domainID to the get upgradables clusters params
func (*GetUpgradablesClustersParams) WithHTTPClient ¶ added in v0.1.1
func (o *GetUpgradablesClustersParams) WithHTTPClient(client *http.Client) *GetUpgradablesClustersParams
WithHTTPClient adds the HTTPClient to the get upgradables clusters params
func (*GetUpgradablesClustersParams) WithTimeout ¶ added in v0.1.1
func (o *GetUpgradablesClustersParams) WithTimeout(timeout time.Duration) *GetUpgradablesClustersParams
WithTimeout adds the timeout to the get upgradables clusters params
func (*GetUpgradablesClustersParams) WriteToRequest ¶ added in v0.1.1
func (o *GetUpgradablesClustersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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
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 (o *GetUpgradablesInternalServerError) Error() string
func (*GetUpgradablesInternalServerError) GetPayload ¶ added in v0.1.1
func (o *GetUpgradablesInternalServerError) GetPayload() *models.Error
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
func (o *GetUpgradablesInternalServerError) String() string
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
func (o *GetUpgradablesParams) WithContext(ctx context.Context) *GetUpgradablesParams
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.
Source Files ¶
- get_nsxt_upgrade_resources_parameters.go
- get_nsxt_upgrade_resources_responses.go
- get_upgradables_by_domain_parameters.go
- get_upgradables_by_domain_responses.go
- get_upgradables_clusters_parameters.go
- get_upgradables_clusters_responses.go
- get_upgradables_parameters.go
- get_upgradables_responses.go
- upgradables_client.go