bundles

package
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2024 License: BSD-2-Clause Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for bundles API

func (*Client) GetBundle added in v0.1.1

func (a *Client) GetBundle(params *GetBundleParams, opts ...ClientOption) (*GetBundleOK, error)

GetBundle gets a bundle

Get a Bundle

func (*Client) GetBundles added in v0.1.1

func (a *Client) GetBundles(params *GetBundlesParams, opts ...ClientOption) (*GetBundlesOK, error)

GetBundles gets the bundles

Get all Bundles i.e uploaded bundles and also bundles available via depot access.

func (*Client) GetBundlesForSkipUpgradeUsingGET added in v0.1.1

func (a *Client) GetBundlesForSkipUpgradeUsingGET(params *GetBundlesForSkipUpgradeUsingGETParams, opts ...ClientOption) (*GetBundlesForSkipUpgradeUsingGETOK, error)

GetBundlesForSkipUpgradeUsingGET gets bundles for skip upgrade a domain from current version to target version

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

func (*Client) UpdateBundle

func (a *Client) UpdateBundle(params *UpdateBundleParams, opts ...ClientOption) (*UpdateBundleOK, *UpdateBundleAccepted, error)

UpdateBundle updates a bundle for downloading from depot

Update a Bundle for scheduling/triggering download. Only one download can triggered for a Bundle.

func (*Client) UpdateBundleCompatibilitySets

UpdateBundleCompatibilitySets updates software compatibility sets for bundles

Update software compatibility sets for Bundles

func (*Client) UploadBundle

func (a *Client) UploadBundle(params *UploadBundleParams, opts ...ClientOption) (*UploadBundleOK, *UploadBundleAccepted, error)

UploadBundle uploads a bundle

Upload Bundle to SDDC Manager. Used when you do not have internet connectivity for downloading bundles from VMWare/VxRail to SDDC Manager. The Bundles are manually downloaded from Depot using Bundle Transfer utility

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	GetBundle(params *GetBundleParams, opts ...ClientOption) (*GetBundleOK, error)

	GetBundles(params *GetBundlesParams, opts ...ClientOption) (*GetBundlesOK, error)

	GetBundlesForSkipUpgradeUsingGET(params *GetBundlesForSkipUpgradeUsingGETParams, opts ...ClientOption) (*GetBundlesForSkipUpgradeUsingGETOK, error)

	UpdateBundle(params *UpdateBundleParams, opts ...ClientOption) (*UpdateBundleOK, *UpdateBundleAccepted, error)

	UpdateBundleCompatibilitySets(params *UpdateBundleCompatibilitySetsParams, opts ...ClientOption) (*UpdateBundleCompatibilitySetsOK, *UpdateBundleCompatibilitySetsAccepted, error)

	UploadBundle(params *UploadBundleParams, opts ...ClientOption) (*UploadBundleOK, *UploadBundleAccepted, 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 bundles API client.

type GetBundleInternalServerError added in v0.1.1

type GetBundleInternalServerError struct {
	Payload *models.Error
}

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

Internal Server Error

func NewGetBundleInternalServerError added in v0.1.1

func NewGetBundleInternalServerError() *GetBundleInternalServerError

NewGetBundleInternalServerError creates a GetBundleInternalServerError with default headers values

func (*GetBundleInternalServerError) Error added in v0.1.1

func (*GetBundleInternalServerError) GetPayload added in v0.1.1

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

func (*GetBundleInternalServerError) IsClientError added in v0.1.1

func (o *GetBundleInternalServerError) IsClientError() bool

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

func (*GetBundleInternalServerError) IsCode added in v0.1.1

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

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

func (*GetBundleInternalServerError) IsRedirect added in v0.1.1

func (o *GetBundleInternalServerError) IsRedirect() bool

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

func (*GetBundleInternalServerError) IsServerError added in v0.1.1

func (o *GetBundleInternalServerError) IsServerError() bool

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

func (*GetBundleInternalServerError) IsSuccess added in v0.1.1

func (o *GetBundleInternalServerError) IsSuccess() bool

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

func (*GetBundleInternalServerError) String added in v0.1.1

type GetBundleNotFound added in v0.1.1

type GetBundleNotFound struct {
	Payload *models.Error
}

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

Bundle Not Found

func NewGetBundleNotFound added in v0.1.1

func NewGetBundleNotFound() *GetBundleNotFound

NewGetBundleNotFound creates a GetBundleNotFound with default headers values

func (*GetBundleNotFound) Error added in v0.1.1

func (o *GetBundleNotFound) Error() string

func (*GetBundleNotFound) GetPayload added in v0.1.1

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

func (*GetBundleNotFound) IsClientError added in v0.1.1

func (o *GetBundleNotFound) IsClientError() bool

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

func (*GetBundleNotFound) IsCode added in v0.1.1

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

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

func (*GetBundleNotFound) IsRedirect added in v0.1.1

func (o *GetBundleNotFound) IsRedirect() bool

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

func (*GetBundleNotFound) IsServerError added in v0.1.1

func (o *GetBundleNotFound) IsServerError() bool

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

func (*GetBundleNotFound) IsSuccess added in v0.1.1

func (o *GetBundleNotFound) IsSuccess() bool

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

func (*GetBundleNotFound) String added in v0.1.1

func (o *GetBundleNotFound) String() string

type GetBundleOK added in v0.1.1

type GetBundleOK struct {
	Payload *models.Bundle
}

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

Ok

func NewGetBundleOK added in v0.1.1

func NewGetBundleOK() *GetBundleOK

NewGetBundleOK creates a GetBundleOK with default headers values

func (*GetBundleOK) Error added in v0.1.1

func (o *GetBundleOK) Error() string

func (*GetBundleOK) GetPayload added in v0.1.1

func (o *GetBundleOK) GetPayload() *models.Bundle

func (*GetBundleOK) IsClientError added in v0.1.1

func (o *GetBundleOK) IsClientError() bool

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

func (*GetBundleOK) IsCode added in v0.1.1

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

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

func (*GetBundleOK) IsRedirect added in v0.1.1

func (o *GetBundleOK) IsRedirect() bool

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

func (*GetBundleOK) IsServerError added in v0.1.1

func (o *GetBundleOK) IsServerError() bool

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

func (*GetBundleOK) IsSuccess added in v0.1.1

func (o *GetBundleOK) IsSuccess() bool

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

func (*GetBundleOK) String added in v0.1.1

func (o *GetBundleOK) String() string

type GetBundleParams added in v0.1.1

type GetBundleParams struct {

	/* ID.

	   Bundle ID
	*/
	ID string

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

GetBundleParams contains all the parameters to send to the API endpoint

for the get bundle operation.

Typically these are written to a http.Request.

func NewGetBundleParams added in v0.1.1

func NewGetBundleParams() *GetBundleParams

NewGetBundleParams creates a new GetBundleParams 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 NewGetBundleParamsWithContext added in v0.1.1

func NewGetBundleParamsWithContext(ctx context.Context) *GetBundleParams

NewGetBundleParamsWithContext creates a new GetBundleParams object with the ability to set a context for a request.

func NewGetBundleParamsWithHTTPClient added in v0.1.1

func NewGetBundleParamsWithHTTPClient(client *http.Client) *GetBundleParams

NewGetBundleParamsWithHTTPClient creates a new GetBundleParams object with the ability to set a custom HTTPClient for a request.

func NewGetBundleParamsWithTimeout added in v0.1.1

func NewGetBundleParamsWithTimeout(timeout time.Duration) *GetBundleParams

NewGetBundleParamsWithTimeout creates a new GetBundleParams object with the ability to set a timeout on a request.

func (*GetBundleParams) SetContext added in v0.1.1

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

SetContext adds the context to the get bundle params

func (*GetBundleParams) SetDefaults added in v0.1.1

func (o *GetBundleParams) SetDefaults()

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

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

func (*GetBundleParams) SetHTTPClient added in v0.1.1

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

SetHTTPClient adds the HTTPClient to the get bundle params

func (*GetBundleParams) SetID added in v0.1.1

func (o *GetBundleParams) SetID(id string)

SetID adds the id to the get bundle params

func (*GetBundleParams) SetTimeout added in v0.1.1

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

SetTimeout adds the timeout to the get bundle params

func (*GetBundleParams) WithContext added in v0.1.1

func (o *GetBundleParams) WithContext(ctx context.Context) *GetBundleParams

WithContext adds the context to the get bundle params

func (*GetBundleParams) WithDefaults added in v0.1.1

func (o *GetBundleParams) WithDefaults() *GetBundleParams

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

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

func (*GetBundleParams) WithHTTPClient added in v0.1.1

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

WithHTTPClient adds the HTTPClient to the get bundle params

func (*GetBundleParams) WithID added in v0.1.1

func (o *GetBundleParams) WithID(id string) *GetBundleParams

WithID adds the id to the get bundle params

func (*GetBundleParams) WithTimeout added in v0.1.1

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

WithTimeout adds the timeout to the get bundle params

func (*GetBundleParams) WriteToRequest added in v0.1.1

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

WriteToRequest writes these params to a swagger request

type GetBundleReader added in v0.1.1

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

GetBundleReader is a Reader for the GetBundle structure.

func (*GetBundleReader) ReadResponse added in v0.1.1

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

ReadResponse reads a server response into the received o.

type GetBundlesForSkipUpgradeUsingGETInternalServerError added in v0.1.1

type GetBundlesForSkipUpgradeUsingGETInternalServerError struct {
	Payload *models.Error
}

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

Internal Server Error

func NewGetBundlesForSkipUpgradeUsingGETInternalServerError added in v0.1.1

func NewGetBundlesForSkipUpgradeUsingGETInternalServerError() *GetBundlesForSkipUpgradeUsingGETInternalServerError

NewGetBundlesForSkipUpgradeUsingGETInternalServerError creates a GetBundlesForSkipUpgradeUsingGETInternalServerError with default headers values

func (*GetBundlesForSkipUpgradeUsingGETInternalServerError) Error added in v0.1.1

func (*GetBundlesForSkipUpgradeUsingGETInternalServerError) GetPayload added in v0.1.1

func (*GetBundlesForSkipUpgradeUsingGETInternalServerError) IsClientError added in v0.1.1

IsClientError returns true when this get bundles for skip upgrade using g e t internal server error response has a 4xx status code

func (*GetBundlesForSkipUpgradeUsingGETInternalServerError) IsCode added in v0.1.1

IsCode returns true when this get bundles for skip upgrade using g e t internal server error response a status code equal to that given

func (*GetBundlesForSkipUpgradeUsingGETInternalServerError) IsRedirect added in v0.1.1

IsRedirect returns true when this get bundles for skip upgrade using g e t internal server error response has a 3xx status code

func (*GetBundlesForSkipUpgradeUsingGETInternalServerError) IsServerError added in v0.1.1

IsServerError returns true when this get bundles for skip upgrade using g e t internal server error response has a 5xx status code

func (*GetBundlesForSkipUpgradeUsingGETInternalServerError) IsSuccess added in v0.1.1

IsSuccess returns true when this get bundles for skip upgrade using g e t internal server error response has a 2xx status code

func (*GetBundlesForSkipUpgradeUsingGETInternalServerError) String added in v0.1.1

type GetBundlesForSkipUpgradeUsingGETNotFound added in v0.1.1

type GetBundlesForSkipUpgradeUsingGETNotFound struct {
	Payload *models.Error
}

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

Domain not found with given ID.

func NewGetBundlesForSkipUpgradeUsingGETNotFound added in v0.1.1

func NewGetBundlesForSkipUpgradeUsingGETNotFound() *GetBundlesForSkipUpgradeUsingGETNotFound

NewGetBundlesForSkipUpgradeUsingGETNotFound creates a GetBundlesForSkipUpgradeUsingGETNotFound with default headers values

func (*GetBundlesForSkipUpgradeUsingGETNotFound) Error added in v0.1.1

func (*GetBundlesForSkipUpgradeUsingGETNotFound) GetPayload added in v0.1.1

func (*GetBundlesForSkipUpgradeUsingGETNotFound) IsClientError added in v0.1.1

IsClientError returns true when this get bundles for skip upgrade using g e t not found response has a 4xx status code

func (*GetBundlesForSkipUpgradeUsingGETNotFound) IsCode added in v0.1.1

IsCode returns true when this get bundles for skip upgrade using g e t not found response a status code equal to that given

func (*GetBundlesForSkipUpgradeUsingGETNotFound) IsRedirect added in v0.1.1

IsRedirect returns true when this get bundles for skip upgrade using g e t not found response has a 3xx status code

func (*GetBundlesForSkipUpgradeUsingGETNotFound) IsServerError added in v0.1.1

IsServerError returns true when this get bundles for skip upgrade using g e t not found response has a 5xx status code

func (*GetBundlesForSkipUpgradeUsingGETNotFound) IsSuccess added in v0.1.1

IsSuccess returns true when this get bundles for skip upgrade using g e t not found response has a 2xx status code

func (*GetBundlesForSkipUpgradeUsingGETNotFound) String added in v0.1.1

type GetBundlesForSkipUpgradeUsingGETOK added in v0.1.1

type GetBundlesForSkipUpgradeUsingGETOK struct {
	Payload *models.PageOfBundle
}

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

Ok

func NewGetBundlesForSkipUpgradeUsingGETOK added in v0.1.1

func NewGetBundlesForSkipUpgradeUsingGETOK() *GetBundlesForSkipUpgradeUsingGETOK

NewGetBundlesForSkipUpgradeUsingGETOK creates a GetBundlesForSkipUpgradeUsingGETOK with default headers values

func (*GetBundlesForSkipUpgradeUsingGETOK) Error added in v0.1.1

func (*GetBundlesForSkipUpgradeUsingGETOK) GetPayload added in v0.1.1

func (*GetBundlesForSkipUpgradeUsingGETOK) IsClientError added in v0.1.1

func (o *GetBundlesForSkipUpgradeUsingGETOK) IsClientError() bool

IsClientError returns true when this get bundles for skip upgrade using g e t o k response has a 4xx status code

func (*GetBundlesForSkipUpgradeUsingGETOK) IsCode added in v0.1.1

IsCode returns true when this get bundles for skip upgrade using g e t o k response a status code equal to that given

func (*GetBundlesForSkipUpgradeUsingGETOK) IsRedirect added in v0.1.1

func (o *GetBundlesForSkipUpgradeUsingGETOK) IsRedirect() bool

IsRedirect returns true when this get bundles for skip upgrade using g e t o k response has a 3xx status code

func (*GetBundlesForSkipUpgradeUsingGETOK) IsServerError added in v0.1.1

func (o *GetBundlesForSkipUpgradeUsingGETOK) IsServerError() bool

IsServerError returns true when this get bundles for skip upgrade using g e t o k response has a 5xx status code

func (*GetBundlesForSkipUpgradeUsingGETOK) IsSuccess added in v0.1.1

IsSuccess returns true when this get bundles for skip upgrade using g e t o k response has a 2xx status code

func (*GetBundlesForSkipUpgradeUsingGETOK) String added in v0.1.1

type GetBundlesForSkipUpgradeUsingGETParams added in v0.1.1

type GetBundlesForSkipUpgradeUsingGETParams struct {

	/* ID.

	   Domain ID
	*/
	ID string

	/* TargetVersion.

	   [Deprecated] Target domain VCF version
	*/
	TargetVersion *string

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

GetBundlesForSkipUpgradeUsingGETParams contains all the parameters to send to the API endpoint

for the get bundles for skip upgrade using g e t operation.

Typically these are written to a http.Request.

func NewGetBundlesForSkipUpgradeUsingGETParams added in v0.1.1

func NewGetBundlesForSkipUpgradeUsingGETParams() *GetBundlesForSkipUpgradeUsingGETParams

NewGetBundlesForSkipUpgradeUsingGETParams creates a new GetBundlesForSkipUpgradeUsingGETParams 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 NewGetBundlesForSkipUpgradeUsingGETParamsWithContext added in v0.1.1

func NewGetBundlesForSkipUpgradeUsingGETParamsWithContext(ctx context.Context) *GetBundlesForSkipUpgradeUsingGETParams

NewGetBundlesForSkipUpgradeUsingGETParamsWithContext creates a new GetBundlesForSkipUpgradeUsingGETParams object with the ability to set a context for a request.

func NewGetBundlesForSkipUpgradeUsingGETParamsWithHTTPClient added in v0.1.1

func NewGetBundlesForSkipUpgradeUsingGETParamsWithHTTPClient(client *http.Client) *GetBundlesForSkipUpgradeUsingGETParams

NewGetBundlesForSkipUpgradeUsingGETParamsWithHTTPClient creates a new GetBundlesForSkipUpgradeUsingGETParams object with the ability to set a custom HTTPClient for a request.

func NewGetBundlesForSkipUpgradeUsingGETParamsWithTimeout added in v0.1.1

func NewGetBundlesForSkipUpgradeUsingGETParamsWithTimeout(timeout time.Duration) *GetBundlesForSkipUpgradeUsingGETParams

NewGetBundlesForSkipUpgradeUsingGETParamsWithTimeout creates a new GetBundlesForSkipUpgradeUsingGETParams object with the ability to set a timeout on a request.

func (*GetBundlesForSkipUpgradeUsingGETParams) SetContext added in v0.1.1

SetContext adds the context to the get bundles for skip upgrade using g e t params

func (*GetBundlesForSkipUpgradeUsingGETParams) SetDefaults added in v0.1.1

func (o *GetBundlesForSkipUpgradeUsingGETParams) SetDefaults()

SetDefaults hydrates default values in the get bundles for skip upgrade using g e t params (not the query body).

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

func (*GetBundlesForSkipUpgradeUsingGETParams) SetHTTPClient added in v0.1.1

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

SetHTTPClient adds the HTTPClient to the get bundles for skip upgrade using g e t params

func (*GetBundlesForSkipUpgradeUsingGETParams) SetID added in v0.1.1

SetID adds the id to the get bundles for skip upgrade using g e t params

func (*GetBundlesForSkipUpgradeUsingGETParams) SetTargetVersion added in v0.1.1

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

SetTargetVersion adds the targetVersion to the get bundles for skip upgrade using g e t params

func (*GetBundlesForSkipUpgradeUsingGETParams) SetTimeout added in v0.1.1

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

SetTimeout adds the timeout to the get bundles for skip upgrade using g e t params

func (*GetBundlesForSkipUpgradeUsingGETParams) WithContext added in v0.1.1

WithContext adds the context to the get bundles for skip upgrade using g e t params

func (*GetBundlesForSkipUpgradeUsingGETParams) WithDefaults added in v0.1.1

WithDefaults hydrates default values in the get bundles for skip upgrade using g e t params (not the query body).

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

func (*GetBundlesForSkipUpgradeUsingGETParams) WithHTTPClient added in v0.1.1

WithHTTPClient adds the HTTPClient to the get bundles for skip upgrade using g e t params

func (*GetBundlesForSkipUpgradeUsingGETParams) WithID added in v0.1.1

WithID adds the id to the get bundles for skip upgrade using g e t params

func (*GetBundlesForSkipUpgradeUsingGETParams) WithTargetVersion added in v0.1.1

WithTargetVersion adds the targetVersion to the get bundles for skip upgrade using g e t params

func (*GetBundlesForSkipUpgradeUsingGETParams) WithTimeout added in v0.1.1

WithTimeout adds the timeout to the get bundles for skip upgrade using g e t params

func (*GetBundlesForSkipUpgradeUsingGETParams) WriteToRequest added in v0.1.1

WriteToRequest writes these params to a swagger request

type GetBundlesForSkipUpgradeUsingGETReader added in v0.1.1

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

GetBundlesForSkipUpgradeUsingGETReader is a Reader for the GetBundlesForSkipUpgradeUsingGET structure.

func (*GetBundlesForSkipUpgradeUsingGETReader) ReadResponse added in v0.1.1

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

ReadResponse reads a server response into the received o.

type GetBundlesInternalServerError added in v0.1.1

type GetBundlesInternalServerError struct {
	Payload *models.Error
}

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

Internal Server Error

func NewGetBundlesInternalServerError added in v0.1.1

func NewGetBundlesInternalServerError() *GetBundlesInternalServerError

NewGetBundlesInternalServerError creates a GetBundlesInternalServerError with default headers values

func (*GetBundlesInternalServerError) Error added in v0.1.1

func (*GetBundlesInternalServerError) GetPayload added in v0.1.1

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

func (*GetBundlesInternalServerError) IsClientError added in v0.1.1

func (o *GetBundlesInternalServerError) IsClientError() bool

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

func (*GetBundlesInternalServerError) IsCode added in v0.1.1

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

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

func (*GetBundlesInternalServerError) IsRedirect added in v0.1.1

func (o *GetBundlesInternalServerError) IsRedirect() bool

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

func (*GetBundlesInternalServerError) IsServerError added in v0.1.1

func (o *GetBundlesInternalServerError) IsServerError() bool

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

func (*GetBundlesInternalServerError) IsSuccess added in v0.1.1

func (o *GetBundlesInternalServerError) IsSuccess() bool

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

func (*GetBundlesInternalServerError) String added in v0.1.1

type GetBundlesOK added in v0.1.1

type GetBundlesOK struct {
	Payload *models.PageOfBundle
}

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

Ok

func NewGetBundlesOK added in v0.1.1

func NewGetBundlesOK() *GetBundlesOK

NewGetBundlesOK creates a GetBundlesOK with default headers values

func (*GetBundlesOK) Error added in v0.1.1

func (o *GetBundlesOK) Error() string

func (*GetBundlesOK) GetPayload added in v0.1.1

func (o *GetBundlesOK) GetPayload() *models.PageOfBundle

func (*GetBundlesOK) IsClientError added in v0.1.1

func (o *GetBundlesOK) IsClientError() bool

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

func (*GetBundlesOK) IsCode added in v0.1.1

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

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

func (*GetBundlesOK) IsRedirect added in v0.1.1

func (o *GetBundlesOK) IsRedirect() bool

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

func (*GetBundlesOK) IsServerError added in v0.1.1

func (o *GetBundlesOK) IsServerError() bool

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

func (*GetBundlesOK) IsSuccess added in v0.1.1

func (o *GetBundlesOK) IsSuccess() bool

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

func (*GetBundlesOK) String added in v0.1.1

func (o *GetBundlesOK) String() string

type GetBundlesParams added in v0.1.1

type GetBundlesParams struct {

	/* BundleType.

	   The type of the bundle
	*/
	BundleType *string

	/* IsCompliant.

	   Is compliant with the current VCF version
	*/
	IsCompliant *bool

	/* ProductType.

	   The type of the product
	*/
	ProductType *string

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

GetBundlesParams contains all the parameters to send to the API endpoint

for the get bundles operation.

Typically these are written to a http.Request.

func NewGetBundlesParams added in v0.1.1

func NewGetBundlesParams() *GetBundlesParams

NewGetBundlesParams creates a new GetBundlesParams 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 NewGetBundlesParamsWithContext added in v0.1.1

func NewGetBundlesParamsWithContext(ctx context.Context) *GetBundlesParams

NewGetBundlesParamsWithContext creates a new GetBundlesParams object with the ability to set a context for a request.

func NewGetBundlesParamsWithHTTPClient added in v0.1.1

func NewGetBundlesParamsWithHTTPClient(client *http.Client) *GetBundlesParams

NewGetBundlesParamsWithHTTPClient creates a new GetBundlesParams object with the ability to set a custom HTTPClient for a request.

func NewGetBundlesParamsWithTimeout added in v0.1.1

func NewGetBundlesParamsWithTimeout(timeout time.Duration) *GetBundlesParams

NewGetBundlesParamsWithTimeout creates a new GetBundlesParams object with the ability to set a timeout on a request.

func (*GetBundlesParams) SetBundleType added in v0.1.1

func (o *GetBundlesParams) SetBundleType(bundleType *string)

SetBundleType adds the bundleType to the get bundles params

func (*GetBundlesParams) SetContext added in v0.1.1

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

SetContext adds the context to the get bundles params

func (*GetBundlesParams) SetDefaults added in v0.1.1

func (o *GetBundlesParams) SetDefaults()

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

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

func (*GetBundlesParams) SetHTTPClient added in v0.1.1

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

SetHTTPClient adds the HTTPClient to the get bundles params

func (*GetBundlesParams) SetIsCompliant added in v0.1.1

func (o *GetBundlesParams) SetIsCompliant(isCompliant *bool)

SetIsCompliant adds the isCompliant to the get bundles params

func (*GetBundlesParams) SetProductType added in v0.1.1

func (o *GetBundlesParams) SetProductType(productType *string)

SetProductType adds the productType to the get bundles params

func (*GetBundlesParams) SetTimeout added in v0.1.1

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

SetTimeout adds the timeout to the get bundles params

func (*GetBundlesParams) WithBundleType added in v0.1.1

func (o *GetBundlesParams) WithBundleType(bundleType *string) *GetBundlesParams

WithBundleType adds the bundleType to the get bundles params

func (*GetBundlesParams) WithContext added in v0.1.1

func (o *GetBundlesParams) WithContext(ctx context.Context) *GetBundlesParams

WithContext adds the context to the get bundles params

func (*GetBundlesParams) WithDefaults added in v0.1.1

func (o *GetBundlesParams) WithDefaults() *GetBundlesParams

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

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

func (*GetBundlesParams) WithHTTPClient added in v0.1.1

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

WithHTTPClient adds the HTTPClient to the get bundles params

func (*GetBundlesParams) WithIsCompliant added in v0.1.1

func (o *GetBundlesParams) WithIsCompliant(isCompliant *bool) *GetBundlesParams

WithIsCompliant adds the isCompliant to the get bundles params

func (*GetBundlesParams) WithProductType added in v0.1.1

func (o *GetBundlesParams) WithProductType(productType *string) *GetBundlesParams

WithProductType adds the productType to the get bundles params

func (*GetBundlesParams) WithTimeout added in v0.1.1

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

WithTimeout adds the timeout to the get bundles params

func (*GetBundlesParams) WriteToRequest added in v0.1.1

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

WriteToRequest writes these params to a swagger request

type GetBundlesReader added in v0.1.1

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

GetBundlesReader is a Reader for the GetBundles structure.

func (*GetBundlesReader) ReadResponse added in v0.1.1

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

ReadResponse reads a server response into the received o.

type UpdateBundleAccepted

type UpdateBundleAccepted struct {
	Payload *models.Task
}

UpdateBundleAccepted describes a response with status code 202, with default header values.

Accepted

func NewUpdateBundleAccepted

func NewUpdateBundleAccepted() *UpdateBundleAccepted

NewUpdateBundleAccepted creates a UpdateBundleAccepted with default headers values

func (*UpdateBundleAccepted) Error

func (o *UpdateBundleAccepted) Error() string

func (*UpdateBundleAccepted) GetPayload

func (o *UpdateBundleAccepted) GetPayload() *models.Task

func (*UpdateBundleAccepted) IsClientError

func (o *UpdateBundleAccepted) IsClientError() bool

IsClientError returns true when this update bundle accepted response has a 4xx status code

func (*UpdateBundleAccepted) IsCode

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

IsCode returns true when this update bundle accepted response a status code equal to that given

func (*UpdateBundleAccepted) IsRedirect

func (o *UpdateBundleAccepted) IsRedirect() bool

IsRedirect returns true when this update bundle accepted response has a 3xx status code

func (*UpdateBundleAccepted) IsServerError

func (o *UpdateBundleAccepted) IsServerError() bool

IsServerError returns true when this update bundle accepted response has a 5xx status code

func (*UpdateBundleAccepted) IsSuccess

func (o *UpdateBundleAccepted) IsSuccess() bool

IsSuccess returns true when this update bundle accepted response has a 2xx status code

func (*UpdateBundleAccepted) String

func (o *UpdateBundleAccepted) String() string

type UpdateBundleBadRequest

type UpdateBundleBadRequest struct {
	Payload *models.Error
}

UpdateBundleBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewUpdateBundleBadRequest

func NewUpdateBundleBadRequest() *UpdateBundleBadRequest

NewUpdateBundleBadRequest creates a UpdateBundleBadRequest with default headers values

func (*UpdateBundleBadRequest) Error

func (o *UpdateBundleBadRequest) Error() string

func (*UpdateBundleBadRequest) GetPayload

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

func (*UpdateBundleBadRequest) IsClientError

func (o *UpdateBundleBadRequest) IsClientError() bool

IsClientError returns true when this update bundle bad request response has a 4xx status code

func (*UpdateBundleBadRequest) IsCode

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

IsCode returns true when this update bundle bad request response a status code equal to that given

func (*UpdateBundleBadRequest) IsRedirect

func (o *UpdateBundleBadRequest) IsRedirect() bool

IsRedirect returns true when this update bundle bad request response has a 3xx status code

func (*UpdateBundleBadRequest) IsServerError

func (o *UpdateBundleBadRequest) IsServerError() bool

IsServerError returns true when this update bundle bad request response has a 5xx status code

func (*UpdateBundleBadRequest) IsSuccess

func (o *UpdateBundleBadRequest) IsSuccess() bool

IsSuccess returns true when this update bundle bad request response has a 2xx status code

func (*UpdateBundleBadRequest) String

func (o *UpdateBundleBadRequest) String() string

type UpdateBundleCompatibilitySetsAccepted

type UpdateBundleCompatibilitySetsAccepted struct {
}

UpdateBundleCompatibilitySetsAccepted describes a response with status code 202, with default header values.

Accepted

func NewUpdateBundleCompatibilitySetsAccepted

func NewUpdateBundleCompatibilitySetsAccepted() *UpdateBundleCompatibilitySetsAccepted

NewUpdateBundleCompatibilitySetsAccepted creates a UpdateBundleCompatibilitySetsAccepted with default headers values

func (*UpdateBundleCompatibilitySetsAccepted) Error

func (*UpdateBundleCompatibilitySetsAccepted) IsClientError

func (o *UpdateBundleCompatibilitySetsAccepted) IsClientError() bool

IsClientError returns true when this update bundle compatibility sets accepted response has a 4xx status code

func (*UpdateBundleCompatibilitySetsAccepted) IsCode

IsCode returns true when this update bundle compatibility sets accepted response a status code equal to that given

func (*UpdateBundleCompatibilitySetsAccepted) IsRedirect

IsRedirect returns true when this update bundle compatibility sets accepted response has a 3xx status code

func (*UpdateBundleCompatibilitySetsAccepted) IsServerError

func (o *UpdateBundleCompatibilitySetsAccepted) IsServerError() bool

IsServerError returns true when this update bundle compatibility sets accepted response has a 5xx status code

func (*UpdateBundleCompatibilitySetsAccepted) IsSuccess

IsSuccess returns true when this update bundle compatibility sets accepted response has a 2xx status code

func (*UpdateBundleCompatibilitySetsAccepted) String

type UpdateBundleCompatibilitySetsBadRequest

type UpdateBundleCompatibilitySetsBadRequest struct {
	Payload *models.Error
}

UpdateBundleCompatibilitySetsBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewUpdateBundleCompatibilitySetsBadRequest

func NewUpdateBundleCompatibilitySetsBadRequest() *UpdateBundleCompatibilitySetsBadRequest

NewUpdateBundleCompatibilitySetsBadRequest creates a UpdateBundleCompatibilitySetsBadRequest with default headers values

func (*UpdateBundleCompatibilitySetsBadRequest) Error

func (*UpdateBundleCompatibilitySetsBadRequest) GetPayload

func (*UpdateBundleCompatibilitySetsBadRequest) IsClientError

func (o *UpdateBundleCompatibilitySetsBadRequest) IsClientError() bool

IsClientError returns true when this update bundle compatibility sets bad request response has a 4xx status code

func (*UpdateBundleCompatibilitySetsBadRequest) IsCode

IsCode returns true when this update bundle compatibility sets bad request response a status code equal to that given

func (*UpdateBundleCompatibilitySetsBadRequest) IsRedirect

IsRedirect returns true when this update bundle compatibility sets bad request response has a 3xx status code

func (*UpdateBundleCompatibilitySetsBadRequest) IsServerError

func (o *UpdateBundleCompatibilitySetsBadRequest) IsServerError() bool

IsServerError returns true when this update bundle compatibility sets bad request response has a 5xx status code

func (*UpdateBundleCompatibilitySetsBadRequest) IsSuccess

IsSuccess returns true when this update bundle compatibility sets bad request response has a 2xx status code

func (*UpdateBundleCompatibilitySetsBadRequest) String

type UpdateBundleCompatibilitySetsConflict

type UpdateBundleCompatibilitySetsConflict struct {
	Payload *models.Error
}

UpdateBundleCompatibilitySetsConflict describes a response with status code 409, with default header values.

Conflict

func NewUpdateBundleCompatibilitySetsConflict

func NewUpdateBundleCompatibilitySetsConflict() *UpdateBundleCompatibilitySetsConflict

NewUpdateBundleCompatibilitySetsConflict creates a UpdateBundleCompatibilitySetsConflict with default headers values

func (*UpdateBundleCompatibilitySetsConflict) Error

func (*UpdateBundleCompatibilitySetsConflict) GetPayload

func (*UpdateBundleCompatibilitySetsConflict) IsClientError

func (o *UpdateBundleCompatibilitySetsConflict) IsClientError() bool

IsClientError returns true when this update bundle compatibility sets conflict response has a 4xx status code

func (*UpdateBundleCompatibilitySetsConflict) IsCode

IsCode returns true when this update bundle compatibility sets conflict response a status code equal to that given

func (*UpdateBundleCompatibilitySetsConflict) IsRedirect

IsRedirect returns true when this update bundle compatibility sets conflict response has a 3xx status code

func (*UpdateBundleCompatibilitySetsConflict) IsServerError

func (o *UpdateBundleCompatibilitySetsConflict) IsServerError() bool

IsServerError returns true when this update bundle compatibility sets conflict response has a 5xx status code

func (*UpdateBundleCompatibilitySetsConflict) IsSuccess

IsSuccess returns true when this update bundle compatibility sets conflict response has a 2xx status code

func (*UpdateBundleCompatibilitySetsConflict) String

type UpdateBundleCompatibilitySetsInternalServerError

type UpdateBundleCompatibilitySetsInternalServerError struct {
	Payload *models.Error
}

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

Internal Server Error

func NewUpdateBundleCompatibilitySetsInternalServerError

func NewUpdateBundleCompatibilitySetsInternalServerError() *UpdateBundleCompatibilitySetsInternalServerError

NewUpdateBundleCompatibilitySetsInternalServerError creates a UpdateBundleCompatibilitySetsInternalServerError with default headers values

func (*UpdateBundleCompatibilitySetsInternalServerError) Error

func (*UpdateBundleCompatibilitySetsInternalServerError) GetPayload

func (*UpdateBundleCompatibilitySetsInternalServerError) IsClientError

IsClientError returns true when this update bundle compatibility sets internal server error response has a 4xx status code

func (*UpdateBundleCompatibilitySetsInternalServerError) IsCode

IsCode returns true when this update bundle compatibility sets internal server error response a status code equal to that given

func (*UpdateBundleCompatibilitySetsInternalServerError) IsRedirect

IsRedirect returns true when this update bundle compatibility sets internal server error response has a 3xx status code

func (*UpdateBundleCompatibilitySetsInternalServerError) IsServerError

IsServerError returns true when this update bundle compatibility sets internal server error response has a 5xx status code

func (*UpdateBundleCompatibilitySetsInternalServerError) IsSuccess

IsSuccess returns true when this update bundle compatibility sets internal server error response has a 2xx status code

func (*UpdateBundleCompatibilitySetsInternalServerError) String

type UpdateBundleCompatibilitySetsOK

type UpdateBundleCompatibilitySetsOK struct {
}

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

OK

func NewUpdateBundleCompatibilitySetsOK

func NewUpdateBundleCompatibilitySetsOK() *UpdateBundleCompatibilitySetsOK

NewUpdateBundleCompatibilitySetsOK creates a UpdateBundleCompatibilitySetsOK with default headers values

func (*UpdateBundleCompatibilitySetsOK) Error

func (*UpdateBundleCompatibilitySetsOK) IsClientError

func (o *UpdateBundleCompatibilitySetsOK) IsClientError() bool

IsClientError returns true when this update bundle compatibility sets o k response has a 4xx status code

func (*UpdateBundleCompatibilitySetsOK) IsCode

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

IsCode returns true when this update bundle compatibility sets o k response a status code equal to that given

func (*UpdateBundleCompatibilitySetsOK) IsRedirect

func (o *UpdateBundleCompatibilitySetsOK) IsRedirect() bool

IsRedirect returns true when this update bundle compatibility sets o k response has a 3xx status code

func (*UpdateBundleCompatibilitySetsOK) IsServerError

func (o *UpdateBundleCompatibilitySetsOK) IsServerError() bool

IsServerError returns true when this update bundle compatibility sets o k response has a 5xx status code

func (*UpdateBundleCompatibilitySetsOK) IsSuccess

func (o *UpdateBundleCompatibilitySetsOK) IsSuccess() bool

IsSuccess returns true when this update bundle compatibility sets o k response has a 2xx status code

func (*UpdateBundleCompatibilitySetsOK) String

type UpdateBundleCompatibilitySetsParams

type UpdateBundleCompatibilitySetsParams struct {

	/* BundleUpdateSpec.

	   Bundle Update Specification
	*/
	BundleUpdateSpec *models.BundleUpdateSpec

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

UpdateBundleCompatibilitySetsParams contains all the parameters to send to the API endpoint

for the update bundle compatibility sets operation.

Typically these are written to a http.Request.

func NewUpdateBundleCompatibilitySetsParams

func NewUpdateBundleCompatibilitySetsParams() *UpdateBundleCompatibilitySetsParams

NewUpdateBundleCompatibilitySetsParams creates a new UpdateBundleCompatibilitySetsParams 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 NewUpdateBundleCompatibilitySetsParamsWithContext

func NewUpdateBundleCompatibilitySetsParamsWithContext(ctx context.Context) *UpdateBundleCompatibilitySetsParams

NewUpdateBundleCompatibilitySetsParamsWithContext creates a new UpdateBundleCompatibilitySetsParams object with the ability to set a context for a request.

func NewUpdateBundleCompatibilitySetsParamsWithHTTPClient

func NewUpdateBundleCompatibilitySetsParamsWithHTTPClient(client *http.Client) *UpdateBundleCompatibilitySetsParams

NewUpdateBundleCompatibilitySetsParamsWithHTTPClient creates a new UpdateBundleCompatibilitySetsParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateBundleCompatibilitySetsParamsWithTimeout

func NewUpdateBundleCompatibilitySetsParamsWithTimeout(timeout time.Duration) *UpdateBundleCompatibilitySetsParams

NewUpdateBundleCompatibilitySetsParamsWithTimeout creates a new UpdateBundleCompatibilitySetsParams object with the ability to set a timeout on a request.

func (*UpdateBundleCompatibilitySetsParams) SetBundleUpdateSpec

func (o *UpdateBundleCompatibilitySetsParams) SetBundleUpdateSpec(bundleUpdateSpec *models.BundleUpdateSpec)

SetBundleUpdateSpec adds the bundleUpdateSpec to the update bundle compatibility sets params

func (*UpdateBundleCompatibilitySetsParams) SetContext

SetContext adds the context to the update bundle compatibility sets params

func (*UpdateBundleCompatibilitySetsParams) SetDefaults

func (o *UpdateBundleCompatibilitySetsParams) SetDefaults()

SetDefaults hydrates default values in the update bundle compatibility sets params (not the query body).

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

func (*UpdateBundleCompatibilitySetsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update bundle compatibility sets params

func (*UpdateBundleCompatibilitySetsParams) SetTimeout

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

SetTimeout adds the timeout to the update bundle compatibility sets params

func (*UpdateBundleCompatibilitySetsParams) WithBundleUpdateSpec

WithBundleUpdateSpec adds the bundleUpdateSpec to the update bundle compatibility sets params

func (*UpdateBundleCompatibilitySetsParams) WithContext

WithContext adds the context to the update bundle compatibility sets params

func (*UpdateBundleCompatibilitySetsParams) WithDefaults

WithDefaults hydrates default values in the update bundle compatibility sets params (not the query body).

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

func (*UpdateBundleCompatibilitySetsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update bundle compatibility sets params

func (*UpdateBundleCompatibilitySetsParams) WithTimeout

WithTimeout adds the timeout to the update bundle compatibility sets params

func (*UpdateBundleCompatibilitySetsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateBundleCompatibilitySetsReader

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

UpdateBundleCompatibilitySetsReader is a Reader for the UpdateBundleCompatibilitySets structure.

func (*UpdateBundleCompatibilitySetsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateBundleConflict

type UpdateBundleConflict struct {
	Payload *models.Error
}

UpdateBundleConflict describes a response with status code 409, with default header values.

Conflict

func NewUpdateBundleConflict

func NewUpdateBundleConflict() *UpdateBundleConflict

NewUpdateBundleConflict creates a UpdateBundleConflict with default headers values

func (*UpdateBundleConflict) Error

func (o *UpdateBundleConflict) Error() string

func (*UpdateBundleConflict) GetPayload

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

func (*UpdateBundleConflict) IsClientError

func (o *UpdateBundleConflict) IsClientError() bool

IsClientError returns true when this update bundle conflict response has a 4xx status code

func (*UpdateBundleConflict) IsCode

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

IsCode returns true when this update bundle conflict response a status code equal to that given

func (*UpdateBundleConflict) IsRedirect

func (o *UpdateBundleConflict) IsRedirect() bool

IsRedirect returns true when this update bundle conflict response has a 3xx status code

func (*UpdateBundleConflict) IsServerError

func (o *UpdateBundleConflict) IsServerError() bool

IsServerError returns true when this update bundle conflict response has a 5xx status code

func (*UpdateBundleConflict) IsSuccess

func (o *UpdateBundleConflict) IsSuccess() bool

IsSuccess returns true when this update bundle conflict response has a 2xx status code

func (*UpdateBundleConflict) String

func (o *UpdateBundleConflict) String() string

type UpdateBundleInternalServerError

type UpdateBundleInternalServerError struct {
	Payload *models.Error
}

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

Internal Server Error

func NewUpdateBundleInternalServerError

func NewUpdateBundleInternalServerError() *UpdateBundleInternalServerError

NewUpdateBundleInternalServerError creates a UpdateBundleInternalServerError with default headers values

func (*UpdateBundleInternalServerError) Error

func (*UpdateBundleInternalServerError) GetPayload

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

func (*UpdateBundleInternalServerError) IsClientError

func (o *UpdateBundleInternalServerError) IsClientError() bool

IsClientError returns true when this update bundle internal server error response has a 4xx status code

func (*UpdateBundleInternalServerError) IsCode

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

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

func (*UpdateBundleInternalServerError) IsRedirect

func (o *UpdateBundleInternalServerError) IsRedirect() bool

IsRedirect returns true when this update bundle internal server error response has a 3xx status code

func (*UpdateBundleInternalServerError) IsServerError

func (o *UpdateBundleInternalServerError) IsServerError() bool

IsServerError returns true when this update bundle internal server error response has a 5xx status code

func (*UpdateBundleInternalServerError) IsSuccess

func (o *UpdateBundleInternalServerError) IsSuccess() bool

IsSuccess returns true when this update bundle internal server error response has a 2xx status code

func (*UpdateBundleInternalServerError) String

type UpdateBundleOK

type UpdateBundleOK struct {
	Payload *models.Task
}

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

OK

func NewUpdateBundleOK

func NewUpdateBundleOK() *UpdateBundleOK

NewUpdateBundleOK creates a UpdateBundleOK with default headers values

func (*UpdateBundleOK) Error

func (o *UpdateBundleOK) Error() string

func (*UpdateBundleOK) GetPayload

func (o *UpdateBundleOK) GetPayload() *models.Task

func (*UpdateBundleOK) IsClientError

func (o *UpdateBundleOK) IsClientError() bool

IsClientError returns true when this update bundle o k response has a 4xx status code

func (*UpdateBundleOK) IsCode

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

IsCode returns true when this update bundle o k response a status code equal to that given

func (*UpdateBundleOK) IsRedirect

func (o *UpdateBundleOK) IsRedirect() bool

IsRedirect returns true when this update bundle o k response has a 3xx status code

func (*UpdateBundleOK) IsServerError

func (o *UpdateBundleOK) IsServerError() bool

IsServerError returns true when this update bundle o k response has a 5xx status code

func (*UpdateBundleOK) IsSuccess

func (o *UpdateBundleOK) IsSuccess() bool

IsSuccess returns true when this update bundle o k response has a 2xx status code

func (*UpdateBundleOK) String

func (o *UpdateBundleOK) String() string

type UpdateBundleParams

type UpdateBundleParams struct {

	/* BundleUpdateSpec.

	   Bundle Update Specification
	*/
	BundleUpdateSpec *models.BundleUpdateSpec

	/* ID.

	   Bundle ID
	*/
	ID string

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

UpdateBundleParams contains all the parameters to send to the API endpoint

for the update bundle operation.

Typically these are written to a http.Request.

func NewUpdateBundleParams

func NewUpdateBundleParams() *UpdateBundleParams

NewUpdateBundleParams creates a new UpdateBundleParams 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 NewUpdateBundleParamsWithContext

func NewUpdateBundleParamsWithContext(ctx context.Context) *UpdateBundleParams

NewUpdateBundleParamsWithContext creates a new UpdateBundleParams object with the ability to set a context for a request.

func NewUpdateBundleParamsWithHTTPClient

func NewUpdateBundleParamsWithHTTPClient(client *http.Client) *UpdateBundleParams

NewUpdateBundleParamsWithHTTPClient creates a new UpdateBundleParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateBundleParamsWithTimeout

func NewUpdateBundleParamsWithTimeout(timeout time.Duration) *UpdateBundleParams

NewUpdateBundleParamsWithTimeout creates a new UpdateBundleParams object with the ability to set a timeout on a request.

func (*UpdateBundleParams) SetBundleUpdateSpec

func (o *UpdateBundleParams) SetBundleUpdateSpec(bundleUpdateSpec *models.BundleUpdateSpec)

SetBundleUpdateSpec adds the bundleUpdateSpec to the update bundle params

func (*UpdateBundleParams) SetContext

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

SetContext adds the context to the update bundle params

func (*UpdateBundleParams) SetDefaults

func (o *UpdateBundleParams) SetDefaults()

SetDefaults hydrates default values in the update bundle params (not the query body).

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

func (*UpdateBundleParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update bundle params

func (*UpdateBundleParams) SetID

func (o *UpdateBundleParams) SetID(id string)

SetID adds the id to the update bundle params

func (*UpdateBundleParams) SetTimeout

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

SetTimeout adds the timeout to the update bundle params

func (*UpdateBundleParams) WithBundleUpdateSpec

func (o *UpdateBundleParams) WithBundleUpdateSpec(bundleUpdateSpec *models.BundleUpdateSpec) *UpdateBundleParams

WithBundleUpdateSpec adds the bundleUpdateSpec to the update bundle params

func (*UpdateBundleParams) WithContext

WithContext adds the context to the update bundle params

func (*UpdateBundleParams) WithDefaults

func (o *UpdateBundleParams) WithDefaults() *UpdateBundleParams

WithDefaults hydrates default values in the update bundle params (not the query body).

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

func (*UpdateBundleParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update bundle params

func (*UpdateBundleParams) WithID

WithID adds the id to the update bundle params

func (*UpdateBundleParams) WithTimeout

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

WithTimeout adds the timeout to the update bundle params

func (*UpdateBundleParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type UpdateBundleReader

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

UpdateBundleReader is a Reader for the UpdateBundle structure.

func (*UpdateBundleReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UploadBundleAccepted

type UploadBundleAccepted struct {
	Payload *models.Task
}

UploadBundleAccepted describes a response with status code 202, with default header values.

Accepted

func NewUploadBundleAccepted

func NewUploadBundleAccepted() *UploadBundleAccepted

NewUploadBundleAccepted creates a UploadBundleAccepted with default headers values

func (*UploadBundleAccepted) Error

func (o *UploadBundleAccepted) Error() string

func (*UploadBundleAccepted) GetPayload

func (o *UploadBundleAccepted) GetPayload() *models.Task

func (*UploadBundleAccepted) IsClientError

func (o *UploadBundleAccepted) IsClientError() bool

IsClientError returns true when this upload bundle accepted response has a 4xx status code

func (*UploadBundleAccepted) IsCode

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

IsCode returns true when this upload bundle accepted response a status code equal to that given

func (*UploadBundleAccepted) IsRedirect

func (o *UploadBundleAccepted) IsRedirect() bool

IsRedirect returns true when this upload bundle accepted response has a 3xx status code

func (*UploadBundleAccepted) IsServerError

func (o *UploadBundleAccepted) IsServerError() bool

IsServerError returns true when this upload bundle accepted response has a 5xx status code

func (*UploadBundleAccepted) IsSuccess

func (o *UploadBundleAccepted) IsSuccess() bool

IsSuccess returns true when this upload bundle accepted response has a 2xx status code

func (*UploadBundleAccepted) String

func (o *UploadBundleAccepted) String() string

type UploadBundleBadRequest

type UploadBundleBadRequest struct {
	Payload *models.Error
}

UploadBundleBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewUploadBundleBadRequest

func NewUploadBundleBadRequest() *UploadBundleBadRequest

NewUploadBundleBadRequest creates a UploadBundleBadRequest with default headers values

func (*UploadBundleBadRequest) Error

func (o *UploadBundleBadRequest) Error() string

func (*UploadBundleBadRequest) GetPayload

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

func (*UploadBundleBadRequest) IsClientError

func (o *UploadBundleBadRequest) IsClientError() bool

IsClientError returns true when this upload bundle bad request response has a 4xx status code

func (*UploadBundleBadRequest) IsCode

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

IsCode returns true when this upload bundle bad request response a status code equal to that given

func (*UploadBundleBadRequest) IsRedirect

func (o *UploadBundleBadRequest) IsRedirect() bool

IsRedirect returns true when this upload bundle bad request response has a 3xx status code

func (*UploadBundleBadRequest) IsServerError

func (o *UploadBundleBadRequest) IsServerError() bool

IsServerError returns true when this upload bundle bad request response has a 5xx status code

func (*UploadBundleBadRequest) IsSuccess

func (o *UploadBundleBadRequest) IsSuccess() bool

IsSuccess returns true when this upload bundle bad request response has a 2xx status code

func (*UploadBundleBadRequest) String

func (o *UploadBundleBadRequest) String() string

type UploadBundleInternalServerError

type UploadBundleInternalServerError struct {
	Payload *models.Error
}

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

Internal Server Error

func NewUploadBundleInternalServerError

func NewUploadBundleInternalServerError() *UploadBundleInternalServerError

NewUploadBundleInternalServerError creates a UploadBundleInternalServerError with default headers values

func (*UploadBundleInternalServerError) Error

func (*UploadBundleInternalServerError) GetPayload

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

func (*UploadBundleInternalServerError) IsClientError

func (o *UploadBundleInternalServerError) IsClientError() bool

IsClientError returns true when this upload bundle internal server error response has a 4xx status code

func (*UploadBundleInternalServerError) IsCode

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

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

func (*UploadBundleInternalServerError) IsRedirect

func (o *UploadBundleInternalServerError) IsRedirect() bool

IsRedirect returns true when this upload bundle internal server error response has a 3xx status code

func (*UploadBundleInternalServerError) IsServerError

func (o *UploadBundleInternalServerError) IsServerError() bool

IsServerError returns true when this upload bundle internal server error response has a 5xx status code

func (*UploadBundleInternalServerError) IsSuccess

func (o *UploadBundleInternalServerError) IsSuccess() bool

IsSuccess returns true when this upload bundle internal server error response has a 2xx status code

func (*UploadBundleInternalServerError) String

type UploadBundleOK

type UploadBundleOK struct {
	Payload *models.Task
}

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

OK

func NewUploadBundleOK

func NewUploadBundleOK() *UploadBundleOK

NewUploadBundleOK creates a UploadBundleOK with default headers values

func (*UploadBundleOK) Error

func (o *UploadBundleOK) Error() string

func (*UploadBundleOK) GetPayload

func (o *UploadBundleOK) GetPayload() *models.Task

func (*UploadBundleOK) IsClientError

func (o *UploadBundleOK) IsClientError() bool

IsClientError returns true when this upload bundle o k response has a 4xx status code

func (*UploadBundleOK) IsCode

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

IsCode returns true when this upload bundle o k response a status code equal to that given

func (*UploadBundleOK) IsRedirect

func (o *UploadBundleOK) IsRedirect() bool

IsRedirect returns true when this upload bundle o k response has a 3xx status code

func (*UploadBundleOK) IsServerError

func (o *UploadBundleOK) IsServerError() bool

IsServerError returns true when this upload bundle o k response has a 5xx status code

func (*UploadBundleOK) IsSuccess

func (o *UploadBundleOK) IsSuccess() bool

IsSuccess returns true when this upload bundle o k response has a 2xx status code

func (*UploadBundleOK) String

func (o *UploadBundleOK) String() string

type UploadBundleParams

type UploadBundleParams struct {

	/* BundleUploadSpec.

	   Bundle Upload Specification
	*/
	BundleUploadSpec *models.BundleUploadSpec

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

UploadBundleParams contains all the parameters to send to the API endpoint

for the upload bundle operation.

Typically these are written to a http.Request.

func NewUploadBundleParams

func NewUploadBundleParams() *UploadBundleParams

NewUploadBundleParams creates a new UploadBundleParams 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 NewUploadBundleParamsWithContext

func NewUploadBundleParamsWithContext(ctx context.Context) *UploadBundleParams

NewUploadBundleParamsWithContext creates a new UploadBundleParams object with the ability to set a context for a request.

func NewUploadBundleParamsWithHTTPClient

func NewUploadBundleParamsWithHTTPClient(client *http.Client) *UploadBundleParams

NewUploadBundleParamsWithHTTPClient creates a new UploadBundleParams object with the ability to set a custom HTTPClient for a request.

func NewUploadBundleParamsWithTimeout

func NewUploadBundleParamsWithTimeout(timeout time.Duration) *UploadBundleParams

NewUploadBundleParamsWithTimeout creates a new UploadBundleParams object with the ability to set a timeout on a request.

func (*UploadBundleParams) SetBundleUploadSpec

func (o *UploadBundleParams) SetBundleUploadSpec(bundleUploadSpec *models.BundleUploadSpec)

SetBundleUploadSpec adds the bundleUploadSpec to the upload bundle params

func (*UploadBundleParams) SetContext

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

SetContext adds the context to the upload bundle params

func (*UploadBundleParams) SetDefaults

func (o *UploadBundleParams) SetDefaults()

SetDefaults hydrates default values in the upload bundle params (not the query body).

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

func (*UploadBundleParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the upload bundle params

func (*UploadBundleParams) SetTimeout

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

SetTimeout adds the timeout to the upload bundle params

func (*UploadBundleParams) WithBundleUploadSpec

func (o *UploadBundleParams) WithBundleUploadSpec(bundleUploadSpec *models.BundleUploadSpec) *UploadBundleParams

WithBundleUploadSpec adds the bundleUploadSpec to the upload bundle params

func (*UploadBundleParams) WithContext

WithContext adds the context to the upload bundle params

func (*UploadBundleParams) WithDefaults

func (o *UploadBundleParams) WithDefaults() *UploadBundleParams

WithDefaults hydrates default values in the upload bundle params (not the query body).

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

func (*UploadBundleParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the upload bundle params

func (*UploadBundleParams) WithTimeout

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

WithTimeout adds the timeout to the upload bundle params

func (*UploadBundleParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type UploadBundleReader

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

UploadBundleReader is a Reader for the UploadBundle structure.

func (*UploadBundleReader) ReadResponse

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

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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