Documentation ¶
Index ¶
- type Client
- func (a *Client) GetBundle(params *GetBundleParams, opts ...ClientOption) (*GetBundleOK, error)
- func (a *Client) GetBundles(params *GetBundlesParams, opts ...ClientOption) (*GetBundlesOK, error)
- func (a *Client) GetBundlesForSkipUpgradeUsingGET(params *GetBundlesForSkipUpgradeUsingGETParams, opts ...ClientOption) (*GetBundlesForSkipUpgradeUsingGETOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateBundle(params *UpdateBundleParams, opts ...ClientOption) (*UpdateBundleOK, *UpdateBundleAccepted, error)
- func (a *Client) UpdateBundleCompatibilitySets(params *UpdateBundleCompatibilitySetsParams, opts ...ClientOption) (*UpdateBundleCompatibilitySetsOK, *UpdateBundleCompatibilitySetsAccepted, ...)
- func (a *Client) UploadBundle(params *UploadBundleParams, opts ...ClientOption) (*UploadBundleOK, *UploadBundleAccepted, error)
- type ClientOption
- type ClientService
- type GetBundleInternalServerError
- func (o *GetBundleInternalServerError) Error() string
- func (o *GetBundleInternalServerError) GetPayload() *models.Error
- func (o *GetBundleInternalServerError) IsClientError() bool
- func (o *GetBundleInternalServerError) IsCode(code int) bool
- func (o *GetBundleInternalServerError) IsRedirect() bool
- func (o *GetBundleInternalServerError) IsServerError() bool
- func (o *GetBundleInternalServerError) IsSuccess() bool
- func (o *GetBundleInternalServerError) String() string
- type GetBundleNotFound
- func (o *GetBundleNotFound) Error() string
- func (o *GetBundleNotFound) GetPayload() *models.Error
- func (o *GetBundleNotFound) IsClientError() bool
- func (o *GetBundleNotFound) IsCode(code int) bool
- func (o *GetBundleNotFound) IsRedirect() bool
- func (o *GetBundleNotFound) IsServerError() bool
- func (o *GetBundleNotFound) IsSuccess() bool
- func (o *GetBundleNotFound) String() string
- type GetBundleOK
- func (o *GetBundleOK) Error() string
- func (o *GetBundleOK) GetPayload() *models.Bundle
- func (o *GetBundleOK) IsClientError() bool
- func (o *GetBundleOK) IsCode(code int) bool
- func (o *GetBundleOK) IsRedirect() bool
- func (o *GetBundleOK) IsServerError() bool
- func (o *GetBundleOK) IsSuccess() bool
- func (o *GetBundleOK) String() string
- type GetBundleParams
- func (o *GetBundleParams) SetContext(ctx context.Context)
- func (o *GetBundleParams) SetDefaults()
- func (o *GetBundleParams) SetHTTPClient(client *http.Client)
- func (o *GetBundleParams) SetID(id string)
- func (o *GetBundleParams) SetTimeout(timeout time.Duration)
- func (o *GetBundleParams) WithContext(ctx context.Context) *GetBundleParams
- func (o *GetBundleParams) WithDefaults() *GetBundleParams
- func (o *GetBundleParams) WithHTTPClient(client *http.Client) *GetBundleParams
- func (o *GetBundleParams) WithID(id string) *GetBundleParams
- func (o *GetBundleParams) WithTimeout(timeout time.Duration) *GetBundleParams
- func (o *GetBundleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetBundleReader
- type GetBundlesForSkipUpgradeUsingGETInternalServerError
- func (o *GetBundlesForSkipUpgradeUsingGETInternalServerError) Error() string
- func (o *GetBundlesForSkipUpgradeUsingGETInternalServerError) GetPayload() *models.Error
- func (o *GetBundlesForSkipUpgradeUsingGETInternalServerError) IsClientError() bool
- func (o *GetBundlesForSkipUpgradeUsingGETInternalServerError) IsCode(code int) bool
- func (o *GetBundlesForSkipUpgradeUsingGETInternalServerError) IsRedirect() bool
- func (o *GetBundlesForSkipUpgradeUsingGETInternalServerError) IsServerError() bool
- func (o *GetBundlesForSkipUpgradeUsingGETInternalServerError) IsSuccess() bool
- func (o *GetBundlesForSkipUpgradeUsingGETInternalServerError) String() string
- type GetBundlesForSkipUpgradeUsingGETNotFound
- func (o *GetBundlesForSkipUpgradeUsingGETNotFound) Error() string
- func (o *GetBundlesForSkipUpgradeUsingGETNotFound) GetPayload() *models.Error
- func (o *GetBundlesForSkipUpgradeUsingGETNotFound) IsClientError() bool
- func (o *GetBundlesForSkipUpgradeUsingGETNotFound) IsCode(code int) bool
- func (o *GetBundlesForSkipUpgradeUsingGETNotFound) IsRedirect() bool
- func (o *GetBundlesForSkipUpgradeUsingGETNotFound) IsServerError() bool
- func (o *GetBundlesForSkipUpgradeUsingGETNotFound) IsSuccess() bool
- func (o *GetBundlesForSkipUpgradeUsingGETNotFound) String() string
- type GetBundlesForSkipUpgradeUsingGETOK
- func (o *GetBundlesForSkipUpgradeUsingGETOK) Error() string
- func (o *GetBundlesForSkipUpgradeUsingGETOK) GetPayload() *models.PageOfBundle
- func (o *GetBundlesForSkipUpgradeUsingGETOK) IsClientError() bool
- func (o *GetBundlesForSkipUpgradeUsingGETOK) IsCode(code int) bool
- func (o *GetBundlesForSkipUpgradeUsingGETOK) IsRedirect() bool
- func (o *GetBundlesForSkipUpgradeUsingGETOK) IsServerError() bool
- func (o *GetBundlesForSkipUpgradeUsingGETOK) IsSuccess() bool
- func (o *GetBundlesForSkipUpgradeUsingGETOK) String() string
- type GetBundlesForSkipUpgradeUsingGETParams
- func NewGetBundlesForSkipUpgradeUsingGETParams() *GetBundlesForSkipUpgradeUsingGETParams
- func NewGetBundlesForSkipUpgradeUsingGETParamsWithContext(ctx context.Context) *GetBundlesForSkipUpgradeUsingGETParams
- func NewGetBundlesForSkipUpgradeUsingGETParamsWithHTTPClient(client *http.Client) *GetBundlesForSkipUpgradeUsingGETParams
- func NewGetBundlesForSkipUpgradeUsingGETParamsWithTimeout(timeout time.Duration) *GetBundlesForSkipUpgradeUsingGETParams
- func (o *GetBundlesForSkipUpgradeUsingGETParams) SetContext(ctx context.Context)
- func (o *GetBundlesForSkipUpgradeUsingGETParams) SetDefaults()
- func (o *GetBundlesForSkipUpgradeUsingGETParams) SetHTTPClient(client *http.Client)
- func (o *GetBundlesForSkipUpgradeUsingGETParams) SetID(id string)
- func (o *GetBundlesForSkipUpgradeUsingGETParams) SetTargetVersion(targetVersion *string)
- func (o *GetBundlesForSkipUpgradeUsingGETParams) SetTimeout(timeout time.Duration)
- func (o *GetBundlesForSkipUpgradeUsingGETParams) WithContext(ctx context.Context) *GetBundlesForSkipUpgradeUsingGETParams
- func (o *GetBundlesForSkipUpgradeUsingGETParams) WithDefaults() *GetBundlesForSkipUpgradeUsingGETParams
- func (o *GetBundlesForSkipUpgradeUsingGETParams) WithHTTPClient(client *http.Client) *GetBundlesForSkipUpgradeUsingGETParams
- func (o *GetBundlesForSkipUpgradeUsingGETParams) WithID(id string) *GetBundlesForSkipUpgradeUsingGETParams
- func (o *GetBundlesForSkipUpgradeUsingGETParams) WithTargetVersion(targetVersion *string) *GetBundlesForSkipUpgradeUsingGETParams
- func (o *GetBundlesForSkipUpgradeUsingGETParams) WithTimeout(timeout time.Duration) *GetBundlesForSkipUpgradeUsingGETParams
- func (o *GetBundlesForSkipUpgradeUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetBundlesForSkipUpgradeUsingGETReader
- type GetBundlesInternalServerError
- func (o *GetBundlesInternalServerError) Error() string
- func (o *GetBundlesInternalServerError) GetPayload() *models.Error
- func (o *GetBundlesInternalServerError) IsClientError() bool
- func (o *GetBundlesInternalServerError) IsCode(code int) bool
- func (o *GetBundlesInternalServerError) IsRedirect() bool
- func (o *GetBundlesInternalServerError) IsServerError() bool
- func (o *GetBundlesInternalServerError) IsSuccess() bool
- func (o *GetBundlesInternalServerError) String() string
- type GetBundlesOK
- func (o *GetBundlesOK) Error() string
- func (o *GetBundlesOK) GetPayload() *models.PageOfBundle
- func (o *GetBundlesOK) IsClientError() bool
- func (o *GetBundlesOK) IsCode(code int) bool
- func (o *GetBundlesOK) IsRedirect() bool
- func (o *GetBundlesOK) IsServerError() bool
- func (o *GetBundlesOK) IsSuccess() bool
- func (o *GetBundlesOK) String() string
- type GetBundlesParams
- func (o *GetBundlesParams) SetBundleType(bundleType *string)
- func (o *GetBundlesParams) SetContext(ctx context.Context)
- func (o *GetBundlesParams) SetDefaults()
- func (o *GetBundlesParams) SetHTTPClient(client *http.Client)
- func (o *GetBundlesParams) SetIsCompliant(isCompliant *bool)
- func (o *GetBundlesParams) SetProductType(productType *string)
- func (o *GetBundlesParams) SetTimeout(timeout time.Duration)
- func (o *GetBundlesParams) WithBundleType(bundleType *string) *GetBundlesParams
- func (o *GetBundlesParams) WithContext(ctx context.Context) *GetBundlesParams
- func (o *GetBundlesParams) WithDefaults() *GetBundlesParams
- func (o *GetBundlesParams) WithHTTPClient(client *http.Client) *GetBundlesParams
- func (o *GetBundlesParams) WithIsCompliant(isCompliant *bool) *GetBundlesParams
- func (o *GetBundlesParams) WithProductType(productType *string) *GetBundlesParams
- func (o *GetBundlesParams) WithTimeout(timeout time.Duration) *GetBundlesParams
- func (o *GetBundlesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetBundlesReader
- type UpdateBundleAccepted
- func (o *UpdateBundleAccepted) Error() string
- func (o *UpdateBundleAccepted) GetPayload() *models.Task
- func (o *UpdateBundleAccepted) IsClientError() bool
- func (o *UpdateBundleAccepted) IsCode(code int) bool
- func (o *UpdateBundleAccepted) IsRedirect() bool
- func (o *UpdateBundleAccepted) IsServerError() bool
- func (o *UpdateBundleAccepted) IsSuccess() bool
- func (o *UpdateBundleAccepted) String() string
- type UpdateBundleBadRequest
- func (o *UpdateBundleBadRequest) Error() string
- func (o *UpdateBundleBadRequest) GetPayload() *models.Error
- func (o *UpdateBundleBadRequest) IsClientError() bool
- func (o *UpdateBundleBadRequest) IsCode(code int) bool
- func (o *UpdateBundleBadRequest) IsRedirect() bool
- func (o *UpdateBundleBadRequest) IsServerError() bool
- func (o *UpdateBundleBadRequest) IsSuccess() bool
- func (o *UpdateBundleBadRequest) String() string
- type UpdateBundleCompatibilitySetsAccepted
- func (o *UpdateBundleCompatibilitySetsAccepted) Error() string
- func (o *UpdateBundleCompatibilitySetsAccepted) IsClientError() bool
- func (o *UpdateBundleCompatibilitySetsAccepted) IsCode(code int) bool
- func (o *UpdateBundleCompatibilitySetsAccepted) IsRedirect() bool
- func (o *UpdateBundleCompatibilitySetsAccepted) IsServerError() bool
- func (o *UpdateBundleCompatibilitySetsAccepted) IsSuccess() bool
- func (o *UpdateBundleCompatibilitySetsAccepted) String() string
- type UpdateBundleCompatibilitySetsBadRequest
- func (o *UpdateBundleCompatibilitySetsBadRequest) Error() string
- func (o *UpdateBundleCompatibilitySetsBadRequest) GetPayload() *models.Error
- func (o *UpdateBundleCompatibilitySetsBadRequest) IsClientError() bool
- func (o *UpdateBundleCompatibilitySetsBadRequest) IsCode(code int) bool
- func (o *UpdateBundleCompatibilitySetsBadRequest) IsRedirect() bool
- func (o *UpdateBundleCompatibilitySetsBadRequest) IsServerError() bool
- func (o *UpdateBundleCompatibilitySetsBadRequest) IsSuccess() bool
- func (o *UpdateBundleCompatibilitySetsBadRequest) String() string
- type UpdateBundleCompatibilitySetsConflict
- func (o *UpdateBundleCompatibilitySetsConflict) Error() string
- func (o *UpdateBundleCompatibilitySetsConflict) GetPayload() *models.Error
- func (o *UpdateBundleCompatibilitySetsConflict) IsClientError() bool
- func (o *UpdateBundleCompatibilitySetsConflict) IsCode(code int) bool
- func (o *UpdateBundleCompatibilitySetsConflict) IsRedirect() bool
- func (o *UpdateBundleCompatibilitySetsConflict) IsServerError() bool
- func (o *UpdateBundleCompatibilitySetsConflict) IsSuccess() bool
- func (o *UpdateBundleCompatibilitySetsConflict) String() string
- type UpdateBundleCompatibilitySetsInternalServerError
- func (o *UpdateBundleCompatibilitySetsInternalServerError) Error() string
- func (o *UpdateBundleCompatibilitySetsInternalServerError) GetPayload() *models.Error
- func (o *UpdateBundleCompatibilitySetsInternalServerError) IsClientError() bool
- func (o *UpdateBundleCompatibilitySetsInternalServerError) IsCode(code int) bool
- func (o *UpdateBundleCompatibilitySetsInternalServerError) IsRedirect() bool
- func (o *UpdateBundleCompatibilitySetsInternalServerError) IsServerError() bool
- func (o *UpdateBundleCompatibilitySetsInternalServerError) IsSuccess() bool
- func (o *UpdateBundleCompatibilitySetsInternalServerError) String() string
- type UpdateBundleCompatibilitySetsOK
- func (o *UpdateBundleCompatibilitySetsOK) Error() string
- func (o *UpdateBundleCompatibilitySetsOK) IsClientError() bool
- func (o *UpdateBundleCompatibilitySetsOK) IsCode(code int) bool
- func (o *UpdateBundleCompatibilitySetsOK) IsRedirect() bool
- func (o *UpdateBundleCompatibilitySetsOK) IsServerError() bool
- func (o *UpdateBundleCompatibilitySetsOK) IsSuccess() bool
- func (o *UpdateBundleCompatibilitySetsOK) String() string
- type UpdateBundleCompatibilitySetsParams
- func NewUpdateBundleCompatibilitySetsParams() *UpdateBundleCompatibilitySetsParams
- func NewUpdateBundleCompatibilitySetsParamsWithContext(ctx context.Context) *UpdateBundleCompatibilitySetsParams
- func NewUpdateBundleCompatibilitySetsParamsWithHTTPClient(client *http.Client) *UpdateBundleCompatibilitySetsParams
- func NewUpdateBundleCompatibilitySetsParamsWithTimeout(timeout time.Duration) *UpdateBundleCompatibilitySetsParams
- func (o *UpdateBundleCompatibilitySetsParams) SetBundleUpdateSpec(bundleUpdateSpec *models.BundleUpdateSpec)
- func (o *UpdateBundleCompatibilitySetsParams) SetContext(ctx context.Context)
- func (o *UpdateBundleCompatibilitySetsParams) SetDefaults()
- func (o *UpdateBundleCompatibilitySetsParams) SetHTTPClient(client *http.Client)
- func (o *UpdateBundleCompatibilitySetsParams) SetTimeout(timeout time.Duration)
- func (o *UpdateBundleCompatibilitySetsParams) WithBundleUpdateSpec(bundleUpdateSpec *models.BundleUpdateSpec) *UpdateBundleCompatibilitySetsParams
- func (o *UpdateBundleCompatibilitySetsParams) WithContext(ctx context.Context) *UpdateBundleCompatibilitySetsParams
- func (o *UpdateBundleCompatibilitySetsParams) WithDefaults() *UpdateBundleCompatibilitySetsParams
- func (o *UpdateBundleCompatibilitySetsParams) WithHTTPClient(client *http.Client) *UpdateBundleCompatibilitySetsParams
- func (o *UpdateBundleCompatibilitySetsParams) WithTimeout(timeout time.Duration) *UpdateBundleCompatibilitySetsParams
- func (o *UpdateBundleCompatibilitySetsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateBundleCompatibilitySetsReader
- type UpdateBundleConflict
- func (o *UpdateBundleConflict) Error() string
- func (o *UpdateBundleConflict) GetPayload() *models.Error
- func (o *UpdateBundleConflict) IsClientError() bool
- func (o *UpdateBundleConflict) IsCode(code int) bool
- func (o *UpdateBundleConflict) IsRedirect() bool
- func (o *UpdateBundleConflict) IsServerError() bool
- func (o *UpdateBundleConflict) IsSuccess() bool
- func (o *UpdateBundleConflict) String() string
- type UpdateBundleInternalServerError
- func (o *UpdateBundleInternalServerError) Error() string
- func (o *UpdateBundleInternalServerError) GetPayload() *models.Error
- func (o *UpdateBundleInternalServerError) IsClientError() bool
- func (o *UpdateBundleInternalServerError) IsCode(code int) bool
- func (o *UpdateBundleInternalServerError) IsRedirect() bool
- func (o *UpdateBundleInternalServerError) IsServerError() bool
- func (o *UpdateBundleInternalServerError) IsSuccess() bool
- func (o *UpdateBundleInternalServerError) String() string
- type UpdateBundleOK
- func (o *UpdateBundleOK) Error() string
- func (o *UpdateBundleOK) GetPayload() *models.Task
- func (o *UpdateBundleOK) IsClientError() bool
- func (o *UpdateBundleOK) IsCode(code int) bool
- func (o *UpdateBundleOK) IsRedirect() bool
- func (o *UpdateBundleOK) IsServerError() bool
- func (o *UpdateBundleOK) IsSuccess() bool
- func (o *UpdateBundleOK) String() string
- type UpdateBundleParams
- func (o *UpdateBundleParams) SetBundleUpdateSpec(bundleUpdateSpec *models.BundleUpdateSpec)
- func (o *UpdateBundleParams) SetContext(ctx context.Context)
- func (o *UpdateBundleParams) SetDefaults()
- func (o *UpdateBundleParams) SetHTTPClient(client *http.Client)
- func (o *UpdateBundleParams) SetID(id string)
- func (o *UpdateBundleParams) SetTimeout(timeout time.Duration)
- func (o *UpdateBundleParams) WithBundleUpdateSpec(bundleUpdateSpec *models.BundleUpdateSpec) *UpdateBundleParams
- func (o *UpdateBundleParams) WithContext(ctx context.Context) *UpdateBundleParams
- func (o *UpdateBundleParams) WithDefaults() *UpdateBundleParams
- func (o *UpdateBundleParams) WithHTTPClient(client *http.Client) *UpdateBundleParams
- func (o *UpdateBundleParams) WithID(id string) *UpdateBundleParams
- func (o *UpdateBundleParams) WithTimeout(timeout time.Duration) *UpdateBundleParams
- func (o *UpdateBundleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateBundleReader
- type UploadBundleAccepted
- func (o *UploadBundleAccepted) Error() string
- func (o *UploadBundleAccepted) GetPayload() *models.Task
- func (o *UploadBundleAccepted) IsClientError() bool
- func (o *UploadBundleAccepted) IsCode(code int) bool
- func (o *UploadBundleAccepted) IsRedirect() bool
- func (o *UploadBundleAccepted) IsServerError() bool
- func (o *UploadBundleAccepted) IsSuccess() bool
- func (o *UploadBundleAccepted) String() string
- type UploadBundleBadRequest
- func (o *UploadBundleBadRequest) Error() string
- func (o *UploadBundleBadRequest) GetPayload() *models.Error
- func (o *UploadBundleBadRequest) IsClientError() bool
- func (o *UploadBundleBadRequest) IsCode(code int) bool
- func (o *UploadBundleBadRequest) IsRedirect() bool
- func (o *UploadBundleBadRequest) IsServerError() bool
- func (o *UploadBundleBadRequest) IsSuccess() bool
- func (o *UploadBundleBadRequest) String() string
- type UploadBundleInternalServerError
- func (o *UploadBundleInternalServerError) Error() string
- func (o *UploadBundleInternalServerError) GetPayload() *models.Error
- func (o *UploadBundleInternalServerError) IsClientError() bool
- func (o *UploadBundleInternalServerError) IsCode(code int) bool
- func (o *UploadBundleInternalServerError) IsRedirect() bool
- func (o *UploadBundleInternalServerError) IsServerError() bool
- func (o *UploadBundleInternalServerError) IsSuccess() bool
- func (o *UploadBundleInternalServerError) String() string
- type UploadBundleOK
- func (o *UploadBundleOK) Error() string
- func (o *UploadBundleOK) GetPayload() *models.Task
- func (o *UploadBundleOK) IsClientError() bool
- func (o *UploadBundleOK) IsCode(code int) bool
- func (o *UploadBundleOK) IsRedirect() bool
- func (o *UploadBundleOK) IsServerError() bool
- func (o *UploadBundleOK) IsSuccess() bool
- func (o *UploadBundleOK) String() string
- type UploadBundleParams
- func (o *UploadBundleParams) SetBundleUploadSpec(bundleUploadSpec *models.BundleUploadSpec)
- func (o *UploadBundleParams) SetContext(ctx context.Context)
- func (o *UploadBundleParams) SetDefaults()
- func (o *UploadBundleParams) SetHTTPClient(client *http.Client)
- func (o *UploadBundleParams) SetTimeout(timeout time.Duration)
- func (o *UploadBundleParams) WithBundleUploadSpec(bundleUploadSpec *models.BundleUploadSpec) *UploadBundleParams
- func (o *UploadBundleParams) WithContext(ctx context.Context) *UploadBundleParams
- func (o *UploadBundleParams) WithDefaults() *UploadBundleParams
- func (o *UploadBundleParams) WithHTTPClient(client *http.Client) *UploadBundleParams
- func (o *UploadBundleParams) WithTimeout(timeout time.Duration) *UploadBundleParams
- func (o *UploadBundleParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UploadBundleReader
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 ¶
func (a *Client) UpdateBundleCompatibilitySets(params *UpdateBundleCompatibilitySetsParams, opts ...ClientOption) (*UpdateBundleCompatibilitySetsOK, *UpdateBundleCompatibilitySetsAccepted, error)
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
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 (o *GetBundleInternalServerError) Error() string
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
func (o *GetBundleInternalServerError) String() string
type GetBundleNotFound ¶ added in v0.1.1
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
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
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 (o *GetBundlesForSkipUpgradeUsingGETInternalServerError) Error() string
func (*GetBundlesForSkipUpgradeUsingGETInternalServerError) GetPayload ¶ added in v0.1.1
func (o *GetBundlesForSkipUpgradeUsingGETInternalServerError) GetPayload() *models.Error
func (*GetBundlesForSkipUpgradeUsingGETInternalServerError) IsClientError ¶ added in v0.1.1
func (o *GetBundlesForSkipUpgradeUsingGETInternalServerError) IsClientError() bool
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
func (o *GetBundlesForSkipUpgradeUsingGETInternalServerError) IsCode(code int) bool
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
func (o *GetBundlesForSkipUpgradeUsingGETInternalServerError) IsRedirect() bool
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
func (o *GetBundlesForSkipUpgradeUsingGETInternalServerError) IsServerError() bool
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
func (o *GetBundlesForSkipUpgradeUsingGETInternalServerError) IsSuccess() bool
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
func (o *GetBundlesForSkipUpgradeUsingGETInternalServerError) String() string
type GetBundlesForSkipUpgradeUsingGETNotFound ¶ added in v0.1.1
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 (o *GetBundlesForSkipUpgradeUsingGETNotFound) Error() string
func (*GetBundlesForSkipUpgradeUsingGETNotFound) GetPayload ¶ added in v0.1.1
func (o *GetBundlesForSkipUpgradeUsingGETNotFound) GetPayload() *models.Error
func (*GetBundlesForSkipUpgradeUsingGETNotFound) IsClientError ¶ added in v0.1.1
func (o *GetBundlesForSkipUpgradeUsingGETNotFound) IsClientError() bool
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
func (o *GetBundlesForSkipUpgradeUsingGETNotFound) IsCode(code int) bool
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
func (o *GetBundlesForSkipUpgradeUsingGETNotFound) IsRedirect() bool
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
func (o *GetBundlesForSkipUpgradeUsingGETNotFound) IsServerError() bool
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
func (o *GetBundlesForSkipUpgradeUsingGETNotFound) IsSuccess() bool
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
func (o *GetBundlesForSkipUpgradeUsingGETNotFound) String() string
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 (o *GetBundlesForSkipUpgradeUsingGETOK) Error() string
func (*GetBundlesForSkipUpgradeUsingGETOK) GetPayload ¶ added in v0.1.1
func (o *GetBundlesForSkipUpgradeUsingGETOK) GetPayload() *models.PageOfBundle
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
func (o *GetBundlesForSkipUpgradeUsingGETOK) IsCode(code int) bool
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
func (o *GetBundlesForSkipUpgradeUsingGETOK) IsSuccess() bool
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
func (o *GetBundlesForSkipUpgradeUsingGETOK) String() string
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
func (o *GetBundlesForSkipUpgradeUsingGETParams) SetContext(ctx context.Context)
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
func (o *GetBundlesForSkipUpgradeUsingGETParams) SetID(id string)
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
func (o *GetBundlesForSkipUpgradeUsingGETParams) WithContext(ctx context.Context) *GetBundlesForSkipUpgradeUsingGETParams
WithContext adds the context to the get bundles for skip upgrade using g e t params
func (*GetBundlesForSkipUpgradeUsingGETParams) WithDefaults ¶ added in v0.1.1
func (o *GetBundlesForSkipUpgradeUsingGETParams) WithDefaults() *GetBundlesForSkipUpgradeUsingGETParams
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
func (o *GetBundlesForSkipUpgradeUsingGETParams) WithHTTPClient(client *http.Client) *GetBundlesForSkipUpgradeUsingGETParams
WithHTTPClient adds the HTTPClient to the get bundles for skip upgrade using g e t params
func (*GetBundlesForSkipUpgradeUsingGETParams) WithID ¶ added in v0.1.1
func (o *GetBundlesForSkipUpgradeUsingGETParams) WithID(id string) *GetBundlesForSkipUpgradeUsingGETParams
WithID adds the id to the get bundles for skip upgrade using g e t params
func (*GetBundlesForSkipUpgradeUsingGETParams) WithTargetVersion ¶ added in v0.1.1
func (o *GetBundlesForSkipUpgradeUsingGETParams) WithTargetVersion(targetVersion *string) *GetBundlesForSkipUpgradeUsingGETParams
WithTargetVersion adds the targetVersion to the get bundles for skip upgrade using g e t params
func (*GetBundlesForSkipUpgradeUsingGETParams) WithTimeout ¶ added in v0.1.1
func (o *GetBundlesForSkipUpgradeUsingGETParams) WithTimeout(timeout time.Duration) *GetBundlesForSkipUpgradeUsingGETParams
WithTimeout adds the timeout to the get bundles for skip upgrade using g e t params
func (*GetBundlesForSkipUpgradeUsingGETParams) WriteToRequest ¶ added in v0.1.1
func (o *GetBundlesForSkipUpgradeUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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
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 (o *GetBundlesInternalServerError) Error() string
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
func (o *GetBundlesInternalServerError) String() string
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 ¶
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 ¶
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 (o *UpdateBundleCompatibilitySetsAccepted) Error() string
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 ¶
func (o *UpdateBundleCompatibilitySetsAccepted) IsCode(code int) bool
IsCode returns true when this update bundle compatibility sets accepted response a status code equal to that given
func (*UpdateBundleCompatibilitySetsAccepted) IsRedirect ¶
func (o *UpdateBundleCompatibilitySetsAccepted) IsRedirect() bool
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 ¶
func (o *UpdateBundleCompatibilitySetsAccepted) IsSuccess() bool
IsSuccess returns true when this update bundle compatibility sets accepted response has a 2xx status code
func (*UpdateBundleCompatibilitySetsAccepted) String ¶
func (o *UpdateBundleCompatibilitySetsAccepted) String() string
type UpdateBundleCompatibilitySetsBadRequest ¶
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 (o *UpdateBundleCompatibilitySetsBadRequest) Error() string
func (*UpdateBundleCompatibilitySetsBadRequest) GetPayload ¶
func (o *UpdateBundleCompatibilitySetsBadRequest) GetPayload() *models.Error
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 ¶
func (o *UpdateBundleCompatibilitySetsBadRequest) IsCode(code int) bool
IsCode returns true when this update bundle compatibility sets bad request response a status code equal to that given
func (*UpdateBundleCompatibilitySetsBadRequest) IsRedirect ¶
func (o *UpdateBundleCompatibilitySetsBadRequest) IsRedirect() bool
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 ¶
func (o *UpdateBundleCompatibilitySetsBadRequest) IsSuccess() bool
IsSuccess returns true when this update bundle compatibility sets bad request response has a 2xx status code
func (*UpdateBundleCompatibilitySetsBadRequest) String ¶
func (o *UpdateBundleCompatibilitySetsBadRequest) String() string
type UpdateBundleCompatibilitySetsConflict ¶
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 (o *UpdateBundleCompatibilitySetsConflict) Error() string
func (*UpdateBundleCompatibilitySetsConflict) GetPayload ¶
func (o *UpdateBundleCompatibilitySetsConflict) GetPayload() *models.Error
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 ¶
func (o *UpdateBundleCompatibilitySetsConflict) IsCode(code int) bool
IsCode returns true when this update bundle compatibility sets conflict response a status code equal to that given
func (*UpdateBundleCompatibilitySetsConflict) IsRedirect ¶
func (o *UpdateBundleCompatibilitySetsConflict) IsRedirect() bool
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 ¶
func (o *UpdateBundleCompatibilitySetsConflict) IsSuccess() bool
IsSuccess returns true when this update bundle compatibility sets conflict response has a 2xx status code
func (*UpdateBundleCompatibilitySetsConflict) String ¶
func (o *UpdateBundleCompatibilitySetsConflict) String() string
type UpdateBundleCompatibilitySetsInternalServerError ¶
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 (o *UpdateBundleCompatibilitySetsInternalServerError) Error() string
func (*UpdateBundleCompatibilitySetsInternalServerError) GetPayload ¶
func (o *UpdateBundleCompatibilitySetsInternalServerError) GetPayload() *models.Error
func (*UpdateBundleCompatibilitySetsInternalServerError) IsClientError ¶
func (o *UpdateBundleCompatibilitySetsInternalServerError) IsClientError() bool
IsClientError returns true when this update bundle compatibility sets internal server error response has a 4xx status code
func (*UpdateBundleCompatibilitySetsInternalServerError) IsCode ¶
func (o *UpdateBundleCompatibilitySetsInternalServerError) IsCode(code int) bool
IsCode returns true when this update bundle compatibility sets internal server error response a status code equal to that given
func (*UpdateBundleCompatibilitySetsInternalServerError) IsRedirect ¶
func (o *UpdateBundleCompatibilitySetsInternalServerError) IsRedirect() bool
IsRedirect returns true when this update bundle compatibility sets internal server error response has a 3xx status code
func (*UpdateBundleCompatibilitySetsInternalServerError) IsServerError ¶
func (o *UpdateBundleCompatibilitySetsInternalServerError) IsServerError() bool
IsServerError returns true when this update bundle compatibility sets internal server error response has a 5xx status code
func (*UpdateBundleCompatibilitySetsInternalServerError) IsSuccess ¶
func (o *UpdateBundleCompatibilitySetsInternalServerError) IsSuccess() bool
IsSuccess returns true when this update bundle compatibility sets internal server error response has a 2xx status code
func (*UpdateBundleCompatibilitySetsInternalServerError) String ¶
func (o *UpdateBundleCompatibilitySetsInternalServerError) String() 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 (o *UpdateBundleCompatibilitySetsOK) Error() string
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 ¶
func (o *UpdateBundleCompatibilitySetsOK) String() 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 ¶
func (o *UpdateBundleCompatibilitySetsParams) SetContext(ctx context.Context)
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 ¶
func (o *UpdateBundleCompatibilitySetsParams) WithBundleUpdateSpec(bundleUpdateSpec *models.BundleUpdateSpec) *UpdateBundleCompatibilitySetsParams
WithBundleUpdateSpec adds the bundleUpdateSpec to the update bundle compatibility sets params
func (*UpdateBundleCompatibilitySetsParams) WithContext ¶
func (o *UpdateBundleCompatibilitySetsParams) WithContext(ctx context.Context) *UpdateBundleCompatibilitySetsParams
WithContext adds the context to the update bundle compatibility sets params
func (*UpdateBundleCompatibilitySetsParams) WithDefaults ¶
func (o *UpdateBundleCompatibilitySetsParams) WithDefaults() *UpdateBundleCompatibilitySetsParams
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 ¶
func (o *UpdateBundleCompatibilitySetsParams) WithHTTPClient(client *http.Client) *UpdateBundleCompatibilitySetsParams
WithHTTPClient adds the HTTPClient to the update bundle compatibility sets params
func (*UpdateBundleCompatibilitySetsParams) WithTimeout ¶
func (o *UpdateBundleCompatibilitySetsParams) WithTimeout(timeout time.Duration) *UpdateBundleCompatibilitySetsParams
WithTimeout adds the timeout to the update bundle compatibility sets params
func (*UpdateBundleCompatibilitySetsParams) WriteToRequest ¶
func (o *UpdateBundleCompatibilitySetsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
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 ¶
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 (o *UpdateBundleInternalServerError) Error() string
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 ¶
func (o *UpdateBundleInternalServerError) String() string
type UpdateBundleOK ¶
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 ¶
func (o *UpdateBundleParams) WithContext(ctx context.Context) *UpdateBundleParams
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 ¶
func (o *UpdateBundleParams) WithID(id string) *UpdateBundleParams
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 ¶
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 ¶
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 ¶
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 (o *UploadBundleInternalServerError) Error() string
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 ¶
func (o *UploadBundleInternalServerError) String() string
type UploadBundleOK ¶
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 ¶
func (o *UploadBundleParams) WithContext(ctx context.Context) *UploadBundleParams
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.
Source Files ¶
- bundles_client.go
- get_bundle_parameters.go
- get_bundle_responses.go
- get_bundles_for_skip_upgrade_using_get_parameters.go
- get_bundles_for_skip_upgrade_using_get_responses.go
- get_bundles_parameters.go
- get_bundles_responses.go
- update_bundle_compatibility_sets_parameters.go
- update_bundle_compatibility_sets_responses.go
- update_bundle_parameters.go
- update_bundle_responses.go
- upload_bundle_parameters.go
- upload_bundle_responses.go