Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateProvider(params *CreateProviderParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateProviderOK, error)
- func (a *Client) DeleteProvider(params *DeleteProviderParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteProviderOK, error)
- func (a *Client) GetProvider(params *GetProviderParams, opts ...ClientOption) (*GetProviderOK, error)
- func (a *Client) ListProviders(params *ListProvidersParams, opts ...ClientOption) (*ListProvidersOK, error)
- func (a *Client) ReadProvider(params *ReadProviderParams, opts ...ClientOption) (*ReadProviderOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateProvider(params *UpdateProviderParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateProviderOK, error)
- type ClientOption
- type ClientService
- type CreateProviderBody
- type CreateProviderDefault
- func (o *CreateProviderDefault) Code() int
- func (o *CreateProviderDefault) Error() string
- func (o *CreateProviderDefault) GetPayload() *cloud.GoogleRPCStatus
- func (o *CreateProviderDefault) IsClientError() bool
- func (o *CreateProviderDefault) IsCode(code int) bool
- func (o *CreateProviderDefault) IsRedirect() bool
- func (o *CreateProviderDefault) IsServerError() bool
- func (o *CreateProviderDefault) IsSuccess() bool
- func (o *CreateProviderDefault) String() string
- type CreateProviderOK
- func (o *CreateProviderOK) Code() int
- func (o *CreateProviderOK) Error() string
- func (o *CreateProviderOK) GetPayload() *models.HashicorpCloudVagrant20220930CreateProviderResponse
- func (o *CreateProviderOK) IsClientError() bool
- func (o *CreateProviderOK) IsCode(code int) bool
- func (o *CreateProviderOK) IsRedirect() bool
- func (o *CreateProviderOK) IsServerError() bool
- func (o *CreateProviderOK) IsSuccess() bool
- func (o *CreateProviderOK) String() string
- type CreateProviderParams
- func NewCreateProviderParams() *CreateProviderParams
- func NewCreateProviderParamsWithContext(ctx context.Context) *CreateProviderParams
- func NewCreateProviderParamsWithHTTPClient(client *http.Client) *CreateProviderParams
- func NewCreateProviderParamsWithTimeout(timeout time.Duration) *CreateProviderParams
- func (o *CreateProviderParams) SetBody(body CreateProviderBody)
- func (o *CreateProviderParams) SetBox(box string)
- func (o *CreateProviderParams) SetContext(ctx context.Context)
- func (o *CreateProviderParams) SetDefaults()
- func (o *CreateProviderParams) SetHTTPClient(client *http.Client)
- func (o *CreateProviderParams) SetRegistry(registry string)
- func (o *CreateProviderParams) SetTimeout(timeout time.Duration)
- func (o *CreateProviderParams) SetVersion(version string)
- func (o *CreateProviderParams) WithBody(body CreateProviderBody) *CreateProviderParams
- func (o *CreateProviderParams) WithBox(box string) *CreateProviderParams
- func (o *CreateProviderParams) WithContext(ctx context.Context) *CreateProviderParams
- func (o *CreateProviderParams) WithDefaults() *CreateProviderParams
- func (o *CreateProviderParams) WithHTTPClient(client *http.Client) *CreateProviderParams
- func (o *CreateProviderParams) WithRegistry(registry string) *CreateProviderParams
- func (o *CreateProviderParams) WithTimeout(timeout time.Duration) *CreateProviderParams
- func (o *CreateProviderParams) WithVersion(version string) *CreateProviderParams
- func (o *CreateProviderParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateProviderReader
- type DeleteProviderDefault
- func (o *DeleteProviderDefault) Code() int
- func (o *DeleteProviderDefault) Error() string
- func (o *DeleteProviderDefault) GetPayload() *cloud.GoogleRPCStatus
- func (o *DeleteProviderDefault) IsClientError() bool
- func (o *DeleteProviderDefault) IsCode(code int) bool
- func (o *DeleteProviderDefault) IsRedirect() bool
- func (o *DeleteProviderDefault) IsServerError() bool
- func (o *DeleteProviderDefault) IsSuccess() bool
- func (o *DeleteProviderDefault) String() string
- type DeleteProviderOK
- func (o *DeleteProviderOK) Code() int
- func (o *DeleteProviderOK) Error() string
- func (o *DeleteProviderOK) GetPayload() models.HashicorpCloudVagrant20220930DeleteProviderResponse
- func (o *DeleteProviderOK) IsClientError() bool
- func (o *DeleteProviderOK) IsCode(code int) bool
- func (o *DeleteProviderOK) IsRedirect() bool
- func (o *DeleteProviderOK) IsServerError() bool
- func (o *DeleteProviderOK) IsSuccess() bool
- func (o *DeleteProviderOK) String() string
- type DeleteProviderParams
- func NewDeleteProviderParams() *DeleteProviderParams
- func NewDeleteProviderParamsWithContext(ctx context.Context) *DeleteProviderParams
- func NewDeleteProviderParamsWithHTTPClient(client *http.Client) *DeleteProviderParams
- func NewDeleteProviderParamsWithTimeout(timeout time.Duration) *DeleteProviderParams
- func (o *DeleteProviderParams) SetBox(box string)
- func (o *DeleteProviderParams) SetContext(ctx context.Context)
- func (o *DeleteProviderParams) SetDefaults()
- func (o *DeleteProviderParams) SetHTTPClient(client *http.Client)
- func (o *DeleteProviderParams) SetProvider(provider string)
- func (o *DeleteProviderParams) SetRegistry(registry string)
- func (o *DeleteProviderParams) SetTimeout(timeout time.Duration)
- func (o *DeleteProviderParams) SetVersion(version string)
- func (o *DeleteProviderParams) WithBox(box string) *DeleteProviderParams
- func (o *DeleteProviderParams) WithContext(ctx context.Context) *DeleteProviderParams
- func (o *DeleteProviderParams) WithDefaults() *DeleteProviderParams
- func (o *DeleteProviderParams) WithHTTPClient(client *http.Client) *DeleteProviderParams
- func (o *DeleteProviderParams) WithProvider(provider string) *DeleteProviderParams
- func (o *DeleteProviderParams) WithRegistry(registry string) *DeleteProviderParams
- func (o *DeleteProviderParams) WithTimeout(timeout time.Duration) *DeleteProviderParams
- func (o *DeleteProviderParams) WithVersion(version string) *DeleteProviderParams
- func (o *DeleteProviderParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteProviderReader
- type GetProviderDefault
- func (o *GetProviderDefault) Code() int
- func (o *GetProviderDefault) Error() string
- func (o *GetProviderDefault) GetPayload() *cloud.GoogleRPCStatus
- func (o *GetProviderDefault) IsClientError() bool
- func (o *GetProviderDefault) IsCode(code int) bool
- func (o *GetProviderDefault) IsRedirect() bool
- func (o *GetProviderDefault) IsServerError() bool
- func (o *GetProviderDefault) IsSuccess() bool
- func (o *GetProviderDefault) String() string
- type GetProviderOK
- func (o *GetProviderOK) Code() int
- func (o *GetProviderOK) Error() string
- func (o *GetProviderOK) GetPayload() *models.HashicorpCloudVagrant20220930GetProviderResponse
- func (o *GetProviderOK) IsClientError() bool
- func (o *GetProviderOK) IsCode(code int) bool
- func (o *GetProviderOK) IsRedirect() bool
- func (o *GetProviderOK) IsServerError() bool
- func (o *GetProviderOK) IsSuccess() bool
- func (o *GetProviderOK) String() string
- type GetProviderParams
- func (o *GetProviderParams) SetBox(box string)
- func (o *GetProviderParams) SetContext(ctx context.Context)
- func (o *GetProviderParams) SetDefaults()
- func (o *GetProviderParams) SetHTTPClient(client *http.Client)
- func (o *GetProviderParams) SetProvider(provider string)
- func (o *GetProviderParams) SetRegistry(registry string)
- func (o *GetProviderParams) SetTimeout(timeout time.Duration)
- func (o *GetProviderParams) SetVersion(version string)
- func (o *GetProviderParams) WithBox(box string) *GetProviderParams
- func (o *GetProviderParams) WithContext(ctx context.Context) *GetProviderParams
- func (o *GetProviderParams) WithDefaults() *GetProviderParams
- func (o *GetProviderParams) WithHTTPClient(client *http.Client) *GetProviderParams
- func (o *GetProviderParams) WithProvider(provider string) *GetProviderParams
- func (o *GetProviderParams) WithRegistry(registry string) *GetProviderParams
- func (o *GetProviderParams) WithTimeout(timeout time.Duration) *GetProviderParams
- func (o *GetProviderParams) WithVersion(version string) *GetProviderParams
- func (o *GetProviderParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetProviderReader
- type ListProvidersDefault
- func (o *ListProvidersDefault) Code() int
- func (o *ListProvidersDefault) Error() string
- func (o *ListProvidersDefault) GetPayload() *cloud.GoogleRPCStatus
- func (o *ListProvidersDefault) IsClientError() bool
- func (o *ListProvidersDefault) IsCode(code int) bool
- func (o *ListProvidersDefault) IsRedirect() bool
- func (o *ListProvidersDefault) IsServerError() bool
- func (o *ListProvidersDefault) IsSuccess() bool
- func (o *ListProvidersDefault) String() string
- type ListProvidersOK
- func (o *ListProvidersOK) Code() int
- func (o *ListProvidersOK) Error() string
- func (o *ListProvidersOK) GetPayload() *models.HashicorpCloudVagrant20220930ListProvidersResponse
- func (o *ListProvidersOK) IsClientError() bool
- func (o *ListProvidersOK) IsCode(code int) bool
- func (o *ListProvidersOK) IsRedirect() bool
- func (o *ListProvidersOK) IsServerError() bool
- func (o *ListProvidersOK) IsSuccess() bool
- func (o *ListProvidersOK) String() string
- type ListProvidersParams
- func (o *ListProvidersParams) SetBox(box string)
- func (o *ListProvidersParams) SetContext(ctx context.Context)
- func (o *ListProvidersParams) SetDefaults()
- func (o *ListProvidersParams) SetHTTPClient(client *http.Client)
- func (o *ListProvidersParams) SetPaginationNextPageToken(paginationNextPageToken *string)
- func (o *ListProvidersParams) SetPaginationPageSize(paginationPageSize *int64)
- func (o *ListProvidersParams) SetPaginationPreviousPageToken(paginationPreviousPageToken *string)
- func (o *ListProvidersParams) SetRegistry(registry string)
- func (o *ListProvidersParams) SetTimeout(timeout time.Duration)
- func (o *ListProvidersParams) SetVersion(version string)
- func (o *ListProvidersParams) WithBox(box string) *ListProvidersParams
- func (o *ListProvidersParams) WithContext(ctx context.Context) *ListProvidersParams
- func (o *ListProvidersParams) WithDefaults() *ListProvidersParams
- func (o *ListProvidersParams) WithHTTPClient(client *http.Client) *ListProvidersParams
- func (o *ListProvidersParams) WithPaginationNextPageToken(paginationNextPageToken *string) *ListProvidersParams
- func (o *ListProvidersParams) WithPaginationPageSize(paginationPageSize *int64) *ListProvidersParams
- func (o *ListProvidersParams) WithPaginationPreviousPageToken(paginationPreviousPageToken *string) *ListProvidersParams
- func (o *ListProvidersParams) WithRegistry(registry string) *ListProvidersParams
- func (o *ListProvidersParams) WithTimeout(timeout time.Duration) *ListProvidersParams
- func (o *ListProvidersParams) WithVersion(version string) *ListProvidersParams
- func (o *ListProvidersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListProvidersReader
- type ReadProviderDefault
- func (o *ReadProviderDefault) Code() int
- func (o *ReadProviderDefault) Error() string
- func (o *ReadProviderDefault) GetPayload() *cloud.GoogleRPCStatus
- func (o *ReadProviderDefault) IsClientError() bool
- func (o *ReadProviderDefault) IsCode(code int) bool
- func (o *ReadProviderDefault) IsRedirect() bool
- func (o *ReadProviderDefault) IsServerError() bool
- func (o *ReadProviderDefault) IsSuccess() bool
- func (o *ReadProviderDefault) String() string
- type ReadProviderOK
- func (o *ReadProviderOK) Code() int
- func (o *ReadProviderOK) Error() string
- func (o *ReadProviderOK) GetPayload() *models.HashicorpCloudVagrant20220930ReadProviderResponse
- func (o *ReadProviderOK) IsClientError() bool
- func (o *ReadProviderOK) IsCode(code int) bool
- func (o *ReadProviderOK) IsRedirect() bool
- func (o *ReadProviderOK) IsServerError() bool
- func (o *ReadProviderOK) IsSuccess() bool
- func (o *ReadProviderOK) String() string
- type ReadProviderParams
- func (o *ReadProviderParams) SetBox(box string)
- func (o *ReadProviderParams) SetContext(ctx context.Context)
- func (o *ReadProviderParams) SetDefaults()
- func (o *ReadProviderParams) SetHTTPClient(client *http.Client)
- func (o *ReadProviderParams) SetProvider(provider string)
- func (o *ReadProviderParams) SetRegistry(registry string)
- func (o *ReadProviderParams) SetTimeout(timeout time.Duration)
- func (o *ReadProviderParams) SetVersion(version string)
- func (o *ReadProviderParams) WithBox(box string) *ReadProviderParams
- func (o *ReadProviderParams) WithContext(ctx context.Context) *ReadProviderParams
- func (o *ReadProviderParams) WithDefaults() *ReadProviderParams
- func (o *ReadProviderParams) WithHTTPClient(client *http.Client) *ReadProviderParams
- func (o *ReadProviderParams) WithProvider(provider string) *ReadProviderParams
- func (o *ReadProviderParams) WithRegistry(registry string) *ReadProviderParams
- func (o *ReadProviderParams) WithTimeout(timeout time.Duration) *ReadProviderParams
- func (o *ReadProviderParams) WithVersion(version string) *ReadProviderParams
- func (o *ReadProviderParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ReadProviderReader
- type UpdateProviderBody
- type UpdateProviderDefault
- func (o *UpdateProviderDefault) Code() int
- func (o *UpdateProviderDefault) Error() string
- func (o *UpdateProviderDefault) GetPayload() *cloud.GoogleRPCStatus
- func (o *UpdateProviderDefault) IsClientError() bool
- func (o *UpdateProviderDefault) IsCode(code int) bool
- func (o *UpdateProviderDefault) IsRedirect() bool
- func (o *UpdateProviderDefault) IsServerError() bool
- func (o *UpdateProviderDefault) IsSuccess() bool
- func (o *UpdateProviderDefault) String() string
- type UpdateProviderOK
- func (o *UpdateProviderOK) Code() int
- func (o *UpdateProviderOK) Error() string
- func (o *UpdateProviderOK) GetPayload() *models.HashicorpCloudVagrant20220930UpdateProviderResponse
- func (o *UpdateProviderOK) IsClientError() bool
- func (o *UpdateProviderOK) IsCode(code int) bool
- func (o *UpdateProviderOK) IsRedirect() bool
- func (o *UpdateProviderOK) IsServerError() bool
- func (o *UpdateProviderOK) IsSuccess() bool
- func (o *UpdateProviderOK) String() string
- type UpdateProviderParams
- func NewUpdateProviderParams() *UpdateProviderParams
- func NewUpdateProviderParamsWithContext(ctx context.Context) *UpdateProviderParams
- func NewUpdateProviderParamsWithHTTPClient(client *http.Client) *UpdateProviderParams
- func NewUpdateProviderParamsWithTimeout(timeout time.Duration) *UpdateProviderParams
- func (o *UpdateProviderParams) SetBody(body UpdateProviderBody)
- func (o *UpdateProviderParams) SetBox(box string)
- func (o *UpdateProviderParams) SetContext(ctx context.Context)
- func (o *UpdateProviderParams) SetDefaults()
- func (o *UpdateProviderParams) SetHTTPClient(client *http.Client)
- func (o *UpdateProviderParams) SetProvider(provider string)
- func (o *UpdateProviderParams) SetRegistry(registry string)
- func (o *UpdateProviderParams) SetTimeout(timeout time.Duration)
- func (o *UpdateProviderParams) SetVersion(version string)
- func (o *UpdateProviderParams) WithBody(body UpdateProviderBody) *UpdateProviderParams
- func (o *UpdateProviderParams) WithBox(box string) *UpdateProviderParams
- func (o *UpdateProviderParams) WithContext(ctx context.Context) *UpdateProviderParams
- func (o *UpdateProviderParams) WithDefaults() *UpdateProviderParams
- func (o *UpdateProviderParams) WithHTTPClient(client *http.Client) *UpdateProviderParams
- func (o *UpdateProviderParams) WithProvider(provider string) *UpdateProviderParams
- func (o *UpdateProviderParams) WithRegistry(registry string) *UpdateProviderParams
- func (o *UpdateProviderParams) WithTimeout(timeout time.Duration) *UpdateProviderParams
- func (o *UpdateProviderParams) WithVersion(version string) *UpdateProviderParams
- func (o *UpdateProviderParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateProviderReader
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 provider service API
func (*Client) CreateProvider ¶
func (a *Client) CreateProvider(params *CreateProviderParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateProviderOK, error)
CreateProvider creates provider creates a provider in the specified version
func (*Client) DeleteProvider ¶
func (a *Client) DeleteProvider(params *DeleteProviderParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteProviderOK, error)
DeleteProvider deletes provider deletes a provider note that this deletes any data associated with a hosted provider so use with care
func (*Client) GetProvider ¶
func (a *Client) GetProvider(params *GetProviderParams, opts ...ClientOption) (*GetProviderOK, error)
GetProvider gets provider fetches a provider for the specified version n o t e this is deprecated and should be removed once confirmed the UI is not longer using it
func (*Client) ListProviders ¶
func (a *Client) ListProviders(params *ListProvidersParams, opts ...ClientOption) (*ListProvidersOK, error)
ListProviders lists providers lists all providers within a version
func (*Client) ReadProvider ¶ added in v0.95.0
func (a *Client) ReadProvider(params *ReadProviderParams, opts ...ClientOption) (*ReadProviderOK, error)
ReadProvider reads provider fetches a provider for the specified version
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateProvider ¶
func (a *Client) UpdateProvider(params *UpdateProviderParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateProviderOK, error)
UpdateProvider updates provider updates details about a specified provider Note that you don't use this to upload data to Hosted Providers, to do
that, use the Upload method.
type ClientOption ¶ added in v0.23.0
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { CreateProvider(params *CreateProviderParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateProviderOK, error) DeleteProvider(params *DeleteProviderParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteProviderOK, error) GetProvider(params *GetProviderParams, opts ...ClientOption) (*GetProviderOK, error) ListProviders(params *ListProvidersParams, opts ...ClientOption) (*ListProvidersOK, error) ReadProvider(params *ReadProviderParams, opts ...ClientOption) (*ReadProviderOK, error) UpdateProvider(params *UpdateProviderParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateProviderOK, 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 provider service API client.
type CreateProviderBody ¶ added in v0.95.0
type CreateProviderBody struct { // Details of the Provider to create. Data *models.HashicorpCloudVagrant20220930Provider `json:"data,omitempty"` }
CreateProviderBody create provider body swagger:model CreateProviderBody
func (*CreateProviderBody) ContextValidate ¶ added in v0.95.0
ContextValidate validate this create provider body based on the context it is used
func (*CreateProviderBody) MarshalBinary ¶ added in v0.95.0
func (o *CreateProviderBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateProviderBody) UnmarshalBinary ¶ added in v0.95.0
func (o *CreateProviderBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateProviderDefault ¶ added in v0.95.0
type CreateProviderDefault struct { Payload *cloud.GoogleRPCStatus // contains filtered or unexported fields }
CreateProviderDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewCreateProviderDefault ¶ added in v0.95.0
func NewCreateProviderDefault(code int) *CreateProviderDefault
NewCreateProviderDefault creates a CreateProviderDefault with default headers values
func (*CreateProviderDefault) Code ¶ added in v0.95.0
func (o *CreateProviderDefault) Code() int
Code gets the status code for the create provider default response
func (*CreateProviderDefault) Error ¶ added in v0.95.0
func (o *CreateProviderDefault) Error() string
func (*CreateProviderDefault) GetPayload ¶ added in v0.95.0
func (o *CreateProviderDefault) GetPayload() *cloud.GoogleRPCStatus
func (*CreateProviderDefault) IsClientError ¶ added in v0.95.0
func (o *CreateProviderDefault) IsClientError() bool
IsClientError returns true when this create provider default response has a 4xx status code
func (*CreateProviderDefault) IsCode ¶ added in v0.95.0
func (o *CreateProviderDefault) IsCode(code int) bool
IsCode returns true when this create provider default response a status code equal to that given
func (*CreateProviderDefault) IsRedirect ¶ added in v0.95.0
func (o *CreateProviderDefault) IsRedirect() bool
IsRedirect returns true when this create provider default response has a 3xx status code
func (*CreateProviderDefault) IsServerError ¶ added in v0.95.0
func (o *CreateProviderDefault) IsServerError() bool
IsServerError returns true when this create provider default response has a 5xx status code
func (*CreateProviderDefault) IsSuccess ¶ added in v0.95.0
func (o *CreateProviderDefault) IsSuccess() bool
IsSuccess returns true when this create provider default response has a 2xx status code
func (*CreateProviderDefault) String ¶ added in v0.95.0
func (o *CreateProviderDefault) String() string
type CreateProviderOK ¶
type CreateProviderOK struct {
Payload *models.HashicorpCloudVagrant20220930CreateProviderResponse
}
CreateProviderOK describes a response with status code 200, with default header values.
A successful response.
func NewCreateProviderOK ¶
func NewCreateProviderOK() *CreateProviderOK
NewCreateProviderOK creates a CreateProviderOK with default headers values
func (*CreateProviderOK) Code ¶ added in v0.95.0
func (o *CreateProviderOK) Code() int
Code gets the status code for the create provider o k response
func (*CreateProviderOK) Error ¶
func (o *CreateProviderOK) Error() string
func (*CreateProviderOK) GetPayload ¶
func (o *CreateProviderOK) GetPayload() *models.HashicorpCloudVagrant20220930CreateProviderResponse
func (*CreateProviderOK) IsClientError ¶ added in v0.23.0
func (o *CreateProviderOK) IsClientError() bool
IsClientError returns true when this create provider o k response has a 4xx status code
func (*CreateProviderOK) IsCode ¶ added in v0.23.0
func (o *CreateProviderOK) IsCode(code int) bool
IsCode returns true when this create provider o k response a status code equal to that given
func (*CreateProviderOK) IsRedirect ¶ added in v0.23.0
func (o *CreateProviderOK) IsRedirect() bool
IsRedirect returns true when this create provider o k response has a 3xx status code
func (*CreateProviderOK) IsServerError ¶ added in v0.23.0
func (o *CreateProviderOK) IsServerError() bool
IsServerError returns true when this create provider o k response has a 5xx status code
func (*CreateProviderOK) IsSuccess ¶ added in v0.23.0
func (o *CreateProviderOK) IsSuccess() bool
IsSuccess returns true when this create provider o k response has a 2xx status code
func (*CreateProviderOK) String ¶ added in v0.23.0
func (o *CreateProviderOK) String() string
type CreateProviderParams ¶
type CreateProviderParams struct { // Body. Body CreateProviderBody /* Box. The name segment of the Box. As an example, this field would represent the "vagrant" in "hashicorp/vagrant". */ Box string /* Registry. The Registry segment of the Box. As an example, this field would represent the "hashicorp" in "hashicorp/vagrant". */ Registry string /* Version. The name of the Version to create the Provider in. */ Version string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateProviderParams contains all the parameters to send to the API endpoint
for the create provider operation. Typically these are written to a http.Request.
func NewCreateProviderParams ¶
func NewCreateProviderParams() *CreateProviderParams
NewCreateProviderParams creates a new CreateProviderParams 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 NewCreateProviderParamsWithContext ¶
func NewCreateProviderParamsWithContext(ctx context.Context) *CreateProviderParams
NewCreateProviderParamsWithContext creates a new CreateProviderParams object with the ability to set a context for a request.
func NewCreateProviderParamsWithHTTPClient ¶
func NewCreateProviderParamsWithHTTPClient(client *http.Client) *CreateProviderParams
NewCreateProviderParamsWithHTTPClient creates a new CreateProviderParams object with the ability to set a custom HTTPClient for a request.
func NewCreateProviderParamsWithTimeout ¶
func NewCreateProviderParamsWithTimeout(timeout time.Duration) *CreateProviderParams
NewCreateProviderParamsWithTimeout creates a new CreateProviderParams object with the ability to set a timeout on a request.
func (*CreateProviderParams) SetBody ¶
func (o *CreateProviderParams) SetBody(body CreateProviderBody)
SetBody adds the body to the create provider params
func (*CreateProviderParams) SetBox ¶
func (o *CreateProviderParams) SetBox(box string)
SetBox adds the box to the create provider params
func (*CreateProviderParams) SetContext ¶
func (o *CreateProviderParams) SetContext(ctx context.Context)
SetContext adds the context to the create provider params
func (*CreateProviderParams) SetDefaults ¶ added in v0.23.0
func (o *CreateProviderParams) SetDefaults()
SetDefaults hydrates default values in the create provider params (not the query body).
All values with no default are reset to their zero value.
func (*CreateProviderParams) SetHTTPClient ¶
func (o *CreateProviderParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create provider params
func (*CreateProviderParams) SetRegistry ¶
func (o *CreateProviderParams) SetRegistry(registry string)
SetRegistry adds the registry to the create provider params
func (*CreateProviderParams) SetTimeout ¶
func (o *CreateProviderParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create provider params
func (*CreateProviderParams) SetVersion ¶
func (o *CreateProviderParams) SetVersion(version string)
SetVersion adds the version to the create provider params
func (*CreateProviderParams) WithBody ¶
func (o *CreateProviderParams) WithBody(body CreateProviderBody) *CreateProviderParams
WithBody adds the body to the create provider params
func (*CreateProviderParams) WithBox ¶
func (o *CreateProviderParams) WithBox(box string) *CreateProviderParams
WithBox adds the box to the create provider params
func (*CreateProviderParams) WithContext ¶
func (o *CreateProviderParams) WithContext(ctx context.Context) *CreateProviderParams
WithContext adds the context to the create provider params
func (*CreateProviderParams) WithDefaults ¶ added in v0.23.0
func (o *CreateProviderParams) WithDefaults() *CreateProviderParams
WithDefaults hydrates default values in the create provider params (not the query body).
All values with no default are reset to their zero value.
func (*CreateProviderParams) WithHTTPClient ¶
func (o *CreateProviderParams) WithHTTPClient(client *http.Client) *CreateProviderParams
WithHTTPClient adds the HTTPClient to the create provider params
func (*CreateProviderParams) WithRegistry ¶
func (o *CreateProviderParams) WithRegistry(registry string) *CreateProviderParams
WithRegistry adds the registry to the create provider params
func (*CreateProviderParams) WithTimeout ¶
func (o *CreateProviderParams) WithTimeout(timeout time.Duration) *CreateProviderParams
WithTimeout adds the timeout to the create provider params
func (*CreateProviderParams) WithVersion ¶
func (o *CreateProviderParams) WithVersion(version string) *CreateProviderParams
WithVersion adds the version to the create provider params
func (*CreateProviderParams) WriteToRequest ¶
func (o *CreateProviderParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateProviderReader ¶
type CreateProviderReader struct {
// contains filtered or unexported fields
}
CreateProviderReader is a Reader for the CreateProvider structure.
func (*CreateProviderReader) ReadResponse ¶
func (o *CreateProviderReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteProviderDefault ¶ added in v0.95.0
type DeleteProviderDefault struct { Payload *cloud.GoogleRPCStatus // contains filtered or unexported fields }
DeleteProviderDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewDeleteProviderDefault ¶ added in v0.95.0
func NewDeleteProviderDefault(code int) *DeleteProviderDefault
NewDeleteProviderDefault creates a DeleteProviderDefault with default headers values
func (*DeleteProviderDefault) Code ¶ added in v0.95.0
func (o *DeleteProviderDefault) Code() int
Code gets the status code for the delete provider default response
func (*DeleteProviderDefault) Error ¶ added in v0.95.0
func (o *DeleteProviderDefault) Error() string
func (*DeleteProviderDefault) GetPayload ¶ added in v0.95.0
func (o *DeleteProviderDefault) GetPayload() *cloud.GoogleRPCStatus
func (*DeleteProviderDefault) IsClientError ¶ added in v0.95.0
func (o *DeleteProviderDefault) IsClientError() bool
IsClientError returns true when this delete provider default response has a 4xx status code
func (*DeleteProviderDefault) IsCode ¶ added in v0.95.0
func (o *DeleteProviderDefault) IsCode(code int) bool
IsCode returns true when this delete provider default response a status code equal to that given
func (*DeleteProviderDefault) IsRedirect ¶ added in v0.95.0
func (o *DeleteProviderDefault) IsRedirect() bool
IsRedirect returns true when this delete provider default response has a 3xx status code
func (*DeleteProviderDefault) IsServerError ¶ added in v0.95.0
func (o *DeleteProviderDefault) IsServerError() bool
IsServerError returns true when this delete provider default response has a 5xx status code
func (*DeleteProviderDefault) IsSuccess ¶ added in v0.95.0
func (o *DeleteProviderDefault) IsSuccess() bool
IsSuccess returns true when this delete provider default response has a 2xx status code
func (*DeleteProviderDefault) String ¶ added in v0.95.0
func (o *DeleteProviderDefault) String() string
type DeleteProviderOK ¶
type DeleteProviderOK struct {
Payload models.HashicorpCloudVagrant20220930DeleteProviderResponse
}
DeleteProviderOK describes a response with status code 200, with default header values.
A successful response.
func NewDeleteProviderOK ¶
func NewDeleteProviderOK() *DeleteProviderOK
NewDeleteProviderOK creates a DeleteProviderOK with default headers values
func (*DeleteProviderOK) Code ¶ added in v0.95.0
func (o *DeleteProviderOK) Code() int
Code gets the status code for the delete provider o k response
func (*DeleteProviderOK) Error ¶
func (o *DeleteProviderOK) Error() string
func (*DeleteProviderOK) GetPayload ¶
func (o *DeleteProviderOK) GetPayload() models.HashicorpCloudVagrant20220930DeleteProviderResponse
func (*DeleteProviderOK) IsClientError ¶ added in v0.23.0
func (o *DeleteProviderOK) IsClientError() bool
IsClientError returns true when this delete provider o k response has a 4xx status code
func (*DeleteProviderOK) IsCode ¶ added in v0.23.0
func (o *DeleteProviderOK) IsCode(code int) bool
IsCode returns true when this delete provider o k response a status code equal to that given
func (*DeleteProviderOK) IsRedirect ¶ added in v0.23.0
func (o *DeleteProviderOK) IsRedirect() bool
IsRedirect returns true when this delete provider o k response has a 3xx status code
func (*DeleteProviderOK) IsServerError ¶ added in v0.23.0
func (o *DeleteProviderOK) IsServerError() bool
IsServerError returns true when this delete provider o k response has a 5xx status code
func (*DeleteProviderOK) IsSuccess ¶ added in v0.23.0
func (o *DeleteProviderOK) IsSuccess() bool
IsSuccess returns true when this delete provider o k response has a 2xx status code
func (*DeleteProviderOK) String ¶ added in v0.23.0
func (o *DeleteProviderOK) String() string
type DeleteProviderParams ¶
type DeleteProviderParams struct { /* Box. The name segment of the Box. As an example, this field would represent the "vagrant" in "hashicorp/vagrant". */ Box string /* Provider. The name of the Provider. */ Provider string /* Registry. The Registry segment of the Box. As an example, this field would represent the "hashicorp" in "hashicorp/vagrant". */ Registry string /* Version. The name of the Version for the Provider. */ Version string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteProviderParams contains all the parameters to send to the API endpoint
for the delete provider operation. Typically these are written to a http.Request.
func NewDeleteProviderParams ¶
func NewDeleteProviderParams() *DeleteProviderParams
NewDeleteProviderParams creates a new DeleteProviderParams 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 NewDeleteProviderParamsWithContext ¶
func NewDeleteProviderParamsWithContext(ctx context.Context) *DeleteProviderParams
NewDeleteProviderParamsWithContext creates a new DeleteProviderParams object with the ability to set a context for a request.
func NewDeleteProviderParamsWithHTTPClient ¶
func NewDeleteProviderParamsWithHTTPClient(client *http.Client) *DeleteProviderParams
NewDeleteProviderParamsWithHTTPClient creates a new DeleteProviderParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteProviderParamsWithTimeout ¶
func NewDeleteProviderParamsWithTimeout(timeout time.Duration) *DeleteProviderParams
NewDeleteProviderParamsWithTimeout creates a new DeleteProviderParams object with the ability to set a timeout on a request.
func (*DeleteProviderParams) SetBox ¶
func (o *DeleteProviderParams) SetBox(box string)
SetBox adds the box to the delete provider params
func (*DeleteProviderParams) SetContext ¶
func (o *DeleteProviderParams) SetContext(ctx context.Context)
SetContext adds the context to the delete provider params
func (*DeleteProviderParams) SetDefaults ¶ added in v0.23.0
func (o *DeleteProviderParams) SetDefaults()
SetDefaults hydrates default values in the delete provider params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteProviderParams) SetHTTPClient ¶
func (o *DeleteProviderParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete provider params
func (*DeleteProviderParams) SetProvider ¶
func (o *DeleteProviderParams) SetProvider(provider string)
SetProvider adds the provider to the delete provider params
func (*DeleteProviderParams) SetRegistry ¶
func (o *DeleteProviderParams) SetRegistry(registry string)
SetRegistry adds the registry to the delete provider params
func (*DeleteProviderParams) SetTimeout ¶
func (o *DeleteProviderParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete provider params
func (*DeleteProviderParams) SetVersion ¶
func (o *DeleteProviderParams) SetVersion(version string)
SetVersion adds the version to the delete provider params
func (*DeleteProviderParams) WithBox ¶
func (o *DeleteProviderParams) WithBox(box string) *DeleteProviderParams
WithBox adds the box to the delete provider params
func (*DeleteProviderParams) WithContext ¶
func (o *DeleteProviderParams) WithContext(ctx context.Context) *DeleteProviderParams
WithContext adds the context to the delete provider params
func (*DeleteProviderParams) WithDefaults ¶ added in v0.23.0
func (o *DeleteProviderParams) WithDefaults() *DeleteProviderParams
WithDefaults hydrates default values in the delete provider params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteProviderParams) WithHTTPClient ¶
func (o *DeleteProviderParams) WithHTTPClient(client *http.Client) *DeleteProviderParams
WithHTTPClient adds the HTTPClient to the delete provider params
func (*DeleteProviderParams) WithProvider ¶
func (o *DeleteProviderParams) WithProvider(provider string) *DeleteProviderParams
WithProvider adds the provider to the delete provider params
func (*DeleteProviderParams) WithRegistry ¶
func (o *DeleteProviderParams) WithRegistry(registry string) *DeleteProviderParams
WithRegistry adds the registry to the delete provider params
func (*DeleteProviderParams) WithTimeout ¶
func (o *DeleteProviderParams) WithTimeout(timeout time.Duration) *DeleteProviderParams
WithTimeout adds the timeout to the delete provider params
func (*DeleteProviderParams) WithVersion ¶
func (o *DeleteProviderParams) WithVersion(version string) *DeleteProviderParams
WithVersion adds the version to the delete provider params
func (*DeleteProviderParams) WriteToRequest ¶
func (o *DeleteProviderParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteProviderReader ¶
type DeleteProviderReader struct {
// contains filtered or unexported fields
}
DeleteProviderReader is a Reader for the DeleteProvider structure.
func (*DeleteProviderReader) ReadResponse ¶
func (o *DeleteProviderReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetProviderDefault ¶ added in v0.95.0
type GetProviderDefault struct { Payload *cloud.GoogleRPCStatus // contains filtered or unexported fields }
GetProviderDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewGetProviderDefault ¶ added in v0.95.0
func NewGetProviderDefault(code int) *GetProviderDefault
NewGetProviderDefault creates a GetProviderDefault with default headers values
func (*GetProviderDefault) Code ¶ added in v0.95.0
func (o *GetProviderDefault) Code() int
Code gets the status code for the get provider default response
func (*GetProviderDefault) Error ¶ added in v0.95.0
func (o *GetProviderDefault) Error() string
func (*GetProviderDefault) GetPayload ¶ added in v0.95.0
func (o *GetProviderDefault) GetPayload() *cloud.GoogleRPCStatus
func (*GetProviderDefault) IsClientError ¶ added in v0.95.0
func (o *GetProviderDefault) IsClientError() bool
IsClientError returns true when this get provider default response has a 4xx status code
func (*GetProviderDefault) IsCode ¶ added in v0.95.0
func (o *GetProviderDefault) IsCode(code int) bool
IsCode returns true when this get provider default response a status code equal to that given
func (*GetProviderDefault) IsRedirect ¶ added in v0.95.0
func (o *GetProviderDefault) IsRedirect() bool
IsRedirect returns true when this get provider default response has a 3xx status code
func (*GetProviderDefault) IsServerError ¶ added in v0.95.0
func (o *GetProviderDefault) IsServerError() bool
IsServerError returns true when this get provider default response has a 5xx status code
func (*GetProviderDefault) IsSuccess ¶ added in v0.95.0
func (o *GetProviderDefault) IsSuccess() bool
IsSuccess returns true when this get provider default response has a 2xx status code
func (*GetProviderDefault) String ¶ added in v0.95.0
func (o *GetProviderDefault) String() string
type GetProviderOK ¶
type GetProviderOK struct {
Payload *models.HashicorpCloudVagrant20220930GetProviderResponse
}
GetProviderOK describes a response with status code 200, with default header values.
A successful response.
func NewGetProviderOK ¶
func NewGetProviderOK() *GetProviderOK
NewGetProviderOK creates a GetProviderOK with default headers values
func (*GetProviderOK) Code ¶ added in v0.95.0
func (o *GetProviderOK) Code() int
Code gets the status code for the get provider o k response
func (*GetProviderOK) Error ¶
func (o *GetProviderOK) Error() string
func (*GetProviderOK) GetPayload ¶
func (o *GetProviderOK) GetPayload() *models.HashicorpCloudVagrant20220930GetProviderResponse
func (*GetProviderOK) IsClientError ¶ added in v0.23.0
func (o *GetProviderOK) IsClientError() bool
IsClientError returns true when this get provider o k response has a 4xx status code
func (*GetProviderOK) IsCode ¶ added in v0.23.0
func (o *GetProviderOK) IsCode(code int) bool
IsCode returns true when this get provider o k response a status code equal to that given
func (*GetProviderOK) IsRedirect ¶ added in v0.23.0
func (o *GetProviderOK) IsRedirect() bool
IsRedirect returns true when this get provider o k response has a 3xx status code
func (*GetProviderOK) IsServerError ¶ added in v0.23.0
func (o *GetProviderOK) IsServerError() bool
IsServerError returns true when this get provider o k response has a 5xx status code
func (*GetProviderOK) IsSuccess ¶ added in v0.23.0
func (o *GetProviderOK) IsSuccess() bool
IsSuccess returns true when this get provider o k response has a 2xx status code
func (*GetProviderOK) String ¶ added in v0.23.0
func (o *GetProviderOK) String() string
type GetProviderParams ¶
type GetProviderParams struct { /* Box. The name segment of the Box. As an example, this field would represent the "vagrant" in "hashicorp/vagrant". */ Box string /* Provider. The name of the Provider. */ Provider string /* Registry. The Registry segment of the Box. As an example, this field would represent the "hashicorp" in "hashicorp/vagrant". */ Registry string /* Version. The name of the Version for the Provider. */ Version string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetProviderParams contains all the parameters to send to the API endpoint
for the get provider operation. Typically these are written to a http.Request.
func NewGetProviderParams ¶
func NewGetProviderParams() *GetProviderParams
NewGetProviderParams creates a new GetProviderParams 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 NewGetProviderParamsWithContext ¶
func NewGetProviderParamsWithContext(ctx context.Context) *GetProviderParams
NewGetProviderParamsWithContext creates a new GetProviderParams object with the ability to set a context for a request.
func NewGetProviderParamsWithHTTPClient ¶
func NewGetProviderParamsWithHTTPClient(client *http.Client) *GetProviderParams
NewGetProviderParamsWithHTTPClient creates a new GetProviderParams object with the ability to set a custom HTTPClient for a request.
func NewGetProviderParamsWithTimeout ¶
func NewGetProviderParamsWithTimeout(timeout time.Duration) *GetProviderParams
NewGetProviderParamsWithTimeout creates a new GetProviderParams object with the ability to set a timeout on a request.
func (*GetProviderParams) SetBox ¶
func (o *GetProviderParams) SetBox(box string)
SetBox adds the box to the get provider params
func (*GetProviderParams) SetContext ¶
func (o *GetProviderParams) SetContext(ctx context.Context)
SetContext adds the context to the get provider params
func (*GetProviderParams) SetDefaults ¶ added in v0.23.0
func (o *GetProviderParams) SetDefaults()
SetDefaults hydrates default values in the get provider params (not the query body).
All values with no default are reset to their zero value.
func (*GetProviderParams) SetHTTPClient ¶
func (o *GetProviderParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get provider params
func (*GetProviderParams) SetProvider ¶
func (o *GetProviderParams) SetProvider(provider string)
SetProvider adds the provider to the get provider params
func (*GetProviderParams) SetRegistry ¶
func (o *GetProviderParams) SetRegistry(registry string)
SetRegistry adds the registry to the get provider params
func (*GetProviderParams) SetTimeout ¶
func (o *GetProviderParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get provider params
func (*GetProviderParams) SetVersion ¶
func (o *GetProviderParams) SetVersion(version string)
SetVersion adds the version to the get provider params
func (*GetProviderParams) WithBox ¶
func (o *GetProviderParams) WithBox(box string) *GetProviderParams
WithBox adds the box to the get provider params
func (*GetProviderParams) WithContext ¶
func (o *GetProviderParams) WithContext(ctx context.Context) *GetProviderParams
WithContext adds the context to the get provider params
func (*GetProviderParams) WithDefaults ¶ added in v0.23.0
func (o *GetProviderParams) WithDefaults() *GetProviderParams
WithDefaults hydrates default values in the get provider params (not the query body).
All values with no default are reset to their zero value.
func (*GetProviderParams) WithHTTPClient ¶
func (o *GetProviderParams) WithHTTPClient(client *http.Client) *GetProviderParams
WithHTTPClient adds the HTTPClient to the get provider params
func (*GetProviderParams) WithProvider ¶
func (o *GetProviderParams) WithProvider(provider string) *GetProviderParams
WithProvider adds the provider to the get provider params
func (*GetProviderParams) WithRegistry ¶
func (o *GetProviderParams) WithRegistry(registry string) *GetProviderParams
WithRegistry adds the registry to the get provider params
func (*GetProviderParams) WithTimeout ¶
func (o *GetProviderParams) WithTimeout(timeout time.Duration) *GetProviderParams
WithTimeout adds the timeout to the get provider params
func (*GetProviderParams) WithVersion ¶
func (o *GetProviderParams) WithVersion(version string) *GetProviderParams
WithVersion adds the version to the get provider params
func (*GetProviderParams) WriteToRequest ¶
func (o *GetProviderParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetProviderReader ¶
type GetProviderReader struct {
// contains filtered or unexported fields
}
GetProviderReader is a Reader for the GetProvider structure.
func (*GetProviderReader) ReadResponse ¶
func (o *GetProviderReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListProvidersDefault ¶ added in v0.95.0
type ListProvidersDefault struct { Payload *cloud.GoogleRPCStatus // contains filtered or unexported fields }
ListProvidersDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewListProvidersDefault ¶ added in v0.95.0
func NewListProvidersDefault(code int) *ListProvidersDefault
NewListProvidersDefault creates a ListProvidersDefault with default headers values
func (*ListProvidersDefault) Code ¶ added in v0.95.0
func (o *ListProvidersDefault) Code() int
Code gets the status code for the list providers default response
func (*ListProvidersDefault) Error ¶ added in v0.95.0
func (o *ListProvidersDefault) Error() string
func (*ListProvidersDefault) GetPayload ¶ added in v0.95.0
func (o *ListProvidersDefault) GetPayload() *cloud.GoogleRPCStatus
func (*ListProvidersDefault) IsClientError ¶ added in v0.95.0
func (o *ListProvidersDefault) IsClientError() bool
IsClientError returns true when this list providers default response has a 4xx status code
func (*ListProvidersDefault) IsCode ¶ added in v0.95.0
func (o *ListProvidersDefault) IsCode(code int) bool
IsCode returns true when this list providers default response a status code equal to that given
func (*ListProvidersDefault) IsRedirect ¶ added in v0.95.0
func (o *ListProvidersDefault) IsRedirect() bool
IsRedirect returns true when this list providers default response has a 3xx status code
func (*ListProvidersDefault) IsServerError ¶ added in v0.95.0
func (o *ListProvidersDefault) IsServerError() bool
IsServerError returns true when this list providers default response has a 5xx status code
func (*ListProvidersDefault) IsSuccess ¶ added in v0.95.0
func (o *ListProvidersDefault) IsSuccess() bool
IsSuccess returns true when this list providers default response has a 2xx status code
func (*ListProvidersDefault) String ¶ added in v0.95.0
func (o *ListProvidersDefault) String() string
type ListProvidersOK ¶
type ListProvidersOK struct {
Payload *models.HashicorpCloudVagrant20220930ListProvidersResponse
}
ListProvidersOK describes a response with status code 200, with default header values.
A successful response.
func NewListProvidersOK ¶
func NewListProvidersOK() *ListProvidersOK
NewListProvidersOK creates a ListProvidersOK with default headers values
func (*ListProvidersOK) Code ¶ added in v0.95.0
func (o *ListProvidersOK) Code() int
Code gets the status code for the list providers o k response
func (*ListProvidersOK) Error ¶
func (o *ListProvidersOK) Error() string
func (*ListProvidersOK) GetPayload ¶
func (o *ListProvidersOK) GetPayload() *models.HashicorpCloudVagrant20220930ListProvidersResponse
func (*ListProvidersOK) IsClientError ¶ added in v0.23.0
func (o *ListProvidersOK) IsClientError() bool
IsClientError returns true when this list providers o k response has a 4xx status code
func (*ListProvidersOK) IsCode ¶ added in v0.23.0
func (o *ListProvidersOK) IsCode(code int) bool
IsCode returns true when this list providers o k response a status code equal to that given
func (*ListProvidersOK) IsRedirect ¶ added in v0.23.0
func (o *ListProvidersOK) IsRedirect() bool
IsRedirect returns true when this list providers o k response has a 3xx status code
func (*ListProvidersOK) IsServerError ¶ added in v0.23.0
func (o *ListProvidersOK) IsServerError() bool
IsServerError returns true when this list providers o k response has a 5xx status code
func (*ListProvidersOK) IsSuccess ¶ added in v0.23.0
func (o *ListProvidersOK) IsSuccess() bool
IsSuccess returns true when this list providers o k response has a 2xx status code
func (*ListProvidersOK) String ¶ added in v0.23.0
func (o *ListProvidersOK) String() string
type ListProvidersParams ¶
type ListProvidersParams struct { /* Box. The name segment of the Box. As an example, this field would represent the "vagrant" in "hashicorp/vagrant". */ Box string /* PaginationNextPageToken. Specifies a page token to use to retrieve the next page. Set this to the `next_page_token` returned by previous list requests to get the next page of results. If set, `previous_page_token` must not be set. */ PaginationNextPageToken *string /* PaginationPageSize. The max number of results per page that should be returned. If the number of available results is larger than `page_size`, a `next_page_token` is returned which can be used to get the next page of results in subsequent requests. A value of zero will cause `page_size` to be defaulted. Format: int64 */ PaginationPageSize *int64 /* PaginationPreviousPageToken. Specifies a page token to use to retrieve the previous page. Set this to the `previous_page_token` returned by previous list requests to get the previous page of results. If set, `next_page_token` must not be set. */ PaginationPreviousPageToken *string /* Registry. The Registry segment of the Box. As an example, this field would represent the "hashicorp" in "hashicorp/vagrant". */ Registry string /* Version. The name of the Version to look up Providers in. */ Version string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListProvidersParams contains all the parameters to send to the API endpoint
for the list providers operation. Typically these are written to a http.Request.
func NewListProvidersParams ¶
func NewListProvidersParams() *ListProvidersParams
NewListProvidersParams creates a new ListProvidersParams 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 NewListProvidersParamsWithContext ¶
func NewListProvidersParamsWithContext(ctx context.Context) *ListProvidersParams
NewListProvidersParamsWithContext creates a new ListProvidersParams object with the ability to set a context for a request.
func NewListProvidersParamsWithHTTPClient ¶
func NewListProvidersParamsWithHTTPClient(client *http.Client) *ListProvidersParams
NewListProvidersParamsWithHTTPClient creates a new ListProvidersParams object with the ability to set a custom HTTPClient for a request.
func NewListProvidersParamsWithTimeout ¶
func NewListProvidersParamsWithTimeout(timeout time.Duration) *ListProvidersParams
NewListProvidersParamsWithTimeout creates a new ListProvidersParams object with the ability to set a timeout on a request.
func (*ListProvidersParams) SetBox ¶
func (o *ListProvidersParams) SetBox(box string)
SetBox adds the box to the list providers params
func (*ListProvidersParams) SetContext ¶
func (o *ListProvidersParams) SetContext(ctx context.Context)
SetContext adds the context to the list providers params
func (*ListProvidersParams) SetDefaults ¶ added in v0.23.0
func (o *ListProvidersParams) SetDefaults()
SetDefaults hydrates default values in the list providers params (not the query body).
All values with no default are reset to their zero value.
func (*ListProvidersParams) SetHTTPClient ¶
func (o *ListProvidersParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list providers params
func (*ListProvidersParams) SetPaginationNextPageToken ¶
func (o *ListProvidersParams) SetPaginationNextPageToken(paginationNextPageToken *string)
SetPaginationNextPageToken adds the paginationNextPageToken to the list providers params
func (*ListProvidersParams) SetPaginationPageSize ¶
func (o *ListProvidersParams) SetPaginationPageSize(paginationPageSize *int64)
SetPaginationPageSize adds the paginationPageSize to the list providers params
func (*ListProvidersParams) SetPaginationPreviousPageToken ¶
func (o *ListProvidersParams) SetPaginationPreviousPageToken(paginationPreviousPageToken *string)
SetPaginationPreviousPageToken adds the paginationPreviousPageToken to the list providers params
func (*ListProvidersParams) SetRegistry ¶
func (o *ListProvidersParams) SetRegistry(registry string)
SetRegistry adds the registry to the list providers params
func (*ListProvidersParams) SetTimeout ¶
func (o *ListProvidersParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list providers params
func (*ListProvidersParams) SetVersion ¶
func (o *ListProvidersParams) SetVersion(version string)
SetVersion adds the version to the list providers params
func (*ListProvidersParams) WithBox ¶
func (o *ListProvidersParams) WithBox(box string) *ListProvidersParams
WithBox adds the box to the list providers params
func (*ListProvidersParams) WithContext ¶
func (o *ListProvidersParams) WithContext(ctx context.Context) *ListProvidersParams
WithContext adds the context to the list providers params
func (*ListProvidersParams) WithDefaults ¶ added in v0.23.0
func (o *ListProvidersParams) WithDefaults() *ListProvidersParams
WithDefaults hydrates default values in the list providers params (not the query body).
All values with no default are reset to their zero value.
func (*ListProvidersParams) WithHTTPClient ¶
func (o *ListProvidersParams) WithHTTPClient(client *http.Client) *ListProvidersParams
WithHTTPClient adds the HTTPClient to the list providers params
func (*ListProvidersParams) WithPaginationNextPageToken ¶
func (o *ListProvidersParams) WithPaginationNextPageToken(paginationNextPageToken *string) *ListProvidersParams
WithPaginationNextPageToken adds the paginationNextPageToken to the list providers params
func (*ListProvidersParams) WithPaginationPageSize ¶
func (o *ListProvidersParams) WithPaginationPageSize(paginationPageSize *int64) *ListProvidersParams
WithPaginationPageSize adds the paginationPageSize to the list providers params
func (*ListProvidersParams) WithPaginationPreviousPageToken ¶
func (o *ListProvidersParams) WithPaginationPreviousPageToken(paginationPreviousPageToken *string) *ListProvidersParams
WithPaginationPreviousPageToken adds the paginationPreviousPageToken to the list providers params
func (*ListProvidersParams) WithRegistry ¶
func (o *ListProvidersParams) WithRegistry(registry string) *ListProvidersParams
WithRegistry adds the registry to the list providers params
func (*ListProvidersParams) WithTimeout ¶
func (o *ListProvidersParams) WithTimeout(timeout time.Duration) *ListProvidersParams
WithTimeout adds the timeout to the list providers params
func (*ListProvidersParams) WithVersion ¶
func (o *ListProvidersParams) WithVersion(version string) *ListProvidersParams
WithVersion adds the version to the list providers params
func (*ListProvidersParams) WriteToRequest ¶
func (o *ListProvidersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListProvidersReader ¶
type ListProvidersReader struct {
// contains filtered or unexported fields
}
ListProvidersReader is a Reader for the ListProviders structure.
func (*ListProvidersReader) ReadResponse ¶
func (o *ListProvidersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ReadProviderDefault ¶ added in v0.95.0
type ReadProviderDefault struct { Payload *cloud.GoogleRPCStatus // contains filtered or unexported fields }
ReadProviderDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewReadProviderDefault ¶ added in v0.95.0
func NewReadProviderDefault(code int) *ReadProviderDefault
NewReadProviderDefault creates a ReadProviderDefault with default headers values
func (*ReadProviderDefault) Code ¶ added in v0.95.0
func (o *ReadProviderDefault) Code() int
Code gets the status code for the read provider default response
func (*ReadProviderDefault) Error ¶ added in v0.95.0
func (o *ReadProviderDefault) Error() string
func (*ReadProviderDefault) GetPayload ¶ added in v0.95.0
func (o *ReadProviderDefault) GetPayload() *cloud.GoogleRPCStatus
func (*ReadProviderDefault) IsClientError ¶ added in v0.95.0
func (o *ReadProviderDefault) IsClientError() bool
IsClientError returns true when this read provider default response has a 4xx status code
func (*ReadProviderDefault) IsCode ¶ added in v0.95.0
func (o *ReadProviderDefault) IsCode(code int) bool
IsCode returns true when this read provider default response a status code equal to that given
func (*ReadProviderDefault) IsRedirect ¶ added in v0.95.0
func (o *ReadProviderDefault) IsRedirect() bool
IsRedirect returns true when this read provider default response has a 3xx status code
func (*ReadProviderDefault) IsServerError ¶ added in v0.95.0
func (o *ReadProviderDefault) IsServerError() bool
IsServerError returns true when this read provider default response has a 5xx status code
func (*ReadProviderDefault) IsSuccess ¶ added in v0.95.0
func (o *ReadProviderDefault) IsSuccess() bool
IsSuccess returns true when this read provider default response has a 2xx status code
func (*ReadProviderDefault) String ¶ added in v0.95.0
func (o *ReadProviderDefault) String() string
type ReadProviderOK ¶ added in v0.95.0
type ReadProviderOK struct {
Payload *models.HashicorpCloudVagrant20220930ReadProviderResponse
}
ReadProviderOK describes a response with status code 200, with default header values.
A successful response.
func NewReadProviderOK ¶ added in v0.95.0
func NewReadProviderOK() *ReadProviderOK
NewReadProviderOK creates a ReadProviderOK with default headers values
func (*ReadProviderOK) Code ¶ added in v0.95.0
func (o *ReadProviderOK) Code() int
Code gets the status code for the read provider o k response
func (*ReadProviderOK) Error ¶ added in v0.95.0
func (o *ReadProviderOK) Error() string
func (*ReadProviderOK) GetPayload ¶ added in v0.95.0
func (o *ReadProviderOK) GetPayload() *models.HashicorpCloudVagrant20220930ReadProviderResponse
func (*ReadProviderOK) IsClientError ¶ added in v0.95.0
func (o *ReadProviderOK) IsClientError() bool
IsClientError returns true when this read provider o k response has a 4xx status code
func (*ReadProviderOK) IsCode ¶ added in v0.95.0
func (o *ReadProviderOK) IsCode(code int) bool
IsCode returns true when this read provider o k response a status code equal to that given
func (*ReadProviderOK) IsRedirect ¶ added in v0.95.0
func (o *ReadProviderOK) IsRedirect() bool
IsRedirect returns true when this read provider o k response has a 3xx status code
func (*ReadProviderOK) IsServerError ¶ added in v0.95.0
func (o *ReadProviderOK) IsServerError() bool
IsServerError returns true when this read provider o k response has a 5xx status code
func (*ReadProviderOK) IsSuccess ¶ added in v0.95.0
func (o *ReadProviderOK) IsSuccess() bool
IsSuccess returns true when this read provider o k response has a 2xx status code
func (*ReadProviderOK) String ¶ added in v0.95.0
func (o *ReadProviderOK) String() string
type ReadProviderParams ¶ added in v0.95.0
type ReadProviderParams struct { /* Box. The name segment of the Box. As an example, this field would represent the "vagrant" in "hashicorp/vagrant". */ Box string /* Provider. The name of the Provider. */ Provider string /* Registry. The Registry segment of the Box. As an example, this field would represent the "hashicorp" in "hashicorp/vagrant". */ Registry string /* Version. The name of the Version for the Provider. */ Version string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ReadProviderParams contains all the parameters to send to the API endpoint
for the read provider operation. Typically these are written to a http.Request.
func NewReadProviderParams ¶ added in v0.95.0
func NewReadProviderParams() *ReadProviderParams
NewReadProviderParams creates a new ReadProviderParams 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 NewReadProviderParamsWithContext ¶ added in v0.95.0
func NewReadProviderParamsWithContext(ctx context.Context) *ReadProviderParams
NewReadProviderParamsWithContext creates a new ReadProviderParams object with the ability to set a context for a request.
func NewReadProviderParamsWithHTTPClient ¶ added in v0.95.0
func NewReadProviderParamsWithHTTPClient(client *http.Client) *ReadProviderParams
NewReadProviderParamsWithHTTPClient creates a new ReadProviderParams object with the ability to set a custom HTTPClient for a request.
func NewReadProviderParamsWithTimeout ¶ added in v0.95.0
func NewReadProviderParamsWithTimeout(timeout time.Duration) *ReadProviderParams
NewReadProviderParamsWithTimeout creates a new ReadProviderParams object with the ability to set a timeout on a request.
func (*ReadProviderParams) SetBox ¶ added in v0.95.0
func (o *ReadProviderParams) SetBox(box string)
SetBox adds the box to the read provider params
func (*ReadProviderParams) SetContext ¶ added in v0.95.0
func (o *ReadProviderParams) SetContext(ctx context.Context)
SetContext adds the context to the read provider params
func (*ReadProviderParams) SetDefaults ¶ added in v0.95.0
func (o *ReadProviderParams) SetDefaults()
SetDefaults hydrates default values in the read provider params (not the query body).
All values with no default are reset to their zero value.
func (*ReadProviderParams) SetHTTPClient ¶ added in v0.95.0
func (o *ReadProviderParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the read provider params
func (*ReadProviderParams) SetProvider ¶ added in v0.95.0
func (o *ReadProviderParams) SetProvider(provider string)
SetProvider adds the provider to the read provider params
func (*ReadProviderParams) SetRegistry ¶ added in v0.95.0
func (o *ReadProviderParams) SetRegistry(registry string)
SetRegistry adds the registry to the read provider params
func (*ReadProviderParams) SetTimeout ¶ added in v0.95.0
func (o *ReadProviderParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the read provider params
func (*ReadProviderParams) SetVersion ¶ added in v0.95.0
func (o *ReadProviderParams) SetVersion(version string)
SetVersion adds the version to the read provider params
func (*ReadProviderParams) WithBox ¶ added in v0.95.0
func (o *ReadProviderParams) WithBox(box string) *ReadProviderParams
WithBox adds the box to the read provider params
func (*ReadProviderParams) WithContext ¶ added in v0.95.0
func (o *ReadProviderParams) WithContext(ctx context.Context) *ReadProviderParams
WithContext adds the context to the read provider params
func (*ReadProviderParams) WithDefaults ¶ added in v0.95.0
func (o *ReadProviderParams) WithDefaults() *ReadProviderParams
WithDefaults hydrates default values in the read provider params (not the query body).
All values with no default are reset to their zero value.
func (*ReadProviderParams) WithHTTPClient ¶ added in v0.95.0
func (o *ReadProviderParams) WithHTTPClient(client *http.Client) *ReadProviderParams
WithHTTPClient adds the HTTPClient to the read provider params
func (*ReadProviderParams) WithProvider ¶ added in v0.95.0
func (o *ReadProviderParams) WithProvider(provider string) *ReadProviderParams
WithProvider adds the provider to the read provider params
func (*ReadProviderParams) WithRegistry ¶ added in v0.95.0
func (o *ReadProviderParams) WithRegistry(registry string) *ReadProviderParams
WithRegistry adds the registry to the read provider params
func (*ReadProviderParams) WithTimeout ¶ added in v0.95.0
func (o *ReadProviderParams) WithTimeout(timeout time.Duration) *ReadProviderParams
WithTimeout adds the timeout to the read provider params
func (*ReadProviderParams) WithVersion ¶ added in v0.95.0
func (o *ReadProviderParams) WithVersion(version string) *ReadProviderParams
WithVersion adds the version to the read provider params
func (*ReadProviderParams) WriteToRequest ¶ added in v0.95.0
func (o *ReadProviderParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ReadProviderReader ¶ added in v0.95.0
type ReadProviderReader struct {
// contains filtered or unexported fields
}
ReadProviderReader is a Reader for the ReadProvider structure.
func (*ReadProviderReader) ReadResponse ¶ added in v0.95.0
func (o *ReadProviderReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateProviderBody ¶ added in v0.95.0
type UpdateProviderBody struct { // Details of the Provider to update. Note that some fields are ignored on // input and should not be set. Data *models.HashicorpCloudVagrant20220930Provider `json:"data,omitempty"` }
UpdateProviderBody update provider body swagger:model UpdateProviderBody
func (*UpdateProviderBody) ContextValidate ¶ added in v0.95.0
ContextValidate validate this update provider body based on the context it is used
func (*UpdateProviderBody) MarshalBinary ¶ added in v0.95.0
func (o *UpdateProviderBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateProviderBody) UnmarshalBinary ¶ added in v0.95.0
func (o *UpdateProviderBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateProviderDefault ¶ added in v0.95.0
type UpdateProviderDefault struct { Payload *cloud.GoogleRPCStatus // contains filtered or unexported fields }
UpdateProviderDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewUpdateProviderDefault ¶ added in v0.95.0
func NewUpdateProviderDefault(code int) *UpdateProviderDefault
NewUpdateProviderDefault creates a UpdateProviderDefault with default headers values
func (*UpdateProviderDefault) Code ¶ added in v0.95.0
func (o *UpdateProviderDefault) Code() int
Code gets the status code for the update provider default response
func (*UpdateProviderDefault) Error ¶ added in v0.95.0
func (o *UpdateProviderDefault) Error() string
func (*UpdateProviderDefault) GetPayload ¶ added in v0.95.0
func (o *UpdateProviderDefault) GetPayload() *cloud.GoogleRPCStatus
func (*UpdateProviderDefault) IsClientError ¶ added in v0.95.0
func (o *UpdateProviderDefault) IsClientError() bool
IsClientError returns true when this update provider default response has a 4xx status code
func (*UpdateProviderDefault) IsCode ¶ added in v0.95.0
func (o *UpdateProviderDefault) IsCode(code int) bool
IsCode returns true when this update provider default response a status code equal to that given
func (*UpdateProviderDefault) IsRedirect ¶ added in v0.95.0
func (o *UpdateProviderDefault) IsRedirect() bool
IsRedirect returns true when this update provider default response has a 3xx status code
func (*UpdateProviderDefault) IsServerError ¶ added in v0.95.0
func (o *UpdateProviderDefault) IsServerError() bool
IsServerError returns true when this update provider default response has a 5xx status code
func (*UpdateProviderDefault) IsSuccess ¶ added in v0.95.0
func (o *UpdateProviderDefault) IsSuccess() bool
IsSuccess returns true when this update provider default response has a 2xx status code
func (*UpdateProviderDefault) String ¶ added in v0.95.0
func (o *UpdateProviderDefault) String() string
type UpdateProviderOK ¶
type UpdateProviderOK struct {
Payload *models.HashicorpCloudVagrant20220930UpdateProviderResponse
}
UpdateProviderOK describes a response with status code 200, with default header values.
A successful response.
func NewUpdateProviderOK ¶
func NewUpdateProviderOK() *UpdateProviderOK
NewUpdateProviderOK creates a UpdateProviderOK with default headers values
func (*UpdateProviderOK) Code ¶ added in v0.95.0
func (o *UpdateProviderOK) Code() int
Code gets the status code for the update provider o k response
func (*UpdateProviderOK) Error ¶
func (o *UpdateProviderOK) Error() string
func (*UpdateProviderOK) GetPayload ¶
func (o *UpdateProviderOK) GetPayload() *models.HashicorpCloudVagrant20220930UpdateProviderResponse
func (*UpdateProviderOK) IsClientError ¶ added in v0.23.0
func (o *UpdateProviderOK) IsClientError() bool
IsClientError returns true when this update provider o k response has a 4xx status code
func (*UpdateProviderOK) IsCode ¶ added in v0.23.0
func (o *UpdateProviderOK) IsCode(code int) bool
IsCode returns true when this update provider o k response a status code equal to that given
func (*UpdateProviderOK) IsRedirect ¶ added in v0.23.0
func (o *UpdateProviderOK) IsRedirect() bool
IsRedirect returns true when this update provider o k response has a 3xx status code
func (*UpdateProviderOK) IsServerError ¶ added in v0.23.0
func (o *UpdateProviderOK) IsServerError() bool
IsServerError returns true when this update provider o k response has a 5xx status code
func (*UpdateProviderOK) IsSuccess ¶ added in v0.23.0
func (o *UpdateProviderOK) IsSuccess() bool
IsSuccess returns true when this update provider o k response has a 2xx status code
func (*UpdateProviderOK) String ¶ added in v0.23.0
func (o *UpdateProviderOK) String() string
type UpdateProviderParams ¶
type UpdateProviderParams struct { // Body. Body UpdateProviderBody /* Box. The name segment of the Box. As an example, this field would represent the "vagrant" in "hashicorp/vagrant". */ Box string /* Provider. The name of the Provider. */ Provider string /* Registry. The Registry segment of the Box. As an example, this field would represent the "hashicorp" in "hashicorp/vagrant". */ Registry string /* Version. The name of the Version for the Provider. */ Version string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateProviderParams contains all the parameters to send to the API endpoint
for the update provider operation. Typically these are written to a http.Request.
func NewUpdateProviderParams ¶
func NewUpdateProviderParams() *UpdateProviderParams
NewUpdateProviderParams creates a new UpdateProviderParams 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 NewUpdateProviderParamsWithContext ¶
func NewUpdateProviderParamsWithContext(ctx context.Context) *UpdateProviderParams
NewUpdateProviderParamsWithContext creates a new UpdateProviderParams object with the ability to set a context for a request.
func NewUpdateProviderParamsWithHTTPClient ¶
func NewUpdateProviderParamsWithHTTPClient(client *http.Client) *UpdateProviderParams
NewUpdateProviderParamsWithHTTPClient creates a new UpdateProviderParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateProviderParamsWithTimeout ¶
func NewUpdateProviderParamsWithTimeout(timeout time.Duration) *UpdateProviderParams
NewUpdateProviderParamsWithTimeout creates a new UpdateProviderParams object with the ability to set a timeout on a request.
func (*UpdateProviderParams) SetBody ¶
func (o *UpdateProviderParams) SetBody(body UpdateProviderBody)
SetBody adds the body to the update provider params
func (*UpdateProviderParams) SetBox ¶
func (o *UpdateProviderParams) SetBox(box string)
SetBox adds the box to the update provider params
func (*UpdateProviderParams) SetContext ¶
func (o *UpdateProviderParams) SetContext(ctx context.Context)
SetContext adds the context to the update provider params
func (*UpdateProviderParams) SetDefaults ¶ added in v0.23.0
func (o *UpdateProviderParams) SetDefaults()
SetDefaults hydrates default values in the update provider params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateProviderParams) SetHTTPClient ¶
func (o *UpdateProviderParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update provider params
func (*UpdateProviderParams) SetProvider ¶
func (o *UpdateProviderParams) SetProvider(provider string)
SetProvider adds the provider to the update provider params
func (*UpdateProviderParams) SetRegistry ¶
func (o *UpdateProviderParams) SetRegistry(registry string)
SetRegistry adds the registry to the update provider params
func (*UpdateProviderParams) SetTimeout ¶
func (o *UpdateProviderParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update provider params
func (*UpdateProviderParams) SetVersion ¶
func (o *UpdateProviderParams) SetVersion(version string)
SetVersion adds the version to the update provider params
func (*UpdateProviderParams) WithBody ¶
func (o *UpdateProviderParams) WithBody(body UpdateProviderBody) *UpdateProviderParams
WithBody adds the body to the update provider params
func (*UpdateProviderParams) WithBox ¶
func (o *UpdateProviderParams) WithBox(box string) *UpdateProviderParams
WithBox adds the box to the update provider params
func (*UpdateProviderParams) WithContext ¶
func (o *UpdateProviderParams) WithContext(ctx context.Context) *UpdateProviderParams
WithContext adds the context to the update provider params
func (*UpdateProviderParams) WithDefaults ¶ added in v0.23.0
func (o *UpdateProviderParams) WithDefaults() *UpdateProviderParams
WithDefaults hydrates default values in the update provider params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateProviderParams) WithHTTPClient ¶
func (o *UpdateProviderParams) WithHTTPClient(client *http.Client) *UpdateProviderParams
WithHTTPClient adds the HTTPClient to the update provider params
func (*UpdateProviderParams) WithProvider ¶
func (o *UpdateProviderParams) WithProvider(provider string) *UpdateProviderParams
WithProvider adds the provider to the update provider params
func (*UpdateProviderParams) WithRegistry ¶
func (o *UpdateProviderParams) WithRegistry(registry string) *UpdateProviderParams
WithRegistry adds the registry to the update provider params
func (*UpdateProviderParams) WithTimeout ¶
func (o *UpdateProviderParams) WithTimeout(timeout time.Duration) *UpdateProviderParams
WithTimeout adds the timeout to the update provider params
func (*UpdateProviderParams) WithVersion ¶
func (o *UpdateProviderParams) WithVersion(version string) *UpdateProviderParams
WithVersion adds the version to the update provider params
func (*UpdateProviderParams) WriteToRequest ¶
func (o *UpdateProviderParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateProviderReader ¶
type UpdateProviderReader struct {
// contains filtered or unexported fields
}
UpdateProviderReader is a Reader for the UpdateProvider structure.
func (*UpdateProviderReader) ReadResponse ¶
func (o *UpdateProviderReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- create_provider_parameters.go
- create_provider_responses.go
- delete_provider_parameters.go
- delete_provider_responses.go
- get_provider_parameters.go
- get_provider_responses.go
- list_providers_parameters.go
- list_providers_responses.go
- provider_service_client.go
- read_provider_parameters.go
- read_provider_responses.go
- update_provider_parameters.go
- update_provider_responses.go