Documentation ¶
Index ¶
- type Client
- func (a *Client) GetFutureReleases(params *GetFutureReleasesParams, opts ...ClientOption) (*GetFutureReleasesOK, error)
- func (a *Client) GetReleases(params *GetReleasesParams, opts ...ClientOption) (*GetReleasesOK, error)
- func (a *Client) GetSystemRelease(params *GetSystemReleaseParams, opts ...ClientOption) (*GetSystemReleaseOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type GetFutureReleasesInternalServerError
- func (o *GetFutureReleasesInternalServerError) Error() string
- func (o *GetFutureReleasesInternalServerError) GetPayload() *models.Error
- func (o *GetFutureReleasesInternalServerError) IsClientError() bool
- func (o *GetFutureReleasesInternalServerError) IsCode(code int) bool
- func (o *GetFutureReleasesInternalServerError) IsRedirect() bool
- func (o *GetFutureReleasesInternalServerError) IsServerError() bool
- func (o *GetFutureReleasesInternalServerError) IsSuccess() bool
- func (o *GetFutureReleasesInternalServerError) String() string
- type GetFutureReleasesNotFound
- func (o *GetFutureReleasesNotFound) Error() string
- func (o *GetFutureReleasesNotFound) GetPayload() *models.Error
- func (o *GetFutureReleasesNotFound) IsClientError() bool
- func (o *GetFutureReleasesNotFound) IsCode(code int) bool
- func (o *GetFutureReleasesNotFound) IsRedirect() bool
- func (o *GetFutureReleasesNotFound) IsServerError() bool
- func (o *GetFutureReleasesNotFound) IsSuccess() bool
- func (o *GetFutureReleasesNotFound) String() string
- type GetFutureReleasesOK
- func (o *GetFutureReleasesOK) Error() string
- func (o *GetFutureReleasesOK) GetPayload() *models.PageOfDomainFutureRelease
- func (o *GetFutureReleasesOK) IsClientError() bool
- func (o *GetFutureReleasesOK) IsCode(code int) bool
- func (o *GetFutureReleasesOK) IsRedirect() bool
- func (o *GetFutureReleasesOK) IsServerError() bool
- func (o *GetFutureReleasesOK) IsSuccess() bool
- func (o *GetFutureReleasesOK) String() string
- type GetFutureReleasesParams
- func NewGetFutureReleasesParams() *GetFutureReleasesParams
- func NewGetFutureReleasesParamsWithContext(ctx context.Context) *GetFutureReleasesParams
- func NewGetFutureReleasesParamsWithHTTPClient(client *http.Client) *GetFutureReleasesParams
- func NewGetFutureReleasesParamsWithTimeout(timeout time.Duration) *GetFutureReleasesParams
- func (o *GetFutureReleasesParams) SetContext(ctx context.Context)
- func (o *GetFutureReleasesParams) SetDefaults()
- func (o *GetFutureReleasesParams) SetDomainID(domainID string)
- func (o *GetFutureReleasesParams) SetHTTPClient(client *http.Client)
- func (o *GetFutureReleasesParams) SetTimeout(timeout time.Duration)
- func (o *GetFutureReleasesParams) WithContext(ctx context.Context) *GetFutureReleasesParams
- func (o *GetFutureReleasesParams) WithDefaults() *GetFutureReleasesParams
- func (o *GetFutureReleasesParams) WithDomainID(domainID string) *GetFutureReleasesParams
- func (o *GetFutureReleasesParams) WithHTTPClient(client *http.Client) *GetFutureReleasesParams
- func (o *GetFutureReleasesParams) WithTimeout(timeout time.Duration) *GetFutureReleasesParams
- func (o *GetFutureReleasesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetFutureReleasesReader
- type GetReleasesInternalServerError
- func (o *GetReleasesInternalServerError) Error() string
- func (o *GetReleasesInternalServerError) GetPayload() *models.Error
- func (o *GetReleasesInternalServerError) IsClientError() bool
- func (o *GetReleasesInternalServerError) IsCode(code int) bool
- func (o *GetReleasesInternalServerError) IsRedirect() bool
- func (o *GetReleasesInternalServerError) IsServerError() bool
- func (o *GetReleasesInternalServerError) IsSuccess() bool
- func (o *GetReleasesInternalServerError) String() string
- type GetReleasesNotFound
- func (o *GetReleasesNotFound) Error() string
- func (o *GetReleasesNotFound) GetPayload() *models.Error
- func (o *GetReleasesNotFound) IsClientError() bool
- func (o *GetReleasesNotFound) IsCode(code int) bool
- func (o *GetReleasesNotFound) IsRedirect() bool
- func (o *GetReleasesNotFound) IsServerError() bool
- func (o *GetReleasesNotFound) IsSuccess() bool
- func (o *GetReleasesNotFound) String() string
- type GetReleasesOK
- func (o *GetReleasesOK) Error() string
- func (o *GetReleasesOK) GetPayload() *models.PageOfRelease
- func (o *GetReleasesOK) IsClientError() bool
- func (o *GetReleasesOK) IsCode(code int) bool
- func (o *GetReleasesOK) IsRedirect() bool
- func (o *GetReleasesOK) IsServerError() bool
- func (o *GetReleasesOK) IsSuccess() bool
- func (o *GetReleasesOK) String() string
- type GetReleasesParams
- func (o *GetReleasesParams) SetApplicableForVersion(applicableForVersion *string)
- func (o *GetReleasesParams) SetApplicableForVxRailVersion(applicableForVxRailVersion *string)
- func (o *GetReleasesParams) SetContext(ctx context.Context)
- func (o *GetReleasesParams) SetDefaults()
- func (o *GetReleasesParams) SetDomainID(domainID *string)
- func (o *GetReleasesParams) SetGetFutureReleases(getFutureReleases *bool)
- func (o *GetReleasesParams) SetHTTPClient(client *http.Client)
- func (o *GetReleasesParams) SetTimeout(timeout time.Duration)
- func (o *GetReleasesParams) SetVersionEq(versionEq *string)
- func (o *GetReleasesParams) SetVersionGt(versionGt *string)
- func (o *GetReleasesParams) SetVxRailVersionEq(vxRailVersionEq *string)
- func (o *GetReleasesParams) SetVxRailVersionGt(vxRailVersionGt *string)
- func (o *GetReleasesParams) WithApplicableForVersion(applicableForVersion *string) *GetReleasesParams
- func (o *GetReleasesParams) WithApplicableForVxRailVersion(applicableForVxRailVersion *string) *GetReleasesParams
- func (o *GetReleasesParams) WithContext(ctx context.Context) *GetReleasesParams
- func (o *GetReleasesParams) WithDefaults() *GetReleasesParams
- func (o *GetReleasesParams) WithDomainID(domainID *string) *GetReleasesParams
- func (o *GetReleasesParams) WithGetFutureReleases(getFutureReleases *bool) *GetReleasesParams
- func (o *GetReleasesParams) WithHTTPClient(client *http.Client) *GetReleasesParams
- func (o *GetReleasesParams) WithTimeout(timeout time.Duration) *GetReleasesParams
- func (o *GetReleasesParams) WithVersionEq(versionEq *string) *GetReleasesParams
- func (o *GetReleasesParams) WithVersionGt(versionGt *string) *GetReleasesParams
- func (o *GetReleasesParams) WithVxRailVersionEq(vxRailVersionEq *string) *GetReleasesParams
- func (o *GetReleasesParams) WithVxRailVersionGt(vxRailVersionGt *string) *GetReleasesParams
- func (o *GetReleasesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetReleasesReader
- type GetSystemReleaseInternalServerError
- func (o *GetSystemReleaseInternalServerError) Error() string
- func (o *GetSystemReleaseInternalServerError) GetPayload() *models.Error
- func (o *GetSystemReleaseInternalServerError) IsClientError() bool
- func (o *GetSystemReleaseInternalServerError) IsCode(code int) bool
- func (o *GetSystemReleaseInternalServerError) IsRedirect() bool
- func (o *GetSystemReleaseInternalServerError) IsServerError() bool
- func (o *GetSystemReleaseInternalServerError) IsSuccess() bool
- func (o *GetSystemReleaseInternalServerError) String() string
- type GetSystemReleaseNotFound
- func (o *GetSystemReleaseNotFound) Error() string
- func (o *GetSystemReleaseNotFound) GetPayload() *models.Error
- func (o *GetSystemReleaseNotFound) IsClientError() bool
- func (o *GetSystemReleaseNotFound) IsCode(code int) bool
- func (o *GetSystemReleaseNotFound) IsRedirect() bool
- func (o *GetSystemReleaseNotFound) IsServerError() bool
- func (o *GetSystemReleaseNotFound) IsSuccess() bool
- func (o *GetSystemReleaseNotFound) String() string
- type GetSystemReleaseOK
- func (o *GetSystemReleaseOK) Error() string
- func (o *GetSystemReleaseOK) GetPayload() *models.Release
- func (o *GetSystemReleaseOK) IsClientError() bool
- func (o *GetSystemReleaseOK) IsCode(code int) bool
- func (o *GetSystemReleaseOK) IsRedirect() bool
- func (o *GetSystemReleaseOK) IsServerError() bool
- func (o *GetSystemReleaseOK) IsSuccess() bool
- func (o *GetSystemReleaseOK) String() string
- type GetSystemReleaseParams
- func NewGetSystemReleaseParams() *GetSystemReleaseParams
- func NewGetSystemReleaseParamsWithContext(ctx context.Context) *GetSystemReleaseParams
- func NewGetSystemReleaseParamsWithHTTPClient(client *http.Client) *GetSystemReleaseParams
- func NewGetSystemReleaseParamsWithTimeout(timeout time.Duration) *GetSystemReleaseParams
- func (o *GetSystemReleaseParams) SetContext(ctx context.Context)
- func (o *GetSystemReleaseParams) SetDefaults()
- func (o *GetSystemReleaseParams) SetHTTPClient(client *http.Client)
- func (o *GetSystemReleaseParams) SetTimeout(timeout time.Duration)
- func (o *GetSystemReleaseParams) WithContext(ctx context.Context) *GetSystemReleaseParams
- func (o *GetSystemReleaseParams) WithDefaults() *GetSystemReleaseParams
- func (o *GetSystemReleaseParams) WithHTTPClient(client *http.Client) *GetSystemReleaseParams
- func (o *GetSystemReleaseParams) WithTimeout(timeout time.Duration) *GetSystemReleaseParams
- func (o *GetSystemReleaseParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetSystemReleaseReader
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 releases API
func (*Client) GetFutureReleases ¶ added in v0.1.1
func (a *Client) GetFutureReleases(params *GetFutureReleasesParams, opts ...ClientOption) (*GetFutureReleasesOK, error)
GetFutureReleases returns all known to the system future target versions for a domain
Returns all known to the system future target versions for a domain. If some of them are not allowed (e.g. stepping stone) includes message why.
func (*Client) GetReleases ¶ added in v0.1.1
func (a *Client) GetReleases(params *GetReleasesParams, opts ...ClientOption) (*GetReleasesOK, error)
GetReleases gets releases
Get all Releases, with option to get current release for a domain, get release by version or get future releases for a versionor get all the applicable target release.
func (*Client) GetSystemRelease ¶ added in v0.1.1
func (a *Client) GetSystemRelease(params *GetSystemReleaseParams, opts ...ClientOption) (*GetSystemReleaseOK, error)
GetSystemRelease gets system release
Returns release for the lowest deployed VCF version for a domain on the environment.If Management domain is ahead of WLD domain, VCF BOM version for the WLDdomain will be returned.
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 { GetFutureReleases(params *GetFutureReleasesParams, opts ...ClientOption) (*GetFutureReleasesOK, error) GetReleases(params *GetReleasesParams, opts ...ClientOption) (*GetReleasesOK, error) GetSystemRelease(params *GetSystemReleaseParams, opts ...ClientOption) (*GetSystemReleaseOK, 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 releases API client.
type GetFutureReleasesInternalServerError ¶ added in v0.1.1
GetFutureReleasesInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewGetFutureReleasesInternalServerError ¶ added in v0.1.1
func NewGetFutureReleasesInternalServerError() *GetFutureReleasesInternalServerError
NewGetFutureReleasesInternalServerError creates a GetFutureReleasesInternalServerError with default headers values
func (*GetFutureReleasesInternalServerError) Error ¶ added in v0.1.1
func (o *GetFutureReleasesInternalServerError) Error() string
func (*GetFutureReleasesInternalServerError) GetPayload ¶ added in v0.1.1
func (o *GetFutureReleasesInternalServerError) GetPayload() *models.Error
func (*GetFutureReleasesInternalServerError) IsClientError ¶ added in v0.1.1
func (o *GetFutureReleasesInternalServerError) IsClientError() bool
IsClientError returns true when this get future releases internal server error response has a 4xx status code
func (*GetFutureReleasesInternalServerError) IsCode ¶ added in v0.1.1
func (o *GetFutureReleasesInternalServerError) IsCode(code int) bool
IsCode returns true when this get future releases internal server error response a status code equal to that given
func (*GetFutureReleasesInternalServerError) IsRedirect ¶ added in v0.1.1
func (o *GetFutureReleasesInternalServerError) IsRedirect() bool
IsRedirect returns true when this get future releases internal server error response has a 3xx status code
func (*GetFutureReleasesInternalServerError) IsServerError ¶ added in v0.1.1
func (o *GetFutureReleasesInternalServerError) IsServerError() bool
IsServerError returns true when this get future releases internal server error response has a 5xx status code
func (*GetFutureReleasesInternalServerError) IsSuccess ¶ added in v0.1.1
func (o *GetFutureReleasesInternalServerError) IsSuccess() bool
IsSuccess returns true when this get future releases internal server error response has a 2xx status code
func (*GetFutureReleasesInternalServerError) String ¶ added in v0.1.1
func (o *GetFutureReleasesInternalServerError) String() string
type GetFutureReleasesNotFound ¶ added in v0.1.1
GetFutureReleasesNotFound describes a response with status code 404, with default header values.
Domain not found with given ID.
func NewGetFutureReleasesNotFound ¶ added in v0.1.1
func NewGetFutureReleasesNotFound() *GetFutureReleasesNotFound
NewGetFutureReleasesNotFound creates a GetFutureReleasesNotFound with default headers values
func (*GetFutureReleasesNotFound) Error ¶ added in v0.1.1
func (o *GetFutureReleasesNotFound) Error() string
func (*GetFutureReleasesNotFound) GetPayload ¶ added in v0.1.1
func (o *GetFutureReleasesNotFound) GetPayload() *models.Error
func (*GetFutureReleasesNotFound) IsClientError ¶ added in v0.1.1
func (o *GetFutureReleasesNotFound) IsClientError() bool
IsClientError returns true when this get future releases not found response has a 4xx status code
func (*GetFutureReleasesNotFound) IsCode ¶ added in v0.1.1
func (o *GetFutureReleasesNotFound) IsCode(code int) bool
IsCode returns true when this get future releases not found response a status code equal to that given
func (*GetFutureReleasesNotFound) IsRedirect ¶ added in v0.1.1
func (o *GetFutureReleasesNotFound) IsRedirect() bool
IsRedirect returns true when this get future releases not found response has a 3xx status code
func (*GetFutureReleasesNotFound) IsServerError ¶ added in v0.1.1
func (o *GetFutureReleasesNotFound) IsServerError() bool
IsServerError returns true when this get future releases not found response has a 5xx status code
func (*GetFutureReleasesNotFound) IsSuccess ¶ added in v0.1.1
func (o *GetFutureReleasesNotFound) IsSuccess() bool
IsSuccess returns true when this get future releases not found response has a 2xx status code
func (*GetFutureReleasesNotFound) String ¶ added in v0.1.1
func (o *GetFutureReleasesNotFound) String() string
type GetFutureReleasesOK ¶ added in v0.1.1
type GetFutureReleasesOK struct {
Payload *models.PageOfDomainFutureRelease
}
GetFutureReleasesOK describes a response with status code 200, with default header values.
Ok
func NewGetFutureReleasesOK ¶ added in v0.1.1
func NewGetFutureReleasesOK() *GetFutureReleasesOK
NewGetFutureReleasesOK creates a GetFutureReleasesOK with default headers values
func (*GetFutureReleasesOK) Error ¶ added in v0.1.1
func (o *GetFutureReleasesOK) Error() string
func (*GetFutureReleasesOK) GetPayload ¶ added in v0.1.1
func (o *GetFutureReleasesOK) GetPayload() *models.PageOfDomainFutureRelease
func (*GetFutureReleasesOK) IsClientError ¶ added in v0.1.1
func (o *GetFutureReleasesOK) IsClientError() bool
IsClientError returns true when this get future releases o k response has a 4xx status code
func (*GetFutureReleasesOK) IsCode ¶ added in v0.1.1
func (o *GetFutureReleasesOK) IsCode(code int) bool
IsCode returns true when this get future releases o k response a status code equal to that given
func (*GetFutureReleasesOK) IsRedirect ¶ added in v0.1.1
func (o *GetFutureReleasesOK) IsRedirect() bool
IsRedirect returns true when this get future releases o k response has a 3xx status code
func (*GetFutureReleasesOK) IsServerError ¶ added in v0.1.1
func (o *GetFutureReleasesOK) IsServerError() bool
IsServerError returns true when this get future releases o k response has a 5xx status code
func (*GetFutureReleasesOK) IsSuccess ¶ added in v0.1.1
func (o *GetFutureReleasesOK) IsSuccess() bool
IsSuccess returns true when this get future releases o k response has a 2xx status code
func (*GetFutureReleasesOK) String ¶ added in v0.1.1
func (o *GetFutureReleasesOK) String() string
type GetFutureReleasesParams ¶ added in v0.1.1
type GetFutureReleasesParams struct { /* DomainID. Domain ID to get all feature target versions */ DomainID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetFutureReleasesParams contains all the parameters to send to the API endpoint
for the get future releases operation. Typically these are written to a http.Request.
func NewGetFutureReleasesParams ¶ added in v0.1.1
func NewGetFutureReleasesParams() *GetFutureReleasesParams
NewGetFutureReleasesParams creates a new GetFutureReleasesParams 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 NewGetFutureReleasesParamsWithContext ¶ added in v0.1.1
func NewGetFutureReleasesParamsWithContext(ctx context.Context) *GetFutureReleasesParams
NewGetFutureReleasesParamsWithContext creates a new GetFutureReleasesParams object with the ability to set a context for a request.
func NewGetFutureReleasesParamsWithHTTPClient ¶ added in v0.1.1
func NewGetFutureReleasesParamsWithHTTPClient(client *http.Client) *GetFutureReleasesParams
NewGetFutureReleasesParamsWithHTTPClient creates a new GetFutureReleasesParams object with the ability to set a custom HTTPClient for a request.
func NewGetFutureReleasesParamsWithTimeout ¶ added in v0.1.1
func NewGetFutureReleasesParamsWithTimeout(timeout time.Duration) *GetFutureReleasesParams
NewGetFutureReleasesParamsWithTimeout creates a new GetFutureReleasesParams object with the ability to set a timeout on a request.
func (*GetFutureReleasesParams) SetContext ¶ added in v0.1.1
func (o *GetFutureReleasesParams) SetContext(ctx context.Context)
SetContext adds the context to the get future releases params
func (*GetFutureReleasesParams) SetDefaults ¶ added in v0.1.1
func (o *GetFutureReleasesParams) SetDefaults()
SetDefaults hydrates default values in the get future releases params (not the query body).
All values with no default are reset to their zero value.
func (*GetFutureReleasesParams) SetDomainID ¶ added in v0.1.1
func (o *GetFutureReleasesParams) SetDomainID(domainID string)
SetDomainID adds the domainId to the get future releases params
func (*GetFutureReleasesParams) SetHTTPClient ¶ added in v0.1.1
func (o *GetFutureReleasesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get future releases params
func (*GetFutureReleasesParams) SetTimeout ¶ added in v0.1.1
func (o *GetFutureReleasesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get future releases params
func (*GetFutureReleasesParams) WithContext ¶ added in v0.1.1
func (o *GetFutureReleasesParams) WithContext(ctx context.Context) *GetFutureReleasesParams
WithContext adds the context to the get future releases params
func (*GetFutureReleasesParams) WithDefaults ¶ added in v0.1.1
func (o *GetFutureReleasesParams) WithDefaults() *GetFutureReleasesParams
WithDefaults hydrates default values in the get future releases params (not the query body).
All values with no default are reset to their zero value.
func (*GetFutureReleasesParams) WithDomainID ¶ added in v0.1.1
func (o *GetFutureReleasesParams) WithDomainID(domainID string) *GetFutureReleasesParams
WithDomainID adds the domainID to the get future releases params
func (*GetFutureReleasesParams) WithHTTPClient ¶ added in v0.1.1
func (o *GetFutureReleasesParams) WithHTTPClient(client *http.Client) *GetFutureReleasesParams
WithHTTPClient adds the HTTPClient to the get future releases params
func (*GetFutureReleasesParams) WithTimeout ¶ added in v0.1.1
func (o *GetFutureReleasesParams) WithTimeout(timeout time.Duration) *GetFutureReleasesParams
WithTimeout adds the timeout to the get future releases params
func (*GetFutureReleasesParams) WriteToRequest ¶ added in v0.1.1
func (o *GetFutureReleasesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetFutureReleasesReader ¶ added in v0.1.1
type GetFutureReleasesReader struct {
// contains filtered or unexported fields
}
GetFutureReleasesReader is a Reader for the GetFutureReleases structure.
func (*GetFutureReleasesReader) ReadResponse ¶ added in v0.1.1
func (o *GetFutureReleasesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetReleasesInternalServerError ¶ added in v0.1.1
GetReleasesInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewGetReleasesInternalServerError ¶ added in v0.1.1
func NewGetReleasesInternalServerError() *GetReleasesInternalServerError
NewGetReleasesInternalServerError creates a GetReleasesInternalServerError with default headers values
func (*GetReleasesInternalServerError) Error ¶ added in v0.1.1
func (o *GetReleasesInternalServerError) Error() string
func (*GetReleasesInternalServerError) GetPayload ¶ added in v0.1.1
func (o *GetReleasesInternalServerError) GetPayload() *models.Error
func (*GetReleasesInternalServerError) IsClientError ¶ added in v0.1.1
func (o *GetReleasesInternalServerError) IsClientError() bool
IsClientError returns true when this get releases internal server error response has a 4xx status code
func (*GetReleasesInternalServerError) IsCode ¶ added in v0.1.1
func (o *GetReleasesInternalServerError) IsCode(code int) bool
IsCode returns true when this get releases internal server error response a status code equal to that given
func (*GetReleasesInternalServerError) IsRedirect ¶ added in v0.1.1
func (o *GetReleasesInternalServerError) IsRedirect() bool
IsRedirect returns true when this get releases internal server error response has a 3xx status code
func (*GetReleasesInternalServerError) IsServerError ¶ added in v0.1.1
func (o *GetReleasesInternalServerError) IsServerError() bool
IsServerError returns true when this get releases internal server error response has a 5xx status code
func (*GetReleasesInternalServerError) IsSuccess ¶ added in v0.1.1
func (o *GetReleasesInternalServerError) IsSuccess() bool
IsSuccess returns true when this get releases internal server error response has a 2xx status code
func (*GetReleasesInternalServerError) String ¶ added in v0.1.1
func (o *GetReleasesInternalServerError) String() string
type GetReleasesNotFound ¶ added in v0.1.1
GetReleasesNotFound describes a response with status code 404, with default header values.
Release not found
func NewGetReleasesNotFound ¶ added in v0.1.1
func NewGetReleasesNotFound() *GetReleasesNotFound
NewGetReleasesNotFound creates a GetReleasesNotFound with default headers values
func (*GetReleasesNotFound) Error ¶ added in v0.1.1
func (o *GetReleasesNotFound) Error() string
func (*GetReleasesNotFound) GetPayload ¶ added in v0.1.1
func (o *GetReleasesNotFound) GetPayload() *models.Error
func (*GetReleasesNotFound) IsClientError ¶ added in v0.1.1
func (o *GetReleasesNotFound) IsClientError() bool
IsClientError returns true when this get releases not found response has a 4xx status code
func (*GetReleasesNotFound) IsCode ¶ added in v0.1.1
func (o *GetReleasesNotFound) IsCode(code int) bool
IsCode returns true when this get releases not found response a status code equal to that given
func (*GetReleasesNotFound) IsRedirect ¶ added in v0.1.1
func (o *GetReleasesNotFound) IsRedirect() bool
IsRedirect returns true when this get releases not found response has a 3xx status code
func (*GetReleasesNotFound) IsServerError ¶ added in v0.1.1
func (o *GetReleasesNotFound) IsServerError() bool
IsServerError returns true when this get releases not found response has a 5xx status code
func (*GetReleasesNotFound) IsSuccess ¶ added in v0.1.1
func (o *GetReleasesNotFound) IsSuccess() bool
IsSuccess returns true when this get releases not found response has a 2xx status code
func (*GetReleasesNotFound) String ¶ added in v0.1.1
func (o *GetReleasesNotFound) String() string
type GetReleasesOK ¶ added in v0.1.1
type GetReleasesOK struct {
Payload *models.PageOfRelease
}
GetReleasesOK describes a response with status code 200, with default header values.
Ok
func NewGetReleasesOK ¶ added in v0.1.1
func NewGetReleasesOK() *GetReleasesOK
NewGetReleasesOK creates a GetReleasesOK with default headers values
func (*GetReleasesOK) Error ¶ added in v0.1.1
func (o *GetReleasesOK) Error() string
func (*GetReleasesOK) GetPayload ¶ added in v0.1.1
func (o *GetReleasesOK) GetPayload() *models.PageOfRelease
func (*GetReleasesOK) IsClientError ¶ added in v0.1.1
func (o *GetReleasesOK) IsClientError() bool
IsClientError returns true when this get releases o k response has a 4xx status code
func (*GetReleasesOK) IsCode ¶ added in v0.1.1
func (o *GetReleasesOK) IsCode(code int) bool
IsCode returns true when this get releases o k response a status code equal to that given
func (*GetReleasesOK) IsRedirect ¶ added in v0.1.1
func (o *GetReleasesOK) IsRedirect() bool
IsRedirect returns true when this get releases o k response has a 3xx status code
func (*GetReleasesOK) IsServerError ¶ added in v0.1.1
func (o *GetReleasesOK) IsServerError() bool
IsServerError returns true when this get releases o k response has a 5xx status code
func (*GetReleasesOK) IsSuccess ¶ added in v0.1.1
func (o *GetReleasesOK) IsSuccess() bool
IsSuccess returns true when this get releases o k response has a 2xx status code
func (*GetReleasesOK) String ¶ added in v0.1.1
func (o *GetReleasesOK) String() string
type GetReleasesParams ¶ added in v0.1.1
type GetReleasesParams struct { /* ApplicableForVersion. Release version to get applicable releases */ ApplicableForVersion *string /* ApplicableForVxRailVersion. Release VxRail version to get applicable releases */ ApplicableForVxRailVersion *string /* DomainID. Domain ID to get current release of the domain */ DomainID *string /* GetFutureReleases. [Deprecated] Get all future releases for a given domain */ GetFutureReleases *bool /* VersionEq. Release version to get its release */ VersionEq *string /* VersionGt. Release version to get its future releases */ VersionGt *string /* VxRailVersionEq. Release VxRail version to get its release */ VxRailVersionEq *string /* VxRailVersionGt. Release vxrail version to get its future releases */ VxRailVersionGt *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetReleasesParams contains all the parameters to send to the API endpoint
for the get releases operation. Typically these are written to a http.Request.
func NewGetReleasesParams ¶ added in v0.1.1
func NewGetReleasesParams() *GetReleasesParams
NewGetReleasesParams creates a new GetReleasesParams 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 NewGetReleasesParamsWithContext ¶ added in v0.1.1
func NewGetReleasesParamsWithContext(ctx context.Context) *GetReleasesParams
NewGetReleasesParamsWithContext creates a new GetReleasesParams object with the ability to set a context for a request.
func NewGetReleasesParamsWithHTTPClient ¶ added in v0.1.1
func NewGetReleasesParamsWithHTTPClient(client *http.Client) *GetReleasesParams
NewGetReleasesParamsWithHTTPClient creates a new GetReleasesParams object with the ability to set a custom HTTPClient for a request.
func NewGetReleasesParamsWithTimeout ¶ added in v0.1.1
func NewGetReleasesParamsWithTimeout(timeout time.Duration) *GetReleasesParams
NewGetReleasesParamsWithTimeout creates a new GetReleasesParams object with the ability to set a timeout on a request.
func (*GetReleasesParams) SetApplicableForVersion ¶ added in v0.1.1
func (o *GetReleasesParams) SetApplicableForVersion(applicableForVersion *string)
SetApplicableForVersion adds the applicableForVersion to the get releases params
func (*GetReleasesParams) SetApplicableForVxRailVersion ¶ added in v0.1.1
func (o *GetReleasesParams) SetApplicableForVxRailVersion(applicableForVxRailVersion *string)
SetApplicableForVxRailVersion adds the applicableForVxRailVersion to the get releases params
func (*GetReleasesParams) SetContext ¶ added in v0.1.1
func (o *GetReleasesParams) SetContext(ctx context.Context)
SetContext adds the context to the get releases params
func (*GetReleasesParams) SetDefaults ¶ added in v0.1.1
func (o *GetReleasesParams) SetDefaults()
SetDefaults hydrates default values in the get releases params (not the query body).
All values with no default are reset to their zero value.
func (*GetReleasesParams) SetDomainID ¶ added in v0.1.1
func (o *GetReleasesParams) SetDomainID(domainID *string)
SetDomainID adds the domainId to the get releases params
func (*GetReleasesParams) SetGetFutureReleases ¶ added in v0.1.1
func (o *GetReleasesParams) SetGetFutureReleases(getFutureReleases *bool)
SetGetFutureReleases adds the getFutureReleases to the get releases params
func (*GetReleasesParams) SetHTTPClient ¶ added in v0.1.1
func (o *GetReleasesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get releases params
func (*GetReleasesParams) SetTimeout ¶ added in v0.1.1
func (o *GetReleasesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get releases params
func (*GetReleasesParams) SetVersionEq ¶ added in v0.1.1
func (o *GetReleasesParams) SetVersionEq(versionEq *string)
SetVersionEq adds the versionEq to the get releases params
func (*GetReleasesParams) SetVersionGt ¶ added in v0.1.1
func (o *GetReleasesParams) SetVersionGt(versionGt *string)
SetVersionGt adds the versionGt to the get releases params
func (*GetReleasesParams) SetVxRailVersionEq ¶ added in v0.1.1
func (o *GetReleasesParams) SetVxRailVersionEq(vxRailVersionEq *string)
SetVxRailVersionEq adds the vxRailVersionEq to the get releases params
func (*GetReleasesParams) SetVxRailVersionGt ¶ added in v0.1.1
func (o *GetReleasesParams) SetVxRailVersionGt(vxRailVersionGt *string)
SetVxRailVersionGt adds the vxRailVersionGt to the get releases params
func (*GetReleasesParams) WithApplicableForVersion ¶ added in v0.1.1
func (o *GetReleasesParams) WithApplicableForVersion(applicableForVersion *string) *GetReleasesParams
WithApplicableForVersion adds the applicableForVersion to the get releases params
func (*GetReleasesParams) WithApplicableForVxRailVersion ¶ added in v0.1.1
func (o *GetReleasesParams) WithApplicableForVxRailVersion(applicableForVxRailVersion *string) *GetReleasesParams
WithApplicableForVxRailVersion adds the applicableForVxRailVersion to the get releases params
func (*GetReleasesParams) WithContext ¶ added in v0.1.1
func (o *GetReleasesParams) WithContext(ctx context.Context) *GetReleasesParams
WithContext adds the context to the get releases params
func (*GetReleasesParams) WithDefaults ¶ added in v0.1.1
func (o *GetReleasesParams) WithDefaults() *GetReleasesParams
WithDefaults hydrates default values in the get releases params (not the query body).
All values with no default are reset to their zero value.
func (*GetReleasesParams) WithDomainID ¶ added in v0.1.1
func (o *GetReleasesParams) WithDomainID(domainID *string) *GetReleasesParams
WithDomainID adds the domainID to the get releases params
func (*GetReleasesParams) WithGetFutureReleases ¶ added in v0.1.1
func (o *GetReleasesParams) WithGetFutureReleases(getFutureReleases *bool) *GetReleasesParams
WithGetFutureReleases adds the getFutureReleases to the get releases params
func (*GetReleasesParams) WithHTTPClient ¶ added in v0.1.1
func (o *GetReleasesParams) WithHTTPClient(client *http.Client) *GetReleasesParams
WithHTTPClient adds the HTTPClient to the get releases params
func (*GetReleasesParams) WithTimeout ¶ added in v0.1.1
func (o *GetReleasesParams) WithTimeout(timeout time.Duration) *GetReleasesParams
WithTimeout adds the timeout to the get releases params
func (*GetReleasesParams) WithVersionEq ¶ added in v0.1.1
func (o *GetReleasesParams) WithVersionEq(versionEq *string) *GetReleasesParams
WithVersionEq adds the versionEq to the get releases params
func (*GetReleasesParams) WithVersionGt ¶ added in v0.1.1
func (o *GetReleasesParams) WithVersionGt(versionGt *string) *GetReleasesParams
WithVersionGt adds the versionGt to the get releases params
func (*GetReleasesParams) WithVxRailVersionEq ¶ added in v0.1.1
func (o *GetReleasesParams) WithVxRailVersionEq(vxRailVersionEq *string) *GetReleasesParams
WithVxRailVersionEq adds the vxRailVersionEq to the get releases params
func (*GetReleasesParams) WithVxRailVersionGt ¶ added in v0.1.1
func (o *GetReleasesParams) WithVxRailVersionGt(vxRailVersionGt *string) *GetReleasesParams
WithVxRailVersionGt adds the vxRailVersionGt to the get releases params
func (*GetReleasesParams) WriteToRequest ¶ added in v0.1.1
func (o *GetReleasesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetReleasesReader ¶ added in v0.1.1
type GetReleasesReader struct {
// contains filtered or unexported fields
}
GetReleasesReader is a Reader for the GetReleases structure.
func (*GetReleasesReader) ReadResponse ¶ added in v0.1.1
func (o *GetReleasesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetSystemReleaseInternalServerError ¶ added in v0.1.1
GetSystemReleaseInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewGetSystemReleaseInternalServerError ¶ added in v0.1.1
func NewGetSystemReleaseInternalServerError() *GetSystemReleaseInternalServerError
NewGetSystemReleaseInternalServerError creates a GetSystemReleaseInternalServerError with default headers values
func (*GetSystemReleaseInternalServerError) Error ¶ added in v0.1.1
func (o *GetSystemReleaseInternalServerError) Error() string
func (*GetSystemReleaseInternalServerError) GetPayload ¶ added in v0.1.1
func (o *GetSystemReleaseInternalServerError) GetPayload() *models.Error
func (*GetSystemReleaseInternalServerError) IsClientError ¶ added in v0.1.1
func (o *GetSystemReleaseInternalServerError) IsClientError() bool
IsClientError returns true when this get system release internal server error response has a 4xx status code
func (*GetSystemReleaseInternalServerError) IsCode ¶ added in v0.1.1
func (o *GetSystemReleaseInternalServerError) IsCode(code int) bool
IsCode returns true when this get system release internal server error response a status code equal to that given
func (*GetSystemReleaseInternalServerError) IsRedirect ¶ added in v0.1.1
func (o *GetSystemReleaseInternalServerError) IsRedirect() bool
IsRedirect returns true when this get system release internal server error response has a 3xx status code
func (*GetSystemReleaseInternalServerError) IsServerError ¶ added in v0.1.1
func (o *GetSystemReleaseInternalServerError) IsServerError() bool
IsServerError returns true when this get system release internal server error response has a 5xx status code
func (*GetSystemReleaseInternalServerError) IsSuccess ¶ added in v0.1.1
func (o *GetSystemReleaseInternalServerError) IsSuccess() bool
IsSuccess returns true when this get system release internal server error response has a 2xx status code
func (*GetSystemReleaseInternalServerError) String ¶ added in v0.1.1
func (o *GetSystemReleaseInternalServerError) String() string
type GetSystemReleaseNotFound ¶ added in v0.1.1
GetSystemReleaseNotFound describes a response with status code 404, with default header values.
Release not found
func NewGetSystemReleaseNotFound ¶ added in v0.1.1
func NewGetSystemReleaseNotFound() *GetSystemReleaseNotFound
NewGetSystemReleaseNotFound creates a GetSystemReleaseNotFound with default headers values
func (*GetSystemReleaseNotFound) Error ¶ added in v0.1.1
func (o *GetSystemReleaseNotFound) Error() string
func (*GetSystemReleaseNotFound) GetPayload ¶ added in v0.1.1
func (o *GetSystemReleaseNotFound) GetPayload() *models.Error
func (*GetSystemReleaseNotFound) IsClientError ¶ added in v0.1.1
func (o *GetSystemReleaseNotFound) IsClientError() bool
IsClientError returns true when this get system release not found response has a 4xx status code
func (*GetSystemReleaseNotFound) IsCode ¶ added in v0.1.1
func (o *GetSystemReleaseNotFound) IsCode(code int) bool
IsCode returns true when this get system release not found response a status code equal to that given
func (*GetSystemReleaseNotFound) IsRedirect ¶ added in v0.1.1
func (o *GetSystemReleaseNotFound) IsRedirect() bool
IsRedirect returns true when this get system release not found response has a 3xx status code
func (*GetSystemReleaseNotFound) IsServerError ¶ added in v0.1.1
func (o *GetSystemReleaseNotFound) IsServerError() bool
IsServerError returns true when this get system release not found response has a 5xx status code
func (*GetSystemReleaseNotFound) IsSuccess ¶ added in v0.1.1
func (o *GetSystemReleaseNotFound) IsSuccess() bool
IsSuccess returns true when this get system release not found response has a 2xx status code
func (*GetSystemReleaseNotFound) String ¶ added in v0.1.1
func (o *GetSystemReleaseNotFound) String() string
type GetSystemReleaseOK ¶ added in v0.1.1
GetSystemReleaseOK describes a response with status code 200, with default header values.
Ok
func NewGetSystemReleaseOK ¶ added in v0.1.1
func NewGetSystemReleaseOK() *GetSystemReleaseOK
NewGetSystemReleaseOK creates a GetSystemReleaseOK with default headers values
func (*GetSystemReleaseOK) Error ¶ added in v0.1.1
func (o *GetSystemReleaseOK) Error() string
func (*GetSystemReleaseOK) GetPayload ¶ added in v0.1.1
func (o *GetSystemReleaseOK) GetPayload() *models.Release
func (*GetSystemReleaseOK) IsClientError ¶ added in v0.1.1
func (o *GetSystemReleaseOK) IsClientError() bool
IsClientError returns true when this get system release o k response has a 4xx status code
func (*GetSystemReleaseOK) IsCode ¶ added in v0.1.1
func (o *GetSystemReleaseOK) IsCode(code int) bool
IsCode returns true when this get system release o k response a status code equal to that given
func (*GetSystemReleaseOK) IsRedirect ¶ added in v0.1.1
func (o *GetSystemReleaseOK) IsRedirect() bool
IsRedirect returns true when this get system release o k response has a 3xx status code
func (*GetSystemReleaseOK) IsServerError ¶ added in v0.1.1
func (o *GetSystemReleaseOK) IsServerError() bool
IsServerError returns true when this get system release o k response has a 5xx status code
func (*GetSystemReleaseOK) IsSuccess ¶ added in v0.1.1
func (o *GetSystemReleaseOK) IsSuccess() bool
IsSuccess returns true when this get system release o k response has a 2xx status code
func (*GetSystemReleaseOK) String ¶ added in v0.1.1
func (o *GetSystemReleaseOK) String() string
type GetSystemReleaseParams ¶ added in v0.1.1
type GetSystemReleaseParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetSystemReleaseParams contains all the parameters to send to the API endpoint
for the get system release operation. Typically these are written to a http.Request.
func NewGetSystemReleaseParams ¶ added in v0.1.1
func NewGetSystemReleaseParams() *GetSystemReleaseParams
NewGetSystemReleaseParams creates a new GetSystemReleaseParams 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 NewGetSystemReleaseParamsWithContext ¶ added in v0.1.1
func NewGetSystemReleaseParamsWithContext(ctx context.Context) *GetSystemReleaseParams
NewGetSystemReleaseParamsWithContext creates a new GetSystemReleaseParams object with the ability to set a context for a request.
func NewGetSystemReleaseParamsWithHTTPClient ¶ added in v0.1.1
func NewGetSystemReleaseParamsWithHTTPClient(client *http.Client) *GetSystemReleaseParams
NewGetSystemReleaseParamsWithHTTPClient creates a new GetSystemReleaseParams object with the ability to set a custom HTTPClient for a request.
func NewGetSystemReleaseParamsWithTimeout ¶ added in v0.1.1
func NewGetSystemReleaseParamsWithTimeout(timeout time.Duration) *GetSystemReleaseParams
NewGetSystemReleaseParamsWithTimeout creates a new GetSystemReleaseParams object with the ability to set a timeout on a request.
func (*GetSystemReleaseParams) SetContext ¶ added in v0.1.1
func (o *GetSystemReleaseParams) SetContext(ctx context.Context)
SetContext adds the context to the get system release params
func (*GetSystemReleaseParams) SetDefaults ¶ added in v0.1.1
func (o *GetSystemReleaseParams) SetDefaults()
SetDefaults hydrates default values in the get system release params (not the query body).
All values with no default are reset to their zero value.
func (*GetSystemReleaseParams) SetHTTPClient ¶ added in v0.1.1
func (o *GetSystemReleaseParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get system release params
func (*GetSystemReleaseParams) SetTimeout ¶ added in v0.1.1
func (o *GetSystemReleaseParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get system release params
func (*GetSystemReleaseParams) WithContext ¶ added in v0.1.1
func (o *GetSystemReleaseParams) WithContext(ctx context.Context) *GetSystemReleaseParams
WithContext adds the context to the get system release params
func (*GetSystemReleaseParams) WithDefaults ¶ added in v0.1.1
func (o *GetSystemReleaseParams) WithDefaults() *GetSystemReleaseParams
WithDefaults hydrates default values in the get system release params (not the query body).
All values with no default are reset to their zero value.
func (*GetSystemReleaseParams) WithHTTPClient ¶ added in v0.1.1
func (o *GetSystemReleaseParams) WithHTTPClient(client *http.Client) *GetSystemReleaseParams
WithHTTPClient adds the HTTPClient to the get system release params
func (*GetSystemReleaseParams) WithTimeout ¶ added in v0.1.1
func (o *GetSystemReleaseParams) WithTimeout(timeout time.Duration) *GetSystemReleaseParams
WithTimeout adds the timeout to the get system release params
func (*GetSystemReleaseParams) WriteToRequest ¶ added in v0.1.1
func (o *GetSystemReleaseParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetSystemReleaseReader ¶ added in v0.1.1
type GetSystemReleaseReader struct {
// contains filtered or unexported fields
}
GetSystemReleaseReader is a Reader for the GetSystemRelease structure.
func (*GetSystemReleaseReader) ReadResponse ¶ added in v0.1.1
func (o *GetSystemReleaseReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.