Documentation ¶
Index ¶
- type ActivateRegistryDefault
- func (o *ActivateRegistryDefault) Code() int
- func (o *ActivateRegistryDefault) Error() string
- func (o *ActivateRegistryDefault) GetPayload() *cloud.GoogleRPCStatus
- func (o *ActivateRegistryDefault) IsClientError() bool
- func (o *ActivateRegistryDefault) IsCode(code int) bool
- func (o *ActivateRegistryDefault) IsRedirect() bool
- func (o *ActivateRegistryDefault) IsServerError() bool
- func (o *ActivateRegistryDefault) IsSuccess() bool
- func (o *ActivateRegistryDefault) String() string
- type ActivateRegistryOK
- func (o *ActivateRegistryOK) Code() int
- func (o *ActivateRegistryOK) Error() string
- func (o *ActivateRegistryOK) GetPayload() models.HashicorpCloudVagrant20220930ActivateRegistryResponse
- func (o *ActivateRegistryOK) IsClientError() bool
- func (o *ActivateRegistryOK) IsCode(code int) bool
- func (o *ActivateRegistryOK) IsRedirect() bool
- func (o *ActivateRegistryOK) IsServerError() bool
- func (o *ActivateRegistryOK) IsSuccess() bool
- func (o *ActivateRegistryOK) String() string
- type ActivateRegistryParams
- func NewActivateRegistryParams() *ActivateRegistryParams
- func NewActivateRegistryParamsWithContext(ctx context.Context) *ActivateRegistryParams
- func NewActivateRegistryParamsWithHTTPClient(client *http.Client) *ActivateRegistryParams
- func NewActivateRegistryParamsWithTimeout(timeout time.Duration) *ActivateRegistryParams
- func (o *ActivateRegistryParams) SetContext(ctx context.Context)
- func (o *ActivateRegistryParams) SetDefaults()
- func (o *ActivateRegistryParams) SetHTTPClient(client *http.Client)
- func (o *ActivateRegistryParams) SetRegistry(registry string)
- func (o *ActivateRegistryParams) SetTimeout(timeout time.Duration)
- func (o *ActivateRegistryParams) WithContext(ctx context.Context) *ActivateRegistryParams
- func (o *ActivateRegistryParams) WithDefaults() *ActivateRegistryParams
- func (o *ActivateRegistryParams) WithHTTPClient(client *http.Client) *ActivateRegistryParams
- func (o *ActivateRegistryParams) WithRegistry(registry string) *ActivateRegistryParams
- func (o *ActivateRegistryParams) WithTimeout(timeout time.Duration) *ActivateRegistryParams
- func (o *ActivateRegistryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ActivateRegistryReader
- type Client
- func (a *Client) ActivateRegistry(params *ActivateRegistryParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ActivateRegistryOK, error)
- func (a *Client) CompleteDirectUploadBox(params *CompleteDirectUploadBoxParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CompleteDirectUploadBoxOK, error)
- func (a *Client) CreateArchitecture(params *CreateArchitectureParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateArchitectureOK, error)
- func (a *Client) CreateBox(params *CreateBoxParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateBoxOK, error)
- func (a *Client) CreateProvider(params *CreateProviderParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateProviderOK, error)
- func (a *Client) CreateRegistry(params *CreateRegistryParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateRegistryOK, error)
- func (a *Client) CreateVersion(params *CreateVersionParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateVersionOK, error)
- func (a *Client) DeactivateRegistry(params *DeactivateRegistryParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeactivateRegistryOK, error)
- func (a *Client) DeleteArchitecture(params *DeleteArchitectureParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteArchitectureOK, error)
- func (a *Client) DeleteBox(params *DeleteBoxParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteBoxOK, error)
- func (a *Client) DeleteProvider(params *DeleteProviderParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteProviderOK, error)
- func (a *Client) DeleteRegistry(params *DeleteRegistryParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteRegistryOK, error)
- func (a *Client) DeleteVersion(params *DeleteVersionParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteVersionOK, error)
- func (a *Client) DirectUploadBox(params *DirectUploadBoxParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DirectUploadBoxOK, error)
- func (a *Client) DownloadBox(params *DownloadBoxParams, opts ...ClientOption) (*DownloadBoxOK, error)
- func (a *Client) ListArchitectures(params *ListArchitecturesParams, opts ...ClientOption) (*ListArchitecturesOK, error)
- func (a *Client) ListBoxes(params *ListBoxesParams, opts ...ClientOption) (*ListBoxesOK, error)
- func (a *Client) ListProviders(params *ListProvidersParams, opts ...ClientOption) (*ListProvidersOK, error)
- func (a *Client) ListRegistries(params *ListRegistriesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListRegistriesOK, error)
- func (a *Client) ListVersions(params *ListVersionsParams, opts ...ClientOption) (*ListVersionsOK, error)
- func (a *Client) ReadArchitecture(params *ReadArchitectureParams, opts ...ClientOption) (*ReadArchitectureOK, error)
- func (a *Client) ReadBox(params *ReadBoxParams, opts ...ClientOption) (*ReadBoxOK, error)
- func (a *Client) ReadProvider(params *ReadProviderParams, opts ...ClientOption) (*ReadProviderOK, error)
- func (a *Client) ReadRegistry(params *ReadRegistryParams, opts ...ClientOption) (*ReadRegistryOK, error)
- func (a *Client) ReadVersion(params *ReadVersionParams, opts ...ClientOption) (*ReadVersionOK, error)
- func (a *Client) ReleaseVersion(params *ReleaseVersionParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ReleaseVersionOK, error)
- func (a *Client) RevokeVersion(params *RevokeVersionParams, authInfo runtime.ClientAuthInfoWriter, ...) (*RevokeVersionOK, error)
- func (a *Client) Search(params *SearchParams, opts ...ClientOption) (*SearchOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateArchitecture(params *UpdateArchitectureParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateArchitectureOK, error)
- func (a *Client) UpdateBox(params *UpdateBoxParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateBoxOK, error)
- func (a *Client) UpdateProvider(params *UpdateProviderParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateProviderOK, error)
- func (a *Client) UpdateRegistry(params *UpdateRegistryParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateRegistryOK, error)
- func (a *Client) UpdateVersion(params *UpdateVersionParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateVersionOK, error)
- func (a *Client) UploadBox(params *UploadBoxParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UploadBoxOK, error)
- type ClientOption
- type ClientService
- type CompleteDirectUploadBoxDefault
- func (o *CompleteDirectUploadBoxDefault) Code() int
- func (o *CompleteDirectUploadBoxDefault) Error() string
- func (o *CompleteDirectUploadBoxDefault) GetPayload() *cloud.GoogleRPCStatus
- func (o *CompleteDirectUploadBoxDefault) IsClientError() bool
- func (o *CompleteDirectUploadBoxDefault) IsCode(code int) bool
- func (o *CompleteDirectUploadBoxDefault) IsRedirect() bool
- func (o *CompleteDirectUploadBoxDefault) IsServerError() bool
- func (o *CompleteDirectUploadBoxDefault) IsSuccess() bool
- func (o *CompleteDirectUploadBoxDefault) String() string
- type CompleteDirectUploadBoxOK
- func (o *CompleteDirectUploadBoxOK) Code() int
- func (o *CompleteDirectUploadBoxOK) Error() string
- func (o *CompleteDirectUploadBoxOK) GetPayload() models.HashicorpCloudVagrant20220930CompleteDirectUploadBoxResponse
- func (o *CompleteDirectUploadBoxOK) IsClientError() bool
- func (o *CompleteDirectUploadBoxOK) IsCode(code int) bool
- func (o *CompleteDirectUploadBoxOK) IsRedirect() bool
- func (o *CompleteDirectUploadBoxOK) IsServerError() bool
- func (o *CompleteDirectUploadBoxOK) IsSuccess() bool
- func (o *CompleteDirectUploadBoxOK) String() string
- type CompleteDirectUploadBoxParams
- func NewCompleteDirectUploadBoxParams() *CompleteDirectUploadBoxParams
- func NewCompleteDirectUploadBoxParamsWithContext(ctx context.Context) *CompleteDirectUploadBoxParams
- func NewCompleteDirectUploadBoxParamsWithHTTPClient(client *http.Client) *CompleteDirectUploadBoxParams
- func NewCompleteDirectUploadBoxParamsWithTimeout(timeout time.Duration) *CompleteDirectUploadBoxParams
- func (o *CompleteDirectUploadBoxParams) SetArchitecture(architecture string)
- func (o *CompleteDirectUploadBoxParams) SetBox(box string)
- func (o *CompleteDirectUploadBoxParams) SetContext(ctx context.Context)
- func (o *CompleteDirectUploadBoxParams) SetDefaults()
- func (o *CompleteDirectUploadBoxParams) SetHTTPClient(client *http.Client)
- func (o *CompleteDirectUploadBoxParams) SetObject(object string)
- func (o *CompleteDirectUploadBoxParams) SetProvider(provider string)
- func (o *CompleteDirectUploadBoxParams) SetRegistry(registry string)
- func (o *CompleteDirectUploadBoxParams) SetTimeout(timeout time.Duration)
- func (o *CompleteDirectUploadBoxParams) SetVersion(version string)
- func (o *CompleteDirectUploadBoxParams) WithArchitecture(architecture string) *CompleteDirectUploadBoxParams
- func (o *CompleteDirectUploadBoxParams) WithBox(box string) *CompleteDirectUploadBoxParams
- func (o *CompleteDirectUploadBoxParams) WithContext(ctx context.Context) *CompleteDirectUploadBoxParams
- func (o *CompleteDirectUploadBoxParams) WithDefaults() *CompleteDirectUploadBoxParams
- func (o *CompleteDirectUploadBoxParams) WithHTTPClient(client *http.Client) *CompleteDirectUploadBoxParams
- func (o *CompleteDirectUploadBoxParams) WithObject(object string) *CompleteDirectUploadBoxParams
- func (o *CompleteDirectUploadBoxParams) WithProvider(provider string) *CompleteDirectUploadBoxParams
- func (o *CompleteDirectUploadBoxParams) WithRegistry(registry string) *CompleteDirectUploadBoxParams
- func (o *CompleteDirectUploadBoxParams) WithTimeout(timeout time.Duration) *CompleteDirectUploadBoxParams
- func (o *CompleteDirectUploadBoxParams) WithVersion(version string) *CompleteDirectUploadBoxParams
- func (o *CompleteDirectUploadBoxParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CompleteDirectUploadBoxReader
- type CreateArchitectureDefault
- func (o *CreateArchitectureDefault) Code() int
- func (o *CreateArchitectureDefault) Error() string
- func (o *CreateArchitectureDefault) GetPayload() *cloud.GoogleRPCStatus
- func (o *CreateArchitectureDefault) IsClientError() bool
- func (o *CreateArchitectureDefault) IsCode(code int) bool
- func (o *CreateArchitectureDefault) IsRedirect() bool
- func (o *CreateArchitectureDefault) IsServerError() bool
- func (o *CreateArchitectureDefault) IsSuccess() bool
- func (o *CreateArchitectureDefault) String() string
- type CreateArchitectureOK
- func (o *CreateArchitectureOK) Code() int
- func (o *CreateArchitectureOK) Error() string
- func (o *CreateArchitectureOK) GetPayload() *models.HashicorpCloudVagrant20220930CreateArchitectureResponse
- func (o *CreateArchitectureOK) IsClientError() bool
- func (o *CreateArchitectureOK) IsCode(code int) bool
- func (o *CreateArchitectureOK) IsRedirect() bool
- func (o *CreateArchitectureOK) IsServerError() bool
- func (o *CreateArchitectureOK) IsSuccess() bool
- func (o *CreateArchitectureOK) String() string
- type CreateArchitectureParams
- func NewCreateArchitectureParams() *CreateArchitectureParams
- func NewCreateArchitectureParamsWithContext(ctx context.Context) *CreateArchitectureParams
- func NewCreateArchitectureParamsWithHTTPClient(client *http.Client) *CreateArchitectureParams
- func NewCreateArchitectureParamsWithTimeout(timeout time.Duration) *CreateArchitectureParams
- func (o *CreateArchitectureParams) SetBox(box string)
- func (o *CreateArchitectureParams) SetContext(ctx context.Context)
- func (o *CreateArchitectureParams) SetData(data *models.HashicorpCloudVagrant20220930Architecture)
- func (o *CreateArchitectureParams) SetDefaults()
- func (o *CreateArchitectureParams) SetHTTPClient(client *http.Client)
- func (o *CreateArchitectureParams) SetProvider(provider string)
- func (o *CreateArchitectureParams) SetRegistry(registry string)
- func (o *CreateArchitectureParams) SetTimeout(timeout time.Duration)
- func (o *CreateArchitectureParams) SetVersion(version string)
- func (o *CreateArchitectureParams) WithBox(box string) *CreateArchitectureParams
- func (o *CreateArchitectureParams) WithContext(ctx context.Context) *CreateArchitectureParams
- func (o *CreateArchitectureParams) WithData(data *models.HashicorpCloudVagrant20220930Architecture) *CreateArchitectureParams
- func (o *CreateArchitectureParams) WithDefaults() *CreateArchitectureParams
- func (o *CreateArchitectureParams) WithHTTPClient(client *http.Client) *CreateArchitectureParams
- func (o *CreateArchitectureParams) WithProvider(provider string) *CreateArchitectureParams
- func (o *CreateArchitectureParams) WithRegistry(registry string) *CreateArchitectureParams
- func (o *CreateArchitectureParams) WithTimeout(timeout time.Duration) *CreateArchitectureParams
- func (o *CreateArchitectureParams) WithVersion(version string) *CreateArchitectureParams
- func (o *CreateArchitectureParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateArchitectureReader
- type CreateBoxDefault
- func (o *CreateBoxDefault) Code() int
- func (o *CreateBoxDefault) Error() string
- func (o *CreateBoxDefault) GetPayload() *cloud.GoogleRPCStatus
- func (o *CreateBoxDefault) IsClientError() bool
- func (o *CreateBoxDefault) IsCode(code int) bool
- func (o *CreateBoxDefault) IsRedirect() bool
- func (o *CreateBoxDefault) IsServerError() bool
- func (o *CreateBoxDefault) IsSuccess() bool
- func (o *CreateBoxDefault) String() string
- type CreateBoxOK
- func (o *CreateBoxOK) Code() int
- func (o *CreateBoxOK) Error() string
- func (o *CreateBoxOK) GetPayload() *models.HashicorpCloudVagrant20220930CreateBoxResponse
- func (o *CreateBoxOK) IsClientError() bool
- func (o *CreateBoxOK) IsCode(code int) bool
- func (o *CreateBoxOK) IsRedirect() bool
- func (o *CreateBoxOK) IsServerError() bool
- func (o *CreateBoxOK) IsSuccess() bool
- func (o *CreateBoxOK) String() string
- type CreateBoxParams
- func (o *CreateBoxParams) SetContext(ctx context.Context)
- func (o *CreateBoxParams) SetData(data *models.HashicorpCloudVagrant20220930Box)
- func (o *CreateBoxParams) SetDefaults()
- func (o *CreateBoxParams) SetHTTPClient(client *http.Client)
- func (o *CreateBoxParams) SetRegistry(registry string)
- func (o *CreateBoxParams) SetTimeout(timeout time.Duration)
- func (o *CreateBoxParams) WithContext(ctx context.Context) *CreateBoxParams
- func (o *CreateBoxParams) WithData(data *models.HashicorpCloudVagrant20220930Box) *CreateBoxParams
- func (o *CreateBoxParams) WithDefaults() *CreateBoxParams
- func (o *CreateBoxParams) WithHTTPClient(client *http.Client) *CreateBoxParams
- func (o *CreateBoxParams) WithRegistry(registry string) *CreateBoxParams
- func (o *CreateBoxParams) WithTimeout(timeout time.Duration) *CreateBoxParams
- func (o *CreateBoxParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateBoxReader
- 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) SetBox(box string)
- func (o *CreateProviderParams) SetContext(ctx context.Context)
- func (o *CreateProviderParams) SetData(data *models.HashicorpCloudVagrant20220930Provider)
- 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) WithBox(box string) *CreateProviderParams
- func (o *CreateProviderParams) WithContext(ctx context.Context) *CreateProviderParams
- func (o *CreateProviderParams) WithData(data *models.HashicorpCloudVagrant20220930Provider) *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 CreateRegistryDefault
- func (o *CreateRegistryDefault) Code() int
- func (o *CreateRegistryDefault) Error() string
- func (o *CreateRegistryDefault) GetPayload() *cloud.GoogleRPCStatus
- func (o *CreateRegistryDefault) IsClientError() bool
- func (o *CreateRegistryDefault) IsCode(code int) bool
- func (o *CreateRegistryDefault) IsRedirect() bool
- func (o *CreateRegistryDefault) IsServerError() bool
- func (o *CreateRegistryDefault) IsSuccess() bool
- func (o *CreateRegistryDefault) String() string
- type CreateRegistryOK
- func (o *CreateRegistryOK) Code() int
- func (o *CreateRegistryOK) Error() string
- func (o *CreateRegistryOK) GetPayload() *models.HashicorpCloudVagrant20220930CreateRegistryResponse
- func (o *CreateRegistryOK) IsClientError() bool
- func (o *CreateRegistryOK) IsCode(code int) bool
- func (o *CreateRegistryOK) IsRedirect() bool
- func (o *CreateRegistryOK) IsServerError() bool
- func (o *CreateRegistryOK) IsSuccess() bool
- func (o *CreateRegistryOK) String() string
- type CreateRegistryParams
- func NewCreateRegistryParams() *CreateRegistryParams
- func NewCreateRegistryParamsWithContext(ctx context.Context) *CreateRegistryParams
- func NewCreateRegistryParamsWithHTTPClient(client *http.Client) *CreateRegistryParams
- func NewCreateRegistryParamsWithTimeout(timeout time.Duration) *CreateRegistryParams
- func (o *CreateRegistryParams) SetContext(ctx context.Context)
- func (o *CreateRegistryParams) SetData(data *models.HashicorpCloudVagrant20220930Registry)
- func (o *CreateRegistryParams) SetDefaults()
- func (o *CreateRegistryParams) SetHTTPClient(client *http.Client)
- func (o *CreateRegistryParams) SetTimeout(timeout time.Duration)
- func (o *CreateRegistryParams) WithContext(ctx context.Context) *CreateRegistryParams
- func (o *CreateRegistryParams) WithData(data *models.HashicorpCloudVagrant20220930Registry) *CreateRegistryParams
- func (o *CreateRegistryParams) WithDefaults() *CreateRegistryParams
- func (o *CreateRegistryParams) WithHTTPClient(client *http.Client) *CreateRegistryParams
- func (o *CreateRegistryParams) WithTimeout(timeout time.Duration) *CreateRegistryParams
- func (o *CreateRegistryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateRegistryReader
- type CreateVersionDefault
- func (o *CreateVersionDefault) Code() int
- func (o *CreateVersionDefault) Error() string
- func (o *CreateVersionDefault) GetPayload() *cloud.GoogleRPCStatus
- func (o *CreateVersionDefault) IsClientError() bool
- func (o *CreateVersionDefault) IsCode(code int) bool
- func (o *CreateVersionDefault) IsRedirect() bool
- func (o *CreateVersionDefault) IsServerError() bool
- func (o *CreateVersionDefault) IsSuccess() bool
- func (o *CreateVersionDefault) String() string
- type CreateVersionOK
- func (o *CreateVersionOK) Code() int
- func (o *CreateVersionOK) Error() string
- func (o *CreateVersionOK) GetPayload() *models.HashicorpCloudVagrant20220930CreateVersionResponse
- func (o *CreateVersionOK) IsClientError() bool
- func (o *CreateVersionOK) IsCode(code int) bool
- func (o *CreateVersionOK) IsRedirect() bool
- func (o *CreateVersionOK) IsServerError() bool
- func (o *CreateVersionOK) IsSuccess() bool
- func (o *CreateVersionOK) String() string
- type CreateVersionParams
- func (o *CreateVersionParams) SetBox(box string)
- func (o *CreateVersionParams) SetContext(ctx context.Context)
- func (o *CreateVersionParams) SetData(data *models.HashicorpCloudVagrant20220930Version)
- func (o *CreateVersionParams) SetDefaults()
- func (o *CreateVersionParams) SetHTTPClient(client *http.Client)
- func (o *CreateVersionParams) SetRegistry(registry string)
- func (o *CreateVersionParams) SetTimeout(timeout time.Duration)
- func (o *CreateVersionParams) WithBox(box string) *CreateVersionParams
- func (o *CreateVersionParams) WithContext(ctx context.Context) *CreateVersionParams
- func (o *CreateVersionParams) WithData(data *models.HashicorpCloudVagrant20220930Version) *CreateVersionParams
- func (o *CreateVersionParams) WithDefaults() *CreateVersionParams
- func (o *CreateVersionParams) WithHTTPClient(client *http.Client) *CreateVersionParams
- func (o *CreateVersionParams) WithRegistry(registry string) *CreateVersionParams
- func (o *CreateVersionParams) WithTimeout(timeout time.Duration) *CreateVersionParams
- func (o *CreateVersionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateVersionReader
- type DeactivateRegistryDefault
- func (o *DeactivateRegistryDefault) Code() int
- func (o *DeactivateRegistryDefault) Error() string
- func (o *DeactivateRegistryDefault) GetPayload() *cloud.GoogleRPCStatus
- func (o *DeactivateRegistryDefault) IsClientError() bool
- func (o *DeactivateRegistryDefault) IsCode(code int) bool
- func (o *DeactivateRegistryDefault) IsRedirect() bool
- func (o *DeactivateRegistryDefault) IsServerError() bool
- func (o *DeactivateRegistryDefault) IsSuccess() bool
- func (o *DeactivateRegistryDefault) String() string
- type DeactivateRegistryOK
- func (o *DeactivateRegistryOK) Code() int
- func (o *DeactivateRegistryOK) Error() string
- func (o *DeactivateRegistryOK) GetPayload() models.HashicorpCloudVagrant20220930DeactivateRegistryResponse
- func (o *DeactivateRegistryOK) IsClientError() bool
- func (o *DeactivateRegistryOK) IsCode(code int) bool
- func (o *DeactivateRegistryOK) IsRedirect() bool
- func (o *DeactivateRegistryOK) IsServerError() bool
- func (o *DeactivateRegistryOK) IsSuccess() bool
- func (o *DeactivateRegistryOK) String() string
- type DeactivateRegistryParams
- func NewDeactivateRegistryParams() *DeactivateRegistryParams
- func NewDeactivateRegistryParamsWithContext(ctx context.Context) *DeactivateRegistryParams
- func NewDeactivateRegistryParamsWithHTTPClient(client *http.Client) *DeactivateRegistryParams
- func NewDeactivateRegistryParamsWithTimeout(timeout time.Duration) *DeactivateRegistryParams
- func (o *DeactivateRegistryParams) SetContext(ctx context.Context)
- func (o *DeactivateRegistryParams) SetDefaults()
- func (o *DeactivateRegistryParams) SetHTTPClient(client *http.Client)
- func (o *DeactivateRegistryParams) SetRegistry(registry string)
- func (o *DeactivateRegistryParams) SetTimeout(timeout time.Duration)
- func (o *DeactivateRegistryParams) WithContext(ctx context.Context) *DeactivateRegistryParams
- func (o *DeactivateRegistryParams) WithDefaults() *DeactivateRegistryParams
- func (o *DeactivateRegistryParams) WithHTTPClient(client *http.Client) *DeactivateRegistryParams
- func (o *DeactivateRegistryParams) WithRegistry(registry string) *DeactivateRegistryParams
- func (o *DeactivateRegistryParams) WithTimeout(timeout time.Duration) *DeactivateRegistryParams
- func (o *DeactivateRegistryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeactivateRegistryReader
- type DeleteArchitectureDefault
- func (o *DeleteArchitectureDefault) Code() int
- func (o *DeleteArchitectureDefault) Error() string
- func (o *DeleteArchitectureDefault) GetPayload() *cloud.GoogleRPCStatus
- func (o *DeleteArchitectureDefault) IsClientError() bool
- func (o *DeleteArchitectureDefault) IsCode(code int) bool
- func (o *DeleteArchitectureDefault) IsRedirect() bool
- func (o *DeleteArchitectureDefault) IsServerError() bool
- func (o *DeleteArchitectureDefault) IsSuccess() bool
- func (o *DeleteArchitectureDefault) String() string
- type DeleteArchitectureOK
- func (o *DeleteArchitectureOK) Code() int
- func (o *DeleteArchitectureOK) Error() string
- func (o *DeleteArchitectureOK) GetPayload() models.HashicorpCloudVagrant20220930DeleteArchitectureResponse
- func (o *DeleteArchitectureOK) IsClientError() bool
- func (o *DeleteArchitectureOK) IsCode(code int) bool
- func (o *DeleteArchitectureOK) IsRedirect() bool
- func (o *DeleteArchitectureOK) IsServerError() bool
- func (o *DeleteArchitectureOK) IsSuccess() bool
- func (o *DeleteArchitectureOK) String() string
- type DeleteArchitectureParams
- func NewDeleteArchitectureParams() *DeleteArchitectureParams
- func NewDeleteArchitectureParamsWithContext(ctx context.Context) *DeleteArchitectureParams
- func NewDeleteArchitectureParamsWithHTTPClient(client *http.Client) *DeleteArchitectureParams
- func NewDeleteArchitectureParamsWithTimeout(timeout time.Duration) *DeleteArchitectureParams
- func (o *DeleteArchitectureParams) SetArchitecture(architecture string)
- func (o *DeleteArchitectureParams) SetBox(box string)
- func (o *DeleteArchitectureParams) SetContext(ctx context.Context)
- func (o *DeleteArchitectureParams) SetDefaults()
- func (o *DeleteArchitectureParams) SetHTTPClient(client *http.Client)
- func (o *DeleteArchitectureParams) SetProvider(provider string)
- func (o *DeleteArchitectureParams) SetRegistry(registry string)
- func (o *DeleteArchitectureParams) SetTimeout(timeout time.Duration)
- func (o *DeleteArchitectureParams) SetVersion(version string)
- func (o *DeleteArchitectureParams) WithArchitecture(architecture string) *DeleteArchitectureParams
- func (o *DeleteArchitectureParams) WithBox(box string) *DeleteArchitectureParams
- func (o *DeleteArchitectureParams) WithContext(ctx context.Context) *DeleteArchitectureParams
- func (o *DeleteArchitectureParams) WithDefaults() *DeleteArchitectureParams
- func (o *DeleteArchitectureParams) WithHTTPClient(client *http.Client) *DeleteArchitectureParams
- func (o *DeleteArchitectureParams) WithProvider(provider string) *DeleteArchitectureParams
- func (o *DeleteArchitectureParams) WithRegistry(registry string) *DeleteArchitectureParams
- func (o *DeleteArchitectureParams) WithTimeout(timeout time.Duration) *DeleteArchitectureParams
- func (o *DeleteArchitectureParams) WithVersion(version string) *DeleteArchitectureParams
- func (o *DeleteArchitectureParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteArchitectureReader
- type DeleteBoxDefault
- func (o *DeleteBoxDefault) Code() int
- func (o *DeleteBoxDefault) Error() string
- func (o *DeleteBoxDefault) GetPayload() *cloud.GoogleRPCStatus
- func (o *DeleteBoxDefault) IsClientError() bool
- func (o *DeleteBoxDefault) IsCode(code int) bool
- func (o *DeleteBoxDefault) IsRedirect() bool
- func (o *DeleteBoxDefault) IsServerError() bool
- func (o *DeleteBoxDefault) IsSuccess() bool
- func (o *DeleteBoxDefault) String() string
- type DeleteBoxOK
- func (o *DeleteBoxOK) Code() int
- func (o *DeleteBoxOK) Error() string
- func (o *DeleteBoxOK) GetPayload() *models.HashicorpCloudVagrant20220930DeleteBoxResponse
- func (o *DeleteBoxOK) IsClientError() bool
- func (o *DeleteBoxOK) IsCode(code int) bool
- func (o *DeleteBoxOK) IsRedirect() bool
- func (o *DeleteBoxOK) IsServerError() bool
- func (o *DeleteBoxOK) IsSuccess() bool
- func (o *DeleteBoxOK) String() string
- type DeleteBoxParams
- func (o *DeleteBoxParams) SetBox(box string)
- func (o *DeleteBoxParams) SetContext(ctx context.Context)
- func (o *DeleteBoxParams) SetDefaults()
- func (o *DeleteBoxParams) SetHTTPClient(client *http.Client)
- func (o *DeleteBoxParams) SetRegistry(registry string)
- func (o *DeleteBoxParams) SetTimeout(timeout time.Duration)
- func (o *DeleteBoxParams) WithBox(box string) *DeleteBoxParams
- func (o *DeleteBoxParams) WithContext(ctx context.Context) *DeleteBoxParams
- func (o *DeleteBoxParams) WithDefaults() *DeleteBoxParams
- func (o *DeleteBoxParams) WithHTTPClient(client *http.Client) *DeleteBoxParams
- func (o *DeleteBoxParams) WithRegistry(registry string) *DeleteBoxParams
- func (o *DeleteBoxParams) WithTimeout(timeout time.Duration) *DeleteBoxParams
- func (o *DeleteBoxParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteBoxReader
- 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 DeleteRegistryDefault
- func (o *DeleteRegistryDefault) Code() int
- func (o *DeleteRegistryDefault) Error() string
- func (o *DeleteRegistryDefault) GetPayload() *cloud.GoogleRPCStatus
- func (o *DeleteRegistryDefault) IsClientError() bool
- func (o *DeleteRegistryDefault) IsCode(code int) bool
- func (o *DeleteRegistryDefault) IsRedirect() bool
- func (o *DeleteRegistryDefault) IsServerError() bool
- func (o *DeleteRegistryDefault) IsSuccess() bool
- func (o *DeleteRegistryDefault) String() string
- type DeleteRegistryOK
- func (o *DeleteRegistryOK) Code() int
- func (o *DeleteRegistryOK) Error() string
- func (o *DeleteRegistryOK) GetPayload() *models.HashicorpCloudVagrant20220930DeleteRegistryResponse
- func (o *DeleteRegistryOK) IsClientError() bool
- func (o *DeleteRegistryOK) IsCode(code int) bool
- func (o *DeleteRegistryOK) IsRedirect() bool
- func (o *DeleteRegistryOK) IsServerError() bool
- func (o *DeleteRegistryOK) IsSuccess() bool
- func (o *DeleteRegistryOK) String() string
- type DeleteRegistryParams
- func NewDeleteRegistryParams() *DeleteRegistryParams
- func NewDeleteRegistryParamsWithContext(ctx context.Context) *DeleteRegistryParams
- func NewDeleteRegistryParamsWithHTTPClient(client *http.Client) *DeleteRegistryParams
- func NewDeleteRegistryParamsWithTimeout(timeout time.Duration) *DeleteRegistryParams
- func (o *DeleteRegistryParams) SetContext(ctx context.Context)
- func (o *DeleteRegistryParams) SetDefaults()
- func (o *DeleteRegistryParams) SetHTTPClient(client *http.Client)
- func (o *DeleteRegistryParams) SetRegistry(registry string)
- func (o *DeleteRegistryParams) SetTimeout(timeout time.Duration)
- func (o *DeleteRegistryParams) WithContext(ctx context.Context) *DeleteRegistryParams
- func (o *DeleteRegistryParams) WithDefaults() *DeleteRegistryParams
- func (o *DeleteRegistryParams) WithHTTPClient(client *http.Client) *DeleteRegistryParams
- func (o *DeleteRegistryParams) WithRegistry(registry string) *DeleteRegistryParams
- func (o *DeleteRegistryParams) WithTimeout(timeout time.Duration) *DeleteRegistryParams
- func (o *DeleteRegistryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteRegistryReader
- type DeleteVersionDefault
- func (o *DeleteVersionDefault) Code() int
- func (o *DeleteVersionDefault) Error() string
- func (o *DeleteVersionDefault) GetPayload() *cloud.GoogleRPCStatus
- func (o *DeleteVersionDefault) IsClientError() bool
- func (o *DeleteVersionDefault) IsCode(code int) bool
- func (o *DeleteVersionDefault) IsRedirect() bool
- func (o *DeleteVersionDefault) IsServerError() bool
- func (o *DeleteVersionDefault) IsSuccess() bool
- func (o *DeleteVersionDefault) String() string
- type DeleteVersionOK
- func (o *DeleteVersionOK) Code() int
- func (o *DeleteVersionOK) Error() string
- func (o *DeleteVersionOK) GetPayload() models.HashicorpCloudVagrant20220930DeleteVersionResponse
- func (o *DeleteVersionOK) IsClientError() bool
- func (o *DeleteVersionOK) IsCode(code int) bool
- func (o *DeleteVersionOK) IsRedirect() bool
- func (o *DeleteVersionOK) IsServerError() bool
- func (o *DeleteVersionOK) IsSuccess() bool
- func (o *DeleteVersionOK) String() string
- type DeleteVersionParams
- func (o *DeleteVersionParams) SetBox(box string)
- func (o *DeleteVersionParams) SetContext(ctx context.Context)
- func (o *DeleteVersionParams) SetDefaults()
- func (o *DeleteVersionParams) SetHTTPClient(client *http.Client)
- func (o *DeleteVersionParams) SetRegistry(registry string)
- func (o *DeleteVersionParams) SetTimeout(timeout time.Duration)
- func (o *DeleteVersionParams) SetVersion(version string)
- func (o *DeleteVersionParams) WithBox(box string) *DeleteVersionParams
- func (o *DeleteVersionParams) WithContext(ctx context.Context) *DeleteVersionParams
- func (o *DeleteVersionParams) WithDefaults() *DeleteVersionParams
- func (o *DeleteVersionParams) WithHTTPClient(client *http.Client) *DeleteVersionParams
- func (o *DeleteVersionParams) WithRegistry(registry string) *DeleteVersionParams
- func (o *DeleteVersionParams) WithTimeout(timeout time.Duration) *DeleteVersionParams
- func (o *DeleteVersionParams) WithVersion(version string) *DeleteVersionParams
- func (o *DeleteVersionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteVersionReader
- type DirectUploadBoxDefault
- func (o *DirectUploadBoxDefault) Code() int
- func (o *DirectUploadBoxDefault) Error() string
- func (o *DirectUploadBoxDefault) GetPayload() *cloud.GoogleRPCStatus
- func (o *DirectUploadBoxDefault) IsClientError() bool
- func (o *DirectUploadBoxDefault) IsCode(code int) bool
- func (o *DirectUploadBoxDefault) IsRedirect() bool
- func (o *DirectUploadBoxDefault) IsServerError() bool
- func (o *DirectUploadBoxDefault) IsSuccess() bool
- func (o *DirectUploadBoxDefault) String() string
- type DirectUploadBoxOK
- func (o *DirectUploadBoxOK) Code() int
- func (o *DirectUploadBoxOK) Error() string
- func (o *DirectUploadBoxOK) GetPayload() *models.HashicorpCloudVagrant20220930DirectUploadBoxResponse
- func (o *DirectUploadBoxOK) IsClientError() bool
- func (o *DirectUploadBoxOK) IsCode(code int) bool
- func (o *DirectUploadBoxOK) IsRedirect() bool
- func (o *DirectUploadBoxOK) IsServerError() bool
- func (o *DirectUploadBoxOK) IsSuccess() bool
- func (o *DirectUploadBoxOK) String() string
- type DirectUploadBoxParams
- func NewDirectUploadBoxParams() *DirectUploadBoxParams
- func NewDirectUploadBoxParamsWithContext(ctx context.Context) *DirectUploadBoxParams
- func NewDirectUploadBoxParamsWithHTTPClient(client *http.Client) *DirectUploadBoxParams
- func NewDirectUploadBoxParamsWithTimeout(timeout time.Duration) *DirectUploadBoxParams
- func (o *DirectUploadBoxParams) SetArchitecture(architecture string)
- func (o *DirectUploadBoxParams) SetBox(box string)
- func (o *DirectUploadBoxParams) SetContext(ctx context.Context)
- func (o *DirectUploadBoxParams) SetDefaults()
- func (o *DirectUploadBoxParams) SetHTTPClient(client *http.Client)
- func (o *DirectUploadBoxParams) SetProvider(provider string)
- func (o *DirectUploadBoxParams) SetRegistry(registry string)
- func (o *DirectUploadBoxParams) SetTimeout(timeout time.Duration)
- func (o *DirectUploadBoxParams) SetVersion(version string)
- func (o *DirectUploadBoxParams) WithArchitecture(architecture string) *DirectUploadBoxParams
- func (o *DirectUploadBoxParams) WithBox(box string) *DirectUploadBoxParams
- func (o *DirectUploadBoxParams) WithContext(ctx context.Context) *DirectUploadBoxParams
- func (o *DirectUploadBoxParams) WithDefaults() *DirectUploadBoxParams
- func (o *DirectUploadBoxParams) WithHTTPClient(client *http.Client) *DirectUploadBoxParams
- func (o *DirectUploadBoxParams) WithProvider(provider string) *DirectUploadBoxParams
- func (o *DirectUploadBoxParams) WithRegistry(registry string) *DirectUploadBoxParams
- func (o *DirectUploadBoxParams) WithTimeout(timeout time.Duration) *DirectUploadBoxParams
- func (o *DirectUploadBoxParams) WithVersion(version string) *DirectUploadBoxParams
- func (o *DirectUploadBoxParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DirectUploadBoxReader
- type DownloadBoxDefault
- func (o *DownloadBoxDefault) Code() int
- func (o *DownloadBoxDefault) Error() string
- func (o *DownloadBoxDefault) GetPayload() *cloud.GoogleRPCStatus
- func (o *DownloadBoxDefault) IsClientError() bool
- func (o *DownloadBoxDefault) IsCode(code int) bool
- func (o *DownloadBoxDefault) IsRedirect() bool
- func (o *DownloadBoxDefault) IsServerError() bool
- func (o *DownloadBoxDefault) IsSuccess() bool
- func (o *DownloadBoxDefault) String() string
- type DownloadBoxOK
- func (o *DownloadBoxOK) Code() int
- func (o *DownloadBoxOK) Error() string
- func (o *DownloadBoxOK) GetPayload() *models.HashicorpCloudVagrant20220930DownloadBoxResponse
- func (o *DownloadBoxOK) IsClientError() bool
- func (o *DownloadBoxOK) IsCode(code int) bool
- func (o *DownloadBoxOK) IsRedirect() bool
- func (o *DownloadBoxOK) IsServerError() bool
- func (o *DownloadBoxOK) IsSuccess() bool
- func (o *DownloadBoxOK) String() string
- type DownloadBoxParams
- func (o *DownloadBoxParams) SetArchitecture(architecture string)
- func (o *DownloadBoxParams) SetBox(box string)
- func (o *DownloadBoxParams) SetContext(ctx context.Context)
- func (o *DownloadBoxParams) SetDefaults()
- func (o *DownloadBoxParams) SetHTTPClient(client *http.Client)
- func (o *DownloadBoxParams) SetProvider(provider string)
- func (o *DownloadBoxParams) SetRegistry(registry string)
- func (o *DownloadBoxParams) SetTimeout(timeout time.Duration)
- func (o *DownloadBoxParams) SetVersion(version string)
- func (o *DownloadBoxParams) WithArchitecture(architecture string) *DownloadBoxParams
- func (o *DownloadBoxParams) WithBox(box string) *DownloadBoxParams
- func (o *DownloadBoxParams) WithContext(ctx context.Context) *DownloadBoxParams
- func (o *DownloadBoxParams) WithDefaults() *DownloadBoxParams
- func (o *DownloadBoxParams) WithHTTPClient(client *http.Client) *DownloadBoxParams
- func (o *DownloadBoxParams) WithProvider(provider string) *DownloadBoxParams
- func (o *DownloadBoxParams) WithRegistry(registry string) *DownloadBoxParams
- func (o *DownloadBoxParams) WithTimeout(timeout time.Duration) *DownloadBoxParams
- func (o *DownloadBoxParams) WithVersion(version string) *DownloadBoxParams
- func (o *DownloadBoxParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DownloadBoxReader
- type ListArchitecturesDefault
- func (o *ListArchitecturesDefault) Code() int
- func (o *ListArchitecturesDefault) Error() string
- func (o *ListArchitecturesDefault) GetPayload() *cloud.GoogleRPCStatus
- func (o *ListArchitecturesDefault) IsClientError() bool
- func (o *ListArchitecturesDefault) IsCode(code int) bool
- func (o *ListArchitecturesDefault) IsRedirect() bool
- func (o *ListArchitecturesDefault) IsServerError() bool
- func (o *ListArchitecturesDefault) IsSuccess() bool
- func (o *ListArchitecturesDefault) String() string
- type ListArchitecturesOK
- func (o *ListArchitecturesOK) Code() int
- func (o *ListArchitecturesOK) Error() string
- func (o *ListArchitecturesOK) GetPayload() *models.HashicorpCloudVagrant20220930ListArchitecturesResponse
- func (o *ListArchitecturesOK) IsClientError() bool
- func (o *ListArchitecturesOK) IsCode(code int) bool
- func (o *ListArchitecturesOK) IsRedirect() bool
- func (o *ListArchitecturesOK) IsServerError() bool
- func (o *ListArchitecturesOK) IsSuccess() bool
- func (o *ListArchitecturesOK) String() string
- type ListArchitecturesParams
- func NewListArchitecturesParams() *ListArchitecturesParams
- func NewListArchitecturesParamsWithContext(ctx context.Context) *ListArchitecturesParams
- func NewListArchitecturesParamsWithHTTPClient(client *http.Client) *ListArchitecturesParams
- func NewListArchitecturesParamsWithTimeout(timeout time.Duration) *ListArchitecturesParams
- func (o *ListArchitecturesParams) SetBox(box string)
- func (o *ListArchitecturesParams) SetContext(ctx context.Context)
- func (o *ListArchitecturesParams) SetDefaults()
- func (o *ListArchitecturesParams) SetHTTPClient(client *http.Client)
- func (o *ListArchitecturesParams) SetPaginationNextPageToken(paginationNextPageToken *string)
- func (o *ListArchitecturesParams) SetPaginationPageSize(paginationPageSize *int64)
- func (o *ListArchitecturesParams) SetPaginationPreviousPageToken(paginationPreviousPageToken *string)
- func (o *ListArchitecturesParams) SetProvider(provider string)
- func (o *ListArchitecturesParams) SetRegistry(registry string)
- func (o *ListArchitecturesParams) SetTimeout(timeout time.Duration)
- func (o *ListArchitecturesParams) SetVersion(version string)
- func (o *ListArchitecturesParams) WithBox(box string) *ListArchitecturesParams
- func (o *ListArchitecturesParams) WithContext(ctx context.Context) *ListArchitecturesParams
- func (o *ListArchitecturesParams) WithDefaults() *ListArchitecturesParams
- func (o *ListArchitecturesParams) WithHTTPClient(client *http.Client) *ListArchitecturesParams
- func (o *ListArchitecturesParams) WithPaginationNextPageToken(paginationNextPageToken *string) *ListArchitecturesParams
- func (o *ListArchitecturesParams) WithPaginationPageSize(paginationPageSize *int64) *ListArchitecturesParams
- func (o *ListArchitecturesParams) WithPaginationPreviousPageToken(paginationPreviousPageToken *string) *ListArchitecturesParams
- func (o *ListArchitecturesParams) WithProvider(provider string) *ListArchitecturesParams
- func (o *ListArchitecturesParams) WithRegistry(registry string) *ListArchitecturesParams
- func (o *ListArchitecturesParams) WithTimeout(timeout time.Duration) *ListArchitecturesParams
- func (o *ListArchitecturesParams) WithVersion(version string) *ListArchitecturesParams
- func (o *ListArchitecturesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListArchitecturesReader
- type ListBoxesDefault
- func (o *ListBoxesDefault) Code() int
- func (o *ListBoxesDefault) Error() string
- func (o *ListBoxesDefault) GetPayload() *cloud.GoogleRPCStatus
- func (o *ListBoxesDefault) IsClientError() bool
- func (o *ListBoxesDefault) IsCode(code int) bool
- func (o *ListBoxesDefault) IsRedirect() bool
- func (o *ListBoxesDefault) IsServerError() bool
- func (o *ListBoxesDefault) IsSuccess() bool
- func (o *ListBoxesDefault) String() string
- type ListBoxesOK
- func (o *ListBoxesOK) Code() int
- func (o *ListBoxesOK) Error() string
- func (o *ListBoxesOK) GetPayload() *models.HashicorpCloudVagrant20220930ListBoxesResponse
- func (o *ListBoxesOK) IsClientError() bool
- func (o *ListBoxesOK) IsCode(code int) bool
- func (o *ListBoxesOK) IsRedirect() bool
- func (o *ListBoxesOK) IsServerError() bool
- func (o *ListBoxesOK) IsSuccess() bool
- func (o *ListBoxesOK) String() string
- type ListBoxesParams
- func (o *ListBoxesParams) SetContext(ctx context.Context)
- func (o *ListBoxesParams) SetDefaults()
- func (o *ListBoxesParams) SetExpanded(expanded *bool)
- func (o *ListBoxesParams) SetHTTPClient(client *http.Client)
- func (o *ListBoxesParams) SetPaginationNextPageToken(paginationNextPageToken *string)
- func (o *ListBoxesParams) SetPaginationPageSize(paginationPageSize *int64)
- func (o *ListBoxesParams) SetPaginationPreviousPageToken(paginationPreviousPageToken *string)
- func (o *ListBoxesParams) SetRegistry(registry string)
- func (o *ListBoxesParams) SetTimeout(timeout time.Duration)
- func (o *ListBoxesParams) WithContext(ctx context.Context) *ListBoxesParams
- func (o *ListBoxesParams) WithDefaults() *ListBoxesParams
- func (o *ListBoxesParams) WithExpanded(expanded *bool) *ListBoxesParams
- func (o *ListBoxesParams) WithHTTPClient(client *http.Client) *ListBoxesParams
- func (o *ListBoxesParams) WithPaginationNextPageToken(paginationNextPageToken *string) *ListBoxesParams
- func (o *ListBoxesParams) WithPaginationPageSize(paginationPageSize *int64) *ListBoxesParams
- func (o *ListBoxesParams) WithPaginationPreviousPageToken(paginationPreviousPageToken *string) *ListBoxesParams
- func (o *ListBoxesParams) WithRegistry(registry string) *ListBoxesParams
- func (o *ListBoxesParams) WithTimeout(timeout time.Duration) *ListBoxesParams
- func (o *ListBoxesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListBoxesReader
- 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) SetExpanded(expanded *bool)
- 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) WithExpanded(expanded *bool) *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 ListRegistriesDefault
- func (o *ListRegistriesDefault) Code() int
- func (o *ListRegistriesDefault) Error() string
- func (o *ListRegistriesDefault) GetPayload() *cloud.GoogleRPCStatus
- func (o *ListRegistriesDefault) IsClientError() bool
- func (o *ListRegistriesDefault) IsCode(code int) bool
- func (o *ListRegistriesDefault) IsRedirect() bool
- func (o *ListRegistriesDefault) IsServerError() bool
- func (o *ListRegistriesDefault) IsSuccess() bool
- func (o *ListRegistriesDefault) String() string
- type ListRegistriesOK
- func (o *ListRegistriesOK) Code() int
- func (o *ListRegistriesOK) Error() string
- func (o *ListRegistriesOK) GetPayload() *models.HashicorpCloudVagrant20220930ListRegistriesResponse
- func (o *ListRegistriesOK) IsClientError() bool
- func (o *ListRegistriesOK) IsCode(code int) bool
- func (o *ListRegistriesOK) IsRedirect() bool
- func (o *ListRegistriesOK) IsServerError() bool
- func (o *ListRegistriesOK) IsSuccess() bool
- func (o *ListRegistriesOK) String() string
- type ListRegistriesParams
- func NewListRegistriesParams() *ListRegistriesParams
- func NewListRegistriesParamsWithContext(ctx context.Context) *ListRegistriesParams
- func NewListRegistriesParamsWithHTTPClient(client *http.Client) *ListRegistriesParams
- func NewListRegistriesParamsWithTimeout(timeout time.Duration) *ListRegistriesParams
- func (o *ListRegistriesParams) SetContext(ctx context.Context)
- func (o *ListRegistriesParams) SetDefaults()
- func (o *ListRegistriesParams) SetHTTPClient(client *http.Client)
- func (o *ListRegistriesParams) SetLocationOrganizationID(locationOrganizationID *string)
- func (o *ListRegistriesParams) SetLocationProjectID(locationProjectID *string)
- func (o *ListRegistriesParams) SetLocationRegionProvider(locationRegionProvider *string)
- func (o *ListRegistriesParams) SetLocationRegionRegion(locationRegionRegion *string)
- func (o *ListRegistriesParams) SetPaginationNextPageToken(paginationNextPageToken *string)
- func (o *ListRegistriesParams) SetPaginationPageSize(paginationPageSize *int64)
- func (o *ListRegistriesParams) SetPaginationPreviousPageToken(paginationPreviousPageToken *string)
- func (o *ListRegistriesParams) SetTimeout(timeout time.Duration)
- func (o *ListRegistriesParams) WithContext(ctx context.Context) *ListRegistriesParams
- func (o *ListRegistriesParams) WithDefaults() *ListRegistriesParams
- func (o *ListRegistriesParams) WithHTTPClient(client *http.Client) *ListRegistriesParams
- func (o *ListRegistriesParams) WithLocationOrganizationID(locationOrganizationID *string) *ListRegistriesParams
- func (o *ListRegistriesParams) WithLocationProjectID(locationProjectID *string) *ListRegistriesParams
- func (o *ListRegistriesParams) WithLocationRegionProvider(locationRegionProvider *string) *ListRegistriesParams
- func (o *ListRegistriesParams) WithLocationRegionRegion(locationRegionRegion *string) *ListRegistriesParams
- func (o *ListRegistriesParams) WithPaginationNextPageToken(paginationNextPageToken *string) *ListRegistriesParams
- func (o *ListRegistriesParams) WithPaginationPageSize(paginationPageSize *int64) *ListRegistriesParams
- func (o *ListRegistriesParams) WithPaginationPreviousPageToken(paginationPreviousPageToken *string) *ListRegistriesParams
- func (o *ListRegistriesParams) WithTimeout(timeout time.Duration) *ListRegistriesParams
- func (o *ListRegistriesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListRegistriesReader
- type ListVersionsDefault
- func (o *ListVersionsDefault) Code() int
- func (o *ListVersionsDefault) Error() string
- func (o *ListVersionsDefault) GetPayload() *cloud.GoogleRPCStatus
- func (o *ListVersionsDefault) IsClientError() bool
- func (o *ListVersionsDefault) IsCode(code int) bool
- func (o *ListVersionsDefault) IsRedirect() bool
- func (o *ListVersionsDefault) IsServerError() bool
- func (o *ListVersionsDefault) IsSuccess() bool
- func (o *ListVersionsDefault) String() string
- type ListVersionsOK
- func (o *ListVersionsOK) Code() int
- func (o *ListVersionsOK) Error() string
- func (o *ListVersionsOK) GetPayload() *models.HashicorpCloudVagrant20220930ListVersionsResponse
- func (o *ListVersionsOK) IsClientError() bool
- func (o *ListVersionsOK) IsCode(code int) bool
- func (o *ListVersionsOK) IsRedirect() bool
- func (o *ListVersionsOK) IsServerError() bool
- func (o *ListVersionsOK) IsSuccess() bool
- func (o *ListVersionsOK) String() string
- type ListVersionsParams
- func (o *ListVersionsParams) SetBox(box string)
- func (o *ListVersionsParams) SetContext(ctx context.Context)
- func (o *ListVersionsParams) SetDefaults()
- func (o *ListVersionsParams) SetExpanded(expanded *bool)
- func (o *ListVersionsParams) SetHTTPClient(client *http.Client)
- func (o *ListVersionsParams) SetPaginationNextPageToken(paginationNextPageToken *string)
- func (o *ListVersionsParams) SetPaginationPageSize(paginationPageSize *int64)
- func (o *ListVersionsParams) SetPaginationPreviousPageToken(paginationPreviousPageToken *string)
- func (o *ListVersionsParams) SetRegistry(registry string)
- func (o *ListVersionsParams) SetTimeout(timeout time.Duration)
- func (o *ListVersionsParams) WithBox(box string) *ListVersionsParams
- func (o *ListVersionsParams) WithContext(ctx context.Context) *ListVersionsParams
- func (o *ListVersionsParams) WithDefaults() *ListVersionsParams
- func (o *ListVersionsParams) WithExpanded(expanded *bool) *ListVersionsParams
- func (o *ListVersionsParams) WithHTTPClient(client *http.Client) *ListVersionsParams
- func (o *ListVersionsParams) WithPaginationNextPageToken(paginationNextPageToken *string) *ListVersionsParams
- func (o *ListVersionsParams) WithPaginationPageSize(paginationPageSize *int64) *ListVersionsParams
- func (o *ListVersionsParams) WithPaginationPreviousPageToken(paginationPreviousPageToken *string) *ListVersionsParams
- func (o *ListVersionsParams) WithRegistry(registry string) *ListVersionsParams
- func (o *ListVersionsParams) WithTimeout(timeout time.Duration) *ListVersionsParams
- func (o *ListVersionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListVersionsReader
- type ReadArchitectureDefault
- func (o *ReadArchitectureDefault) Code() int
- func (o *ReadArchitectureDefault) Error() string
- func (o *ReadArchitectureDefault) GetPayload() *cloud.GoogleRPCStatus
- func (o *ReadArchitectureDefault) IsClientError() bool
- func (o *ReadArchitectureDefault) IsCode(code int) bool
- func (o *ReadArchitectureDefault) IsRedirect() bool
- func (o *ReadArchitectureDefault) IsServerError() bool
- func (o *ReadArchitectureDefault) IsSuccess() bool
- func (o *ReadArchitectureDefault) String() string
- type ReadArchitectureOK
- func (o *ReadArchitectureOK) Code() int
- func (o *ReadArchitectureOK) Error() string
- func (o *ReadArchitectureOK) GetPayload() *models.HashicorpCloudVagrant20220930ReadArchitectureResponse
- func (o *ReadArchitectureOK) IsClientError() bool
- func (o *ReadArchitectureOK) IsCode(code int) bool
- func (o *ReadArchitectureOK) IsRedirect() bool
- func (o *ReadArchitectureOK) IsServerError() bool
- func (o *ReadArchitectureOK) IsSuccess() bool
- func (o *ReadArchitectureOK) String() string
- type ReadArchitectureParams
- func NewReadArchitectureParams() *ReadArchitectureParams
- func NewReadArchitectureParamsWithContext(ctx context.Context) *ReadArchitectureParams
- func NewReadArchitectureParamsWithHTTPClient(client *http.Client) *ReadArchitectureParams
- func NewReadArchitectureParamsWithTimeout(timeout time.Duration) *ReadArchitectureParams
- func (o *ReadArchitectureParams) SetArchitecture(architecture string)
- func (o *ReadArchitectureParams) SetBox(box string)
- func (o *ReadArchitectureParams) SetContext(ctx context.Context)
- func (o *ReadArchitectureParams) SetDefaults()
- func (o *ReadArchitectureParams) SetHTTPClient(client *http.Client)
- func (o *ReadArchitectureParams) SetProvider(provider string)
- func (o *ReadArchitectureParams) SetRegistry(registry string)
- func (o *ReadArchitectureParams) SetTimeout(timeout time.Duration)
- func (o *ReadArchitectureParams) SetVersion(version string)
- func (o *ReadArchitectureParams) WithArchitecture(architecture string) *ReadArchitectureParams
- func (o *ReadArchitectureParams) WithBox(box string) *ReadArchitectureParams
- func (o *ReadArchitectureParams) WithContext(ctx context.Context) *ReadArchitectureParams
- func (o *ReadArchitectureParams) WithDefaults() *ReadArchitectureParams
- func (o *ReadArchitectureParams) WithHTTPClient(client *http.Client) *ReadArchitectureParams
- func (o *ReadArchitectureParams) WithProvider(provider string) *ReadArchitectureParams
- func (o *ReadArchitectureParams) WithRegistry(registry string) *ReadArchitectureParams
- func (o *ReadArchitectureParams) WithTimeout(timeout time.Duration) *ReadArchitectureParams
- func (o *ReadArchitectureParams) WithVersion(version string) *ReadArchitectureParams
- func (o *ReadArchitectureParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ReadArchitectureReader
- type ReadBoxDefault
- func (o *ReadBoxDefault) Code() int
- func (o *ReadBoxDefault) Error() string
- func (o *ReadBoxDefault) GetPayload() *cloud.GoogleRPCStatus
- func (o *ReadBoxDefault) IsClientError() bool
- func (o *ReadBoxDefault) IsCode(code int) bool
- func (o *ReadBoxDefault) IsRedirect() bool
- func (o *ReadBoxDefault) IsServerError() bool
- func (o *ReadBoxDefault) IsSuccess() bool
- func (o *ReadBoxDefault) String() string
- type ReadBoxOK
- func (o *ReadBoxOK) Code() int
- func (o *ReadBoxOK) Error() string
- func (o *ReadBoxOK) GetPayload() *models.HashicorpCloudVagrant20220930ReadBoxResponse
- func (o *ReadBoxOK) IsClientError() bool
- func (o *ReadBoxOK) IsCode(code int) bool
- func (o *ReadBoxOK) IsRedirect() bool
- func (o *ReadBoxOK) IsServerError() bool
- func (o *ReadBoxOK) IsSuccess() bool
- func (o *ReadBoxOK) String() string
- type ReadBoxParams
- func (o *ReadBoxParams) SetBox(box string)
- func (o *ReadBoxParams) SetContext(ctx context.Context)
- func (o *ReadBoxParams) SetDefaults()
- func (o *ReadBoxParams) SetExpanded(expanded *bool)
- func (o *ReadBoxParams) SetHTTPClient(client *http.Client)
- func (o *ReadBoxParams) SetRegistry(registry string)
- func (o *ReadBoxParams) SetTimeout(timeout time.Duration)
- func (o *ReadBoxParams) WithBox(box string) *ReadBoxParams
- func (o *ReadBoxParams) WithContext(ctx context.Context) *ReadBoxParams
- func (o *ReadBoxParams) WithDefaults() *ReadBoxParams
- func (o *ReadBoxParams) WithExpanded(expanded *bool) *ReadBoxParams
- func (o *ReadBoxParams) WithHTTPClient(client *http.Client) *ReadBoxParams
- func (o *ReadBoxParams) WithRegistry(registry string) *ReadBoxParams
- func (o *ReadBoxParams) WithTimeout(timeout time.Duration) *ReadBoxParams
- func (o *ReadBoxParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ReadBoxReader
- 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) SetExpanded(expanded *bool)
- 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) WithExpanded(expanded *bool) *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 ReadRegistryDefault
- func (o *ReadRegistryDefault) Code() int
- func (o *ReadRegistryDefault) Error() string
- func (o *ReadRegistryDefault) GetPayload() *cloud.GoogleRPCStatus
- func (o *ReadRegistryDefault) IsClientError() bool
- func (o *ReadRegistryDefault) IsCode(code int) bool
- func (o *ReadRegistryDefault) IsRedirect() bool
- func (o *ReadRegistryDefault) IsServerError() bool
- func (o *ReadRegistryDefault) IsSuccess() bool
- func (o *ReadRegistryDefault) String() string
- type ReadRegistryOK
- func (o *ReadRegistryOK) Code() int
- func (o *ReadRegistryOK) Error() string
- func (o *ReadRegistryOK) GetPayload() *models.HashicorpCloudVagrant20220930ReadRegistryResponse
- func (o *ReadRegistryOK) IsClientError() bool
- func (o *ReadRegistryOK) IsCode(code int) bool
- func (o *ReadRegistryOK) IsRedirect() bool
- func (o *ReadRegistryOK) IsServerError() bool
- func (o *ReadRegistryOK) IsSuccess() bool
- func (o *ReadRegistryOK) String() string
- type ReadRegistryParams
- func (o *ReadRegistryParams) SetContext(ctx context.Context)
- func (o *ReadRegistryParams) SetDefaults()
- func (o *ReadRegistryParams) SetExpanded(expanded *bool)
- func (o *ReadRegistryParams) SetHTTPClient(client *http.Client)
- func (o *ReadRegistryParams) SetRegistry(registry string)
- func (o *ReadRegistryParams) SetTimeout(timeout time.Duration)
- func (o *ReadRegistryParams) WithContext(ctx context.Context) *ReadRegistryParams
- func (o *ReadRegistryParams) WithDefaults() *ReadRegistryParams
- func (o *ReadRegistryParams) WithExpanded(expanded *bool) *ReadRegistryParams
- func (o *ReadRegistryParams) WithHTTPClient(client *http.Client) *ReadRegistryParams
- func (o *ReadRegistryParams) WithRegistry(registry string) *ReadRegistryParams
- func (o *ReadRegistryParams) WithTimeout(timeout time.Duration) *ReadRegistryParams
- func (o *ReadRegistryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ReadRegistryReader
- type ReadVersionDefault
- func (o *ReadVersionDefault) Code() int
- func (o *ReadVersionDefault) Error() string
- func (o *ReadVersionDefault) GetPayload() *cloud.GoogleRPCStatus
- func (o *ReadVersionDefault) IsClientError() bool
- func (o *ReadVersionDefault) IsCode(code int) bool
- func (o *ReadVersionDefault) IsRedirect() bool
- func (o *ReadVersionDefault) IsServerError() bool
- func (o *ReadVersionDefault) IsSuccess() bool
- func (o *ReadVersionDefault) String() string
- type ReadVersionOK
- func (o *ReadVersionOK) Code() int
- func (o *ReadVersionOK) Error() string
- func (o *ReadVersionOK) GetPayload() *models.HashicorpCloudVagrant20220930ReadVersionResponse
- func (o *ReadVersionOK) IsClientError() bool
- func (o *ReadVersionOK) IsCode(code int) bool
- func (o *ReadVersionOK) IsRedirect() bool
- func (o *ReadVersionOK) IsServerError() bool
- func (o *ReadVersionOK) IsSuccess() bool
- func (o *ReadVersionOK) String() string
- type ReadVersionParams
- func (o *ReadVersionParams) SetBox(box string)
- func (o *ReadVersionParams) SetContext(ctx context.Context)
- func (o *ReadVersionParams) SetDefaults()
- func (o *ReadVersionParams) SetExpanded(expanded *bool)
- func (o *ReadVersionParams) SetHTTPClient(client *http.Client)
- func (o *ReadVersionParams) SetRegistry(registry string)
- func (o *ReadVersionParams) SetTimeout(timeout time.Duration)
- func (o *ReadVersionParams) SetVersion(version string)
- func (o *ReadVersionParams) WithBox(box string) *ReadVersionParams
- func (o *ReadVersionParams) WithContext(ctx context.Context) *ReadVersionParams
- func (o *ReadVersionParams) WithDefaults() *ReadVersionParams
- func (o *ReadVersionParams) WithExpanded(expanded *bool) *ReadVersionParams
- func (o *ReadVersionParams) WithHTTPClient(client *http.Client) *ReadVersionParams
- func (o *ReadVersionParams) WithRegistry(registry string) *ReadVersionParams
- func (o *ReadVersionParams) WithTimeout(timeout time.Duration) *ReadVersionParams
- func (o *ReadVersionParams) WithVersion(version string) *ReadVersionParams
- func (o *ReadVersionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ReadVersionReader
- type ReleaseVersionDefault
- func (o *ReleaseVersionDefault) Code() int
- func (o *ReleaseVersionDefault) Error() string
- func (o *ReleaseVersionDefault) GetPayload() *cloud.GoogleRPCStatus
- func (o *ReleaseVersionDefault) IsClientError() bool
- func (o *ReleaseVersionDefault) IsCode(code int) bool
- func (o *ReleaseVersionDefault) IsRedirect() bool
- func (o *ReleaseVersionDefault) IsServerError() bool
- func (o *ReleaseVersionDefault) IsSuccess() bool
- func (o *ReleaseVersionDefault) String() string
- type ReleaseVersionOK
- func (o *ReleaseVersionOK) Code() int
- func (o *ReleaseVersionOK) Error() string
- func (o *ReleaseVersionOK) GetPayload() models.HashicorpCloudVagrant20220930ReleaseVersionResponse
- func (o *ReleaseVersionOK) IsClientError() bool
- func (o *ReleaseVersionOK) IsCode(code int) bool
- func (o *ReleaseVersionOK) IsRedirect() bool
- func (o *ReleaseVersionOK) IsServerError() bool
- func (o *ReleaseVersionOK) IsSuccess() bool
- func (o *ReleaseVersionOK) String() string
- type ReleaseVersionParams
- func NewReleaseVersionParams() *ReleaseVersionParams
- func NewReleaseVersionParamsWithContext(ctx context.Context) *ReleaseVersionParams
- func NewReleaseVersionParamsWithHTTPClient(client *http.Client) *ReleaseVersionParams
- func NewReleaseVersionParamsWithTimeout(timeout time.Duration) *ReleaseVersionParams
- func (o *ReleaseVersionParams) SetBox(box string)
- func (o *ReleaseVersionParams) SetContext(ctx context.Context)
- func (o *ReleaseVersionParams) SetDefaults()
- func (o *ReleaseVersionParams) SetHTTPClient(client *http.Client)
- func (o *ReleaseVersionParams) SetRegistry(registry string)
- func (o *ReleaseVersionParams) SetTimeout(timeout time.Duration)
- func (o *ReleaseVersionParams) SetVersion(version string)
- func (o *ReleaseVersionParams) WithBox(box string) *ReleaseVersionParams
- func (o *ReleaseVersionParams) WithContext(ctx context.Context) *ReleaseVersionParams
- func (o *ReleaseVersionParams) WithDefaults() *ReleaseVersionParams
- func (o *ReleaseVersionParams) WithHTTPClient(client *http.Client) *ReleaseVersionParams
- func (o *ReleaseVersionParams) WithRegistry(registry string) *ReleaseVersionParams
- func (o *ReleaseVersionParams) WithTimeout(timeout time.Duration) *ReleaseVersionParams
- func (o *ReleaseVersionParams) WithVersion(version string) *ReleaseVersionParams
- func (o *ReleaseVersionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ReleaseVersionReader
- type RevokeVersionDefault
- func (o *RevokeVersionDefault) Code() int
- func (o *RevokeVersionDefault) Error() string
- func (o *RevokeVersionDefault) GetPayload() *cloud.GoogleRPCStatus
- func (o *RevokeVersionDefault) IsClientError() bool
- func (o *RevokeVersionDefault) IsCode(code int) bool
- func (o *RevokeVersionDefault) IsRedirect() bool
- func (o *RevokeVersionDefault) IsServerError() bool
- func (o *RevokeVersionDefault) IsSuccess() bool
- func (o *RevokeVersionDefault) String() string
- type RevokeVersionOK
- func (o *RevokeVersionOK) Code() int
- func (o *RevokeVersionOK) Error() string
- func (o *RevokeVersionOK) GetPayload() models.HashicorpCloudVagrant20220930RevokeVersionResponse
- func (o *RevokeVersionOK) IsClientError() bool
- func (o *RevokeVersionOK) IsCode(code int) bool
- func (o *RevokeVersionOK) IsRedirect() bool
- func (o *RevokeVersionOK) IsServerError() bool
- func (o *RevokeVersionOK) IsSuccess() bool
- func (o *RevokeVersionOK) String() string
- type RevokeVersionParams
- func (o *RevokeVersionParams) SetBox(box string)
- func (o *RevokeVersionParams) SetContext(ctx context.Context)
- func (o *RevokeVersionParams) SetDefaults()
- func (o *RevokeVersionParams) SetHTTPClient(client *http.Client)
- func (o *RevokeVersionParams) SetRegistry(registry string)
- func (o *RevokeVersionParams) SetTimeout(timeout time.Duration)
- func (o *RevokeVersionParams) SetVersion(version string)
- func (o *RevokeVersionParams) WithBox(box string) *RevokeVersionParams
- func (o *RevokeVersionParams) WithContext(ctx context.Context) *RevokeVersionParams
- func (o *RevokeVersionParams) WithDefaults() *RevokeVersionParams
- func (o *RevokeVersionParams) WithHTTPClient(client *http.Client) *RevokeVersionParams
- func (o *RevokeVersionParams) WithRegistry(registry string) *RevokeVersionParams
- func (o *RevokeVersionParams) WithTimeout(timeout time.Duration) *RevokeVersionParams
- func (o *RevokeVersionParams) WithVersion(version string) *RevokeVersionParams
- func (o *RevokeVersionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RevokeVersionReader
- type SearchDefault
- func (o *SearchDefault) Code() int
- func (o *SearchDefault) Error() string
- func (o *SearchDefault) GetPayload() *cloud.GoogleRPCStatus
- func (o *SearchDefault) IsClientError() bool
- func (o *SearchDefault) IsCode(code int) bool
- func (o *SearchDefault) IsRedirect() bool
- func (o *SearchDefault) IsServerError() bool
- func (o *SearchDefault) IsSuccess() bool
- func (o *SearchDefault) String() string
- type SearchOK
- func (o *SearchOK) Code() int
- func (o *SearchOK) Error() string
- func (o *SearchOK) GetPayload() *models.HashicorpCloudVagrant20220930SearchIndexResponse
- func (o *SearchOK) IsClientError() bool
- func (o *SearchOK) IsCode(code int) bool
- func (o *SearchOK) IsRedirect() bool
- func (o *SearchOK) IsServerError() bool
- func (o *SearchOK) IsSuccess() bool
- func (o *SearchOK) String() string
- type SearchParams
- func (o *SearchParams) SetArchitectures(architectures []string)
- func (o *SearchParams) SetContext(ctx context.Context)
- func (o *SearchParams) SetDefaults()
- func (o *SearchParams) SetHTTPClient(client *http.Client)
- func (o *SearchParams) SetPaginationNextPageToken(paginationNextPageToken *string)
- func (o *SearchParams) SetPaginationPageSize(paginationPageSize *int64)
- func (o *SearchParams) SetPaginationPreviousPageToken(paginationPreviousPageToken *string)
- func (o *SearchParams) SetProviders(providers []string)
- func (o *SearchParams) SetQ(q *string)
- func (o *SearchParams) SetSortOrderBy(sortOrderBy []string)
- func (o *SearchParams) SetTimeout(timeout time.Duration)
- func (o *SearchParams) WithArchitectures(architectures []string) *SearchParams
- func (o *SearchParams) WithContext(ctx context.Context) *SearchParams
- func (o *SearchParams) WithDefaults() *SearchParams
- func (o *SearchParams) WithHTTPClient(client *http.Client) *SearchParams
- func (o *SearchParams) WithPaginationNextPageToken(paginationNextPageToken *string) *SearchParams
- func (o *SearchParams) WithPaginationPageSize(paginationPageSize *int64) *SearchParams
- func (o *SearchParams) WithPaginationPreviousPageToken(paginationPreviousPageToken *string) *SearchParams
- func (o *SearchParams) WithProviders(providers []string) *SearchParams
- func (o *SearchParams) WithQ(q *string) *SearchParams
- func (o *SearchParams) WithSortOrderBy(sortOrderBy []string) *SearchParams
- func (o *SearchParams) WithTimeout(timeout time.Duration) *SearchParams
- func (o *SearchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SearchReader
- type UpdateArchitectureDefault
- func (o *UpdateArchitectureDefault) Code() int
- func (o *UpdateArchitectureDefault) Error() string
- func (o *UpdateArchitectureDefault) GetPayload() *cloud.GoogleRPCStatus
- func (o *UpdateArchitectureDefault) IsClientError() bool
- func (o *UpdateArchitectureDefault) IsCode(code int) bool
- func (o *UpdateArchitectureDefault) IsRedirect() bool
- func (o *UpdateArchitectureDefault) IsServerError() bool
- func (o *UpdateArchitectureDefault) IsSuccess() bool
- func (o *UpdateArchitectureDefault) String() string
- type UpdateArchitectureOK
- func (o *UpdateArchitectureOK) Code() int
- func (o *UpdateArchitectureOK) Error() string
- func (o *UpdateArchitectureOK) GetPayload() *models.HashicorpCloudVagrant20220930UpdateArchitectureResponse
- func (o *UpdateArchitectureOK) IsClientError() bool
- func (o *UpdateArchitectureOK) IsCode(code int) bool
- func (o *UpdateArchitectureOK) IsRedirect() bool
- func (o *UpdateArchitectureOK) IsServerError() bool
- func (o *UpdateArchitectureOK) IsSuccess() bool
- func (o *UpdateArchitectureOK) String() string
- type UpdateArchitectureParams
- func NewUpdateArchitectureParams() *UpdateArchitectureParams
- func NewUpdateArchitectureParamsWithContext(ctx context.Context) *UpdateArchitectureParams
- func NewUpdateArchitectureParamsWithHTTPClient(client *http.Client) *UpdateArchitectureParams
- func NewUpdateArchitectureParamsWithTimeout(timeout time.Duration) *UpdateArchitectureParams
- func (o *UpdateArchitectureParams) SetArchitecture(architecture string)
- func (o *UpdateArchitectureParams) SetBox(box string)
- func (o *UpdateArchitectureParams) SetContext(ctx context.Context)
- func (o *UpdateArchitectureParams) SetData(data *models.HashicorpCloudVagrant20220930Architecture)
- func (o *UpdateArchitectureParams) SetDefaults()
- func (o *UpdateArchitectureParams) SetHTTPClient(client *http.Client)
- func (o *UpdateArchitectureParams) SetProvider(provider string)
- func (o *UpdateArchitectureParams) SetRegistry(registry string)
- func (o *UpdateArchitectureParams) SetTimeout(timeout time.Duration)
- func (o *UpdateArchitectureParams) SetVersion(version string)
- func (o *UpdateArchitectureParams) WithArchitecture(architecture string) *UpdateArchitectureParams
- func (o *UpdateArchitectureParams) WithBox(box string) *UpdateArchitectureParams
- func (o *UpdateArchitectureParams) WithContext(ctx context.Context) *UpdateArchitectureParams
- func (o *UpdateArchitectureParams) WithData(data *models.HashicorpCloudVagrant20220930Architecture) *UpdateArchitectureParams
- func (o *UpdateArchitectureParams) WithDefaults() *UpdateArchitectureParams
- func (o *UpdateArchitectureParams) WithHTTPClient(client *http.Client) *UpdateArchitectureParams
- func (o *UpdateArchitectureParams) WithProvider(provider string) *UpdateArchitectureParams
- func (o *UpdateArchitectureParams) WithRegistry(registry string) *UpdateArchitectureParams
- func (o *UpdateArchitectureParams) WithTimeout(timeout time.Duration) *UpdateArchitectureParams
- func (o *UpdateArchitectureParams) WithVersion(version string) *UpdateArchitectureParams
- func (o *UpdateArchitectureParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateArchitectureReader
- type UpdateBoxDefault
- func (o *UpdateBoxDefault) Code() int
- func (o *UpdateBoxDefault) Error() string
- func (o *UpdateBoxDefault) GetPayload() *cloud.GoogleRPCStatus
- func (o *UpdateBoxDefault) IsClientError() bool
- func (o *UpdateBoxDefault) IsCode(code int) bool
- func (o *UpdateBoxDefault) IsRedirect() bool
- func (o *UpdateBoxDefault) IsServerError() bool
- func (o *UpdateBoxDefault) IsSuccess() bool
- func (o *UpdateBoxDefault) String() string
- type UpdateBoxOK
- func (o *UpdateBoxOK) Code() int
- func (o *UpdateBoxOK) Error() string
- func (o *UpdateBoxOK) GetPayload() *models.HashicorpCloudVagrant20220930UpdateBoxResponse
- func (o *UpdateBoxOK) IsClientError() bool
- func (o *UpdateBoxOK) IsCode(code int) bool
- func (o *UpdateBoxOK) IsRedirect() bool
- func (o *UpdateBoxOK) IsServerError() bool
- func (o *UpdateBoxOK) IsSuccess() bool
- func (o *UpdateBoxOK) String() string
- type UpdateBoxParams
- func (o *UpdateBoxParams) SetBox(box string)
- func (o *UpdateBoxParams) SetContext(ctx context.Context)
- func (o *UpdateBoxParams) SetData(data *models.HashicorpCloudVagrant20220930Box)
- func (o *UpdateBoxParams) SetDefaults()
- func (o *UpdateBoxParams) SetHTTPClient(client *http.Client)
- func (o *UpdateBoxParams) SetRegistry(registry string)
- func (o *UpdateBoxParams) SetTimeout(timeout time.Duration)
- func (o *UpdateBoxParams) WithBox(box string) *UpdateBoxParams
- func (o *UpdateBoxParams) WithContext(ctx context.Context) *UpdateBoxParams
- func (o *UpdateBoxParams) WithData(data *models.HashicorpCloudVagrant20220930Box) *UpdateBoxParams
- func (o *UpdateBoxParams) WithDefaults() *UpdateBoxParams
- func (o *UpdateBoxParams) WithHTTPClient(client *http.Client) *UpdateBoxParams
- func (o *UpdateBoxParams) WithRegistry(registry string) *UpdateBoxParams
- func (o *UpdateBoxParams) WithTimeout(timeout time.Duration) *UpdateBoxParams
- func (o *UpdateBoxParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateBoxReader
- 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) SetBox(box string)
- func (o *UpdateProviderParams) SetContext(ctx context.Context)
- func (o *UpdateProviderParams) SetData(data *models.HashicorpCloudVagrant20220930Provider)
- 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) WithBox(box string) *UpdateProviderParams
- func (o *UpdateProviderParams) WithContext(ctx context.Context) *UpdateProviderParams
- func (o *UpdateProviderParams) WithData(data *models.HashicorpCloudVagrant20220930Provider) *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
- type UpdateRegistryDefault
- func (o *UpdateRegistryDefault) Code() int
- func (o *UpdateRegistryDefault) Error() string
- func (o *UpdateRegistryDefault) GetPayload() *cloud.GoogleRPCStatus
- func (o *UpdateRegistryDefault) IsClientError() bool
- func (o *UpdateRegistryDefault) IsCode(code int) bool
- func (o *UpdateRegistryDefault) IsRedirect() bool
- func (o *UpdateRegistryDefault) IsServerError() bool
- func (o *UpdateRegistryDefault) IsSuccess() bool
- func (o *UpdateRegistryDefault) String() string
- type UpdateRegistryOK
- func (o *UpdateRegistryOK) Code() int
- func (o *UpdateRegistryOK) Error() string
- func (o *UpdateRegistryOK) GetPayload() *models.HashicorpCloudVagrant20220930UpdateRegistryResponse
- func (o *UpdateRegistryOK) IsClientError() bool
- func (o *UpdateRegistryOK) IsCode(code int) bool
- func (o *UpdateRegistryOK) IsRedirect() bool
- func (o *UpdateRegistryOK) IsServerError() bool
- func (o *UpdateRegistryOK) IsSuccess() bool
- func (o *UpdateRegistryOK) String() string
- type UpdateRegistryParams
- func NewUpdateRegistryParams() *UpdateRegistryParams
- func NewUpdateRegistryParamsWithContext(ctx context.Context) *UpdateRegistryParams
- func NewUpdateRegistryParamsWithHTTPClient(client *http.Client) *UpdateRegistryParams
- func NewUpdateRegistryParamsWithTimeout(timeout time.Duration) *UpdateRegistryParams
- func (o *UpdateRegistryParams) SetContext(ctx context.Context)
- func (o *UpdateRegistryParams) SetData(data *models.HashicorpCloudVagrant20220930Registry)
- func (o *UpdateRegistryParams) SetDefaults()
- func (o *UpdateRegistryParams) SetHTTPClient(client *http.Client)
- func (o *UpdateRegistryParams) SetRegistry(registry string)
- func (o *UpdateRegistryParams) SetTimeout(timeout time.Duration)
- func (o *UpdateRegistryParams) WithContext(ctx context.Context) *UpdateRegistryParams
- func (o *UpdateRegistryParams) WithData(data *models.HashicorpCloudVagrant20220930Registry) *UpdateRegistryParams
- func (o *UpdateRegistryParams) WithDefaults() *UpdateRegistryParams
- func (o *UpdateRegistryParams) WithHTTPClient(client *http.Client) *UpdateRegistryParams
- func (o *UpdateRegistryParams) WithRegistry(registry string) *UpdateRegistryParams
- func (o *UpdateRegistryParams) WithTimeout(timeout time.Duration) *UpdateRegistryParams
- func (o *UpdateRegistryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateRegistryReader
- type UpdateVersionDefault
- func (o *UpdateVersionDefault) Code() int
- func (o *UpdateVersionDefault) Error() string
- func (o *UpdateVersionDefault) GetPayload() *cloud.GoogleRPCStatus
- func (o *UpdateVersionDefault) IsClientError() bool
- func (o *UpdateVersionDefault) IsCode(code int) bool
- func (o *UpdateVersionDefault) IsRedirect() bool
- func (o *UpdateVersionDefault) IsServerError() bool
- func (o *UpdateVersionDefault) IsSuccess() bool
- func (o *UpdateVersionDefault) String() string
- type UpdateVersionOK
- func (o *UpdateVersionOK) Code() int
- func (o *UpdateVersionOK) Error() string
- func (o *UpdateVersionOK) GetPayload() *models.HashicorpCloudVagrant20220930UpdateVersionResponse
- func (o *UpdateVersionOK) IsClientError() bool
- func (o *UpdateVersionOK) IsCode(code int) bool
- func (o *UpdateVersionOK) IsRedirect() bool
- func (o *UpdateVersionOK) IsServerError() bool
- func (o *UpdateVersionOK) IsSuccess() bool
- func (o *UpdateVersionOK) String() string
- type UpdateVersionParams
- func (o *UpdateVersionParams) SetBox(box string)
- func (o *UpdateVersionParams) SetContext(ctx context.Context)
- func (o *UpdateVersionParams) SetData(data *models.HashicorpCloudVagrant20220930Version)
- func (o *UpdateVersionParams) SetDefaults()
- func (o *UpdateVersionParams) SetHTTPClient(client *http.Client)
- func (o *UpdateVersionParams) SetRegistry(registry string)
- func (o *UpdateVersionParams) SetTimeout(timeout time.Duration)
- func (o *UpdateVersionParams) SetVersion(version string)
- func (o *UpdateVersionParams) WithBox(box string) *UpdateVersionParams
- func (o *UpdateVersionParams) WithContext(ctx context.Context) *UpdateVersionParams
- func (o *UpdateVersionParams) WithData(data *models.HashicorpCloudVagrant20220930Version) *UpdateVersionParams
- func (o *UpdateVersionParams) WithDefaults() *UpdateVersionParams
- func (o *UpdateVersionParams) WithHTTPClient(client *http.Client) *UpdateVersionParams
- func (o *UpdateVersionParams) WithRegistry(registry string) *UpdateVersionParams
- func (o *UpdateVersionParams) WithTimeout(timeout time.Duration) *UpdateVersionParams
- func (o *UpdateVersionParams) WithVersion(version string) *UpdateVersionParams
- func (o *UpdateVersionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateVersionReader
- type UploadBoxDefault
- func (o *UploadBoxDefault) Code() int
- func (o *UploadBoxDefault) Error() string
- func (o *UploadBoxDefault) GetPayload() *cloud.GoogleRPCStatus
- func (o *UploadBoxDefault) IsClientError() bool
- func (o *UploadBoxDefault) IsCode(code int) bool
- func (o *UploadBoxDefault) IsRedirect() bool
- func (o *UploadBoxDefault) IsServerError() bool
- func (o *UploadBoxDefault) IsSuccess() bool
- func (o *UploadBoxDefault) String() string
- type UploadBoxOK
- func (o *UploadBoxOK) Code() int
- func (o *UploadBoxOK) Error() string
- func (o *UploadBoxOK) GetPayload() *models.HashicorpCloudVagrant20220930UploadBoxResponse
- func (o *UploadBoxOK) IsClientError() bool
- func (o *UploadBoxOK) IsCode(code int) bool
- func (o *UploadBoxOK) IsRedirect() bool
- func (o *UploadBoxOK) IsServerError() bool
- func (o *UploadBoxOK) IsSuccess() bool
- func (o *UploadBoxOK) String() string
- type UploadBoxParams
- func (o *UploadBoxParams) SetArchitecture(architecture string)
- func (o *UploadBoxParams) SetBox(box string)
- func (o *UploadBoxParams) SetContext(ctx context.Context)
- func (o *UploadBoxParams) SetDefaults()
- func (o *UploadBoxParams) SetHTTPClient(client *http.Client)
- func (o *UploadBoxParams) SetProvider(provider string)
- func (o *UploadBoxParams) SetRegistry(registry string)
- func (o *UploadBoxParams) SetTimeout(timeout time.Duration)
- func (o *UploadBoxParams) SetVersion(version string)
- func (o *UploadBoxParams) WithArchitecture(architecture string) *UploadBoxParams
- func (o *UploadBoxParams) WithBox(box string) *UploadBoxParams
- func (o *UploadBoxParams) WithContext(ctx context.Context) *UploadBoxParams
- func (o *UploadBoxParams) WithDefaults() *UploadBoxParams
- func (o *UploadBoxParams) WithHTTPClient(client *http.Client) *UploadBoxParams
- func (o *UploadBoxParams) WithProvider(provider string) *UploadBoxParams
- func (o *UploadBoxParams) WithRegistry(registry string) *UploadBoxParams
- func (o *UploadBoxParams) WithTimeout(timeout time.Duration) *UploadBoxParams
- func (o *UploadBoxParams) WithVersion(version string) *UploadBoxParams
- func (o *UploadBoxParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UploadBoxReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActivateRegistryDefault ¶
type ActivateRegistryDefault struct { Payload *cloud.GoogleRPCStatus // contains filtered or unexported fields }
ActivateRegistryDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewActivateRegistryDefault ¶
func NewActivateRegistryDefault(code int) *ActivateRegistryDefault
NewActivateRegistryDefault creates a ActivateRegistryDefault with default headers values
func (*ActivateRegistryDefault) Code ¶
func (o *ActivateRegistryDefault) Code() int
Code gets the status code for the activate registry default response
func (*ActivateRegistryDefault) Error ¶
func (o *ActivateRegistryDefault) Error() string
func (*ActivateRegistryDefault) GetPayload ¶
func (o *ActivateRegistryDefault) GetPayload() *cloud.GoogleRPCStatus
func (*ActivateRegistryDefault) IsClientError ¶
func (o *ActivateRegistryDefault) IsClientError() bool
IsClientError returns true when this activate registry default response has a 4xx status code
func (*ActivateRegistryDefault) IsCode ¶
func (o *ActivateRegistryDefault) IsCode(code int) bool
IsCode returns true when this activate registry default response a status code equal to that given
func (*ActivateRegistryDefault) IsRedirect ¶
func (o *ActivateRegistryDefault) IsRedirect() bool
IsRedirect returns true when this activate registry default response has a 3xx status code
func (*ActivateRegistryDefault) IsServerError ¶
func (o *ActivateRegistryDefault) IsServerError() bool
IsServerError returns true when this activate registry default response has a 5xx status code
func (*ActivateRegistryDefault) IsSuccess ¶
func (o *ActivateRegistryDefault) IsSuccess() bool
IsSuccess returns true when this activate registry default response has a 2xx status code
func (*ActivateRegistryDefault) String ¶
func (o *ActivateRegistryDefault) String() string
type ActivateRegistryOK ¶
type ActivateRegistryOK struct {
Payload models.HashicorpCloudVagrant20220930ActivateRegistryResponse
}
ActivateRegistryOK describes a response with status code 200, with default header values.
A successful response.
func NewActivateRegistryOK ¶
func NewActivateRegistryOK() *ActivateRegistryOK
NewActivateRegistryOK creates a ActivateRegistryOK with default headers values
func (*ActivateRegistryOK) Code ¶
func (o *ActivateRegistryOK) Code() int
Code gets the status code for the activate registry o k response
func (*ActivateRegistryOK) Error ¶
func (o *ActivateRegistryOK) Error() string
func (*ActivateRegistryOK) GetPayload ¶
func (o *ActivateRegistryOK) GetPayload() models.HashicorpCloudVagrant20220930ActivateRegistryResponse
func (*ActivateRegistryOK) IsClientError ¶
func (o *ActivateRegistryOK) IsClientError() bool
IsClientError returns true when this activate registry o k response has a 4xx status code
func (*ActivateRegistryOK) IsCode ¶
func (o *ActivateRegistryOK) IsCode(code int) bool
IsCode returns true when this activate registry o k response a status code equal to that given
func (*ActivateRegistryOK) IsRedirect ¶
func (o *ActivateRegistryOK) IsRedirect() bool
IsRedirect returns true when this activate registry o k response has a 3xx status code
func (*ActivateRegistryOK) IsServerError ¶
func (o *ActivateRegistryOK) IsServerError() bool
IsServerError returns true when this activate registry o k response has a 5xx status code
func (*ActivateRegistryOK) IsSuccess ¶
func (o *ActivateRegistryOK) IsSuccess() bool
IsSuccess returns true when this activate registry o k response has a 2xx status code
func (*ActivateRegistryOK) String ¶
func (o *ActivateRegistryOK) String() string
type ActivateRegistryParams ¶
type ActivateRegistryParams struct { /* Registry. The name of the Registry to activate. */ Registry string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ActivateRegistryParams contains all the parameters to send to the API endpoint
for the activate registry operation. Typically these are written to a http.Request.
func NewActivateRegistryParams ¶
func NewActivateRegistryParams() *ActivateRegistryParams
NewActivateRegistryParams creates a new ActivateRegistryParams 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 NewActivateRegistryParamsWithContext ¶
func NewActivateRegistryParamsWithContext(ctx context.Context) *ActivateRegistryParams
NewActivateRegistryParamsWithContext creates a new ActivateRegistryParams object with the ability to set a context for a request.
func NewActivateRegistryParamsWithHTTPClient ¶
func NewActivateRegistryParamsWithHTTPClient(client *http.Client) *ActivateRegistryParams
NewActivateRegistryParamsWithHTTPClient creates a new ActivateRegistryParams object with the ability to set a custom HTTPClient for a request.
func NewActivateRegistryParamsWithTimeout ¶
func NewActivateRegistryParamsWithTimeout(timeout time.Duration) *ActivateRegistryParams
NewActivateRegistryParamsWithTimeout creates a new ActivateRegistryParams object with the ability to set a timeout on a request.
func (*ActivateRegistryParams) SetContext ¶
func (o *ActivateRegistryParams) SetContext(ctx context.Context)
SetContext adds the context to the activate registry params
func (*ActivateRegistryParams) SetDefaults ¶
func (o *ActivateRegistryParams) SetDefaults()
SetDefaults hydrates default values in the activate registry params (not the query body).
All values with no default are reset to their zero value.
func (*ActivateRegistryParams) SetHTTPClient ¶
func (o *ActivateRegistryParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the activate registry params
func (*ActivateRegistryParams) SetRegistry ¶
func (o *ActivateRegistryParams) SetRegistry(registry string)
SetRegistry adds the registry to the activate registry params
func (*ActivateRegistryParams) SetTimeout ¶
func (o *ActivateRegistryParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the activate registry params
func (*ActivateRegistryParams) WithContext ¶
func (o *ActivateRegistryParams) WithContext(ctx context.Context) *ActivateRegistryParams
WithContext adds the context to the activate registry params
func (*ActivateRegistryParams) WithDefaults ¶
func (o *ActivateRegistryParams) WithDefaults() *ActivateRegistryParams
WithDefaults hydrates default values in the activate registry params (not the query body).
All values with no default are reset to their zero value.
func (*ActivateRegistryParams) WithHTTPClient ¶
func (o *ActivateRegistryParams) WithHTTPClient(client *http.Client) *ActivateRegistryParams
WithHTTPClient adds the HTTPClient to the activate registry params
func (*ActivateRegistryParams) WithRegistry ¶
func (o *ActivateRegistryParams) WithRegistry(registry string) *ActivateRegistryParams
WithRegistry adds the registry to the activate registry params
func (*ActivateRegistryParams) WithTimeout ¶
func (o *ActivateRegistryParams) WithTimeout(timeout time.Duration) *ActivateRegistryParams
WithTimeout adds the timeout to the activate registry params
func (*ActivateRegistryParams) WriteToRequest ¶
func (o *ActivateRegistryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ActivateRegistryReader ¶
type ActivateRegistryReader struct {
// contains filtered or unexported fields
}
ActivateRegistryReader is a Reader for the ActivateRegistry structure.
func (*ActivateRegistryReader) ReadResponse ¶
func (o *ActivateRegistryReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for registry service API
func (*Client) ActivateRegistry ¶
func (a *Client) ActivateRegistry(params *ActivateRegistryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ActivateRegistryOK, error)
ActivateRegistry activates registry activates a vagrant box registry at the location specified the registry must already exist and must be currently disabled Activation will re-enable a Registry, allowing requests and
accruing charges as normal.
func (*Client) CompleteDirectUploadBox ¶
func (a *Client) CompleteDirectUploadBox(params *CompleteDirectUploadBoxParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CompleteDirectUploadBoxOK, error)
CompleteDirectUploadBox completes direct upload box is a callback endpoint used to signal than a direct to backend storage upload of boxfile is finished
func (*Client) CreateArchitecture ¶
func (a *Client) CreateArchitecture(params *CreateArchitectureParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateArchitectureOK, error)
CreateArchitecture creates architecture creates a architecture in the specified version
func (*Client) CreateBox ¶
func (a *Client) CreateBox(params *CreateBoxParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateBoxOK, error)
CreateBox creates box creates a new vagrant box
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) CreateRegistry ¶
func (a *Client) CreateRegistry(params *CreateRegistryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateRegistryOK, error)
CreateRegistry creates registry creates a vagrant box registry at the location specified
func (*Client) CreateVersion ¶
func (a *Client) CreateVersion(params *CreateVersionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateVersionOK, error)
CreateVersion creates version creates a new box version
func (*Client) DeactivateRegistry ¶
func (a *Client) DeactivateRegistry(params *DeactivateRegistryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeactivateRegistryOK, error)
DeactivateRegistry deactivates registry deactivates a vagrant box registry at the location specified the registry must already exist and must be currently enabled Deactivation will disable a Registry but not delete its data.
All requests to the Registry will return not-found errors. This can be used to temporarily block access to a Registry to prevent access-related charges to the Registry.
func (*Client) DeleteArchitecture ¶
func (a *Client) DeleteArchitecture(params *DeleteArchitectureParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteArchitectureOK, error)
DeleteArchitecture deletes architecture deletes a architecture note that this deletes any box data associated with an architecture so use with care
func (*Client) DeleteBox ¶
func (a *Client) DeleteBox(params *DeleteBoxParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteBoxOK, error)
DeleteBox deletes box deletes a vagrant box Deleting a Box removes all its Versions and Providers as
well. This operation cannot be undone.
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) DeleteRegistry ¶
func (a *Client) DeleteRegistry(params *DeleteRegistryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteRegistryOK, error)
DeleteRegistry deletes registry deletes a vagrant box registry at the location specified Deletion removes the Registry and all of its Box, Version, and
Provider data, including any Hosted Providers and their respective data. This operation is permanent and cannot be undone.
func (*Client) DeleteVersion ¶
func (a *Client) DeleteVersion(params *DeleteVersionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteVersionOK, error)
DeleteVersion deletes version deletes a box version Deleting a Box Version removes all its Providers as well. This
operation cannot be undone.
func (*Client) DirectUploadBox ¶
func (a *Client) DirectUploadBox(params *DirectUploadBoxParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DirectUploadBoxOK, error)
DirectUploadBox directs upload box initiates the upload of a single hosted boxfile directly to the backend storage the service will return details that can be used to upload the data over HTTP
func (*Client) DownloadBox ¶
func (a *Client) DownloadBox(params *DownloadBoxParams, opts ...ClientOption) (*DownloadBoxOK, error)
DownloadBox downloads initiates a boxfile download For Archivist-hosted Boxfile, this is an atomic call that prepares the
Provider for download from the object storage. For externally-hosted Boxfiles, this is simply a pass-through to the external download data supplied in the record.
func (*Client) ListArchitectures ¶
func (a *Client) ListArchitectures(params *ListArchitecturesParams, opts ...ClientOption) (*ListArchitecturesOK, error)
ListArchitectures lists architectures lists all architectures within a provider
func (*Client) ListBoxes ¶
func (a *Client) ListBoxes(params *ListBoxesParams, opts ...ClientOption) (*ListBoxesOK, error)
ListBoxes lists boxes lists all of the boxes within a particular registry
func (*Client) ListProviders ¶
func (a *Client) ListProviders(params *ListProvidersParams, opts ...ClientOption) (*ListProvidersOK, error)
ListProviders lists providers lists all providers within a version
func (*Client) ListRegistries ¶
func (a *Client) ListRegistries(params *ListRegistriesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListRegistriesOK, error)
ListRegistries lists registries lists available vagrant box registries in a particular project
func (*Client) ListVersions ¶
func (a *Client) ListVersions(params *ListVersionsParams, opts ...ClientOption) (*ListVersionsOK, error)
ListVersions lists version lists all of the versions within a particular box
func (*Client) ReadArchitecture ¶
func (a *Client) ReadArchitecture(params *ReadArchitectureParams, opts ...ClientOption) (*ReadArchitectureOK, error)
ReadArchitecture reads architecture fetches a architecture for the specified provider
func (*Client) ReadBox ¶
func (a *Client) ReadBox(params *ReadBoxParams, opts ...ClientOption) (*ReadBoxOK, error)
ReadBox reads box reads a vagrant box
func (*Client) ReadProvider ¶
func (a *Client) ReadProvider(params *ReadProviderParams, opts ...ClientOption) (*ReadProviderOK, error)
ReadProvider reads provider fetches a provider for the specified version
func (*Client) ReadRegistry ¶
func (a *Client) ReadRegistry(params *ReadRegistryParams, opts ...ClientOption) (*ReadRegistryOK, error)
ReadRegistry reads registry reads a vagrant box registry by its name
func (*Client) ReadVersion ¶
func (a *Client) ReadVersion(params *ReadVersionParams, opts ...ClientOption) (*ReadVersionOK, error)
ReadVersion reads version reads a box version
func (*Client) ReleaseVersion ¶
func (a *Client) ReleaseVersion(params *ReleaseVersionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ReleaseVersionOK, error)
ReleaseVersion releases releases the specified version the version must not already be released
func (*Client) RevokeVersion ¶
func (a *Client) RevokeVersion(params *RevokeVersionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RevokeVersionOK, error)
RevokeVersion revokes revokes the specified version the version must be actively released
func (*Client) Search ¶
func (a *Client) Search(params *SearchParams, opts ...ClientOption) (*SearchOK, error)
Search searches returns a list of available boxes based on search parameters
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateArchitecture ¶
func (a *Client) UpdateArchitecture(params *UpdateArchitectureParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateArchitectureOK, error)
UpdateArchitecture updates architecture updates details about a specified architecture
func (*Client) UpdateBox ¶
func (a *Client) UpdateBox(params *UpdateBoxParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateBoxOK, error)
UpdateBox updates box updates the details of a vagrant box Note that this only updates details about the Box itself. To
work with a Box's Versions or Providers, use those respective services.
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.
func (*Client) UpdateRegistry ¶ added in v0.108.0
func (a *Client) UpdateRegistry(params *UpdateRegistryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateRegistryOK, error)
UpdateRegistry updates registry updates the details of a vagrant box registry
func (*Client) UpdateVersion ¶
func (a *Client) UpdateVersion(params *UpdateVersionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateVersionOK, error)
UpdateVersion updates version updates a box version
func (*Client) UploadBox ¶
func (a *Client) UploadBox(params *UploadBoxParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UploadBoxOK, error)
UploadBox uploads box initiates the upload of a single hosted boxfile the service will return details that can be used to upload the data over HTTP Overwrite is permitted; old/existing data for a particular Architecture will
be replaced with data from a new successful upload for that same Architecture.
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { ActivateRegistry(params *ActivateRegistryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ActivateRegistryOK, error) CompleteDirectUploadBox(params *CompleteDirectUploadBoxParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CompleteDirectUploadBoxOK, error) CreateArchitecture(params *CreateArchitectureParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateArchitectureOK, error) CreateBox(params *CreateBoxParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateBoxOK, error) CreateProvider(params *CreateProviderParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateProviderOK, error) CreateRegistry(params *CreateRegistryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateRegistryOK, error) CreateVersion(params *CreateVersionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateVersionOK, error) DeactivateRegistry(params *DeactivateRegistryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeactivateRegistryOK, error) DeleteArchitecture(params *DeleteArchitectureParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteArchitectureOK, error) DeleteBox(params *DeleteBoxParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteBoxOK, error) DeleteProvider(params *DeleteProviderParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteProviderOK, error) DeleteRegistry(params *DeleteRegistryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteRegistryOK, error) DeleteVersion(params *DeleteVersionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteVersionOK, error) DirectUploadBox(params *DirectUploadBoxParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DirectUploadBoxOK, error) DownloadBox(params *DownloadBoxParams, opts ...ClientOption) (*DownloadBoxOK, error) ListArchitectures(params *ListArchitecturesParams, opts ...ClientOption) (*ListArchitecturesOK, error) ListBoxes(params *ListBoxesParams, opts ...ClientOption) (*ListBoxesOK, error) ListProviders(params *ListProvidersParams, opts ...ClientOption) (*ListProvidersOK, error) ListRegistries(params *ListRegistriesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListRegistriesOK, error) ListVersions(params *ListVersionsParams, opts ...ClientOption) (*ListVersionsOK, error) ReadArchitecture(params *ReadArchitectureParams, opts ...ClientOption) (*ReadArchitectureOK, error) ReadBox(params *ReadBoxParams, opts ...ClientOption) (*ReadBoxOK, error) ReadProvider(params *ReadProviderParams, opts ...ClientOption) (*ReadProviderOK, error) ReadRegistry(params *ReadRegistryParams, opts ...ClientOption) (*ReadRegistryOK, error) ReadVersion(params *ReadVersionParams, opts ...ClientOption) (*ReadVersionOK, error) ReleaseVersion(params *ReleaseVersionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ReleaseVersionOK, error) RevokeVersion(params *RevokeVersionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RevokeVersionOK, error) Search(params *SearchParams, opts ...ClientOption) (*SearchOK, error) UpdateArchitecture(params *UpdateArchitectureParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateArchitectureOK, error) UpdateBox(params *UpdateBoxParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateBoxOK, error) UpdateProvider(params *UpdateProviderParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateProviderOK, error) UpdateRegistry(params *UpdateRegistryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateRegistryOK, error) UpdateVersion(params *UpdateVersionParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateVersionOK, error) UploadBox(params *UploadBoxParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UploadBoxOK, 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 registry service API client.
type CompleteDirectUploadBoxDefault ¶
type CompleteDirectUploadBoxDefault struct { Payload *cloud.GoogleRPCStatus // contains filtered or unexported fields }
CompleteDirectUploadBoxDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewCompleteDirectUploadBoxDefault ¶
func NewCompleteDirectUploadBoxDefault(code int) *CompleteDirectUploadBoxDefault
NewCompleteDirectUploadBoxDefault creates a CompleteDirectUploadBoxDefault with default headers values
func (*CompleteDirectUploadBoxDefault) Code ¶
func (o *CompleteDirectUploadBoxDefault) Code() int
Code gets the status code for the complete direct upload box default response
func (*CompleteDirectUploadBoxDefault) Error ¶
func (o *CompleteDirectUploadBoxDefault) Error() string
func (*CompleteDirectUploadBoxDefault) GetPayload ¶
func (o *CompleteDirectUploadBoxDefault) GetPayload() *cloud.GoogleRPCStatus
func (*CompleteDirectUploadBoxDefault) IsClientError ¶
func (o *CompleteDirectUploadBoxDefault) IsClientError() bool
IsClientError returns true when this complete direct upload box default response has a 4xx status code
func (*CompleteDirectUploadBoxDefault) IsCode ¶
func (o *CompleteDirectUploadBoxDefault) IsCode(code int) bool
IsCode returns true when this complete direct upload box default response a status code equal to that given
func (*CompleteDirectUploadBoxDefault) IsRedirect ¶
func (o *CompleteDirectUploadBoxDefault) IsRedirect() bool
IsRedirect returns true when this complete direct upload box default response has a 3xx status code
func (*CompleteDirectUploadBoxDefault) IsServerError ¶
func (o *CompleteDirectUploadBoxDefault) IsServerError() bool
IsServerError returns true when this complete direct upload box default response has a 5xx status code
func (*CompleteDirectUploadBoxDefault) IsSuccess ¶
func (o *CompleteDirectUploadBoxDefault) IsSuccess() bool
IsSuccess returns true when this complete direct upload box default response has a 2xx status code
func (*CompleteDirectUploadBoxDefault) String ¶
func (o *CompleteDirectUploadBoxDefault) String() string
type CompleteDirectUploadBoxOK ¶
type CompleteDirectUploadBoxOK struct {
Payload models.HashicorpCloudVagrant20220930CompleteDirectUploadBoxResponse
}
CompleteDirectUploadBoxOK describes a response with status code 200, with default header values.
A successful response.
func NewCompleteDirectUploadBoxOK ¶
func NewCompleteDirectUploadBoxOK() *CompleteDirectUploadBoxOK
NewCompleteDirectUploadBoxOK creates a CompleteDirectUploadBoxOK with default headers values
func (*CompleteDirectUploadBoxOK) Code ¶
func (o *CompleteDirectUploadBoxOK) Code() int
Code gets the status code for the complete direct upload box o k response
func (*CompleteDirectUploadBoxOK) Error ¶
func (o *CompleteDirectUploadBoxOK) Error() string
func (*CompleteDirectUploadBoxOK) GetPayload ¶
func (o *CompleteDirectUploadBoxOK) GetPayload() models.HashicorpCloudVagrant20220930CompleteDirectUploadBoxResponse
func (*CompleteDirectUploadBoxOK) IsClientError ¶
func (o *CompleteDirectUploadBoxOK) IsClientError() bool
IsClientError returns true when this complete direct upload box o k response has a 4xx status code
func (*CompleteDirectUploadBoxOK) IsCode ¶
func (o *CompleteDirectUploadBoxOK) IsCode(code int) bool
IsCode returns true when this complete direct upload box o k response a status code equal to that given
func (*CompleteDirectUploadBoxOK) IsRedirect ¶
func (o *CompleteDirectUploadBoxOK) IsRedirect() bool
IsRedirect returns true when this complete direct upload box o k response has a 3xx status code
func (*CompleteDirectUploadBoxOK) IsServerError ¶
func (o *CompleteDirectUploadBoxOK) IsServerError() bool
IsServerError returns true when this complete direct upload box o k response has a 5xx status code
func (*CompleteDirectUploadBoxOK) IsSuccess ¶
func (o *CompleteDirectUploadBoxOK) IsSuccess() bool
IsSuccess returns true when this complete direct upload box o k response has a 2xx status code
func (*CompleteDirectUploadBoxOK) String ¶
func (o *CompleteDirectUploadBoxOK) String() string
type CompleteDirectUploadBoxParams ¶
type CompleteDirectUploadBoxParams struct { /* Architecture. The name of the Architecture. */ Architecture string /* Box. The name segment of the Box. As an example, this field would represent the "vagrant" in "hashicorp/vagrant". */ Box string /* Object. Object identifier. */ Object 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 }
CompleteDirectUploadBoxParams contains all the parameters to send to the API endpoint
for the complete direct upload box operation. Typically these are written to a http.Request.
func NewCompleteDirectUploadBoxParams ¶
func NewCompleteDirectUploadBoxParams() *CompleteDirectUploadBoxParams
NewCompleteDirectUploadBoxParams creates a new CompleteDirectUploadBoxParams 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 NewCompleteDirectUploadBoxParamsWithContext ¶
func NewCompleteDirectUploadBoxParamsWithContext(ctx context.Context) *CompleteDirectUploadBoxParams
NewCompleteDirectUploadBoxParamsWithContext creates a new CompleteDirectUploadBoxParams object with the ability to set a context for a request.
func NewCompleteDirectUploadBoxParamsWithHTTPClient ¶
func NewCompleteDirectUploadBoxParamsWithHTTPClient(client *http.Client) *CompleteDirectUploadBoxParams
NewCompleteDirectUploadBoxParamsWithHTTPClient creates a new CompleteDirectUploadBoxParams object with the ability to set a custom HTTPClient for a request.
func NewCompleteDirectUploadBoxParamsWithTimeout ¶
func NewCompleteDirectUploadBoxParamsWithTimeout(timeout time.Duration) *CompleteDirectUploadBoxParams
NewCompleteDirectUploadBoxParamsWithTimeout creates a new CompleteDirectUploadBoxParams object with the ability to set a timeout on a request.
func (*CompleteDirectUploadBoxParams) SetArchitecture ¶
func (o *CompleteDirectUploadBoxParams) SetArchitecture(architecture string)
SetArchitecture adds the architecture to the complete direct upload box params
func (*CompleteDirectUploadBoxParams) SetBox ¶
func (o *CompleteDirectUploadBoxParams) SetBox(box string)
SetBox adds the box to the complete direct upload box params
func (*CompleteDirectUploadBoxParams) SetContext ¶
func (o *CompleteDirectUploadBoxParams) SetContext(ctx context.Context)
SetContext adds the context to the complete direct upload box params
func (*CompleteDirectUploadBoxParams) SetDefaults ¶
func (o *CompleteDirectUploadBoxParams) SetDefaults()
SetDefaults hydrates default values in the complete direct upload box params (not the query body).
All values with no default are reset to their zero value.
func (*CompleteDirectUploadBoxParams) SetHTTPClient ¶
func (o *CompleteDirectUploadBoxParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the complete direct upload box params
func (*CompleteDirectUploadBoxParams) SetObject ¶
func (o *CompleteDirectUploadBoxParams) SetObject(object string)
SetObject adds the object to the complete direct upload box params
func (*CompleteDirectUploadBoxParams) SetProvider ¶
func (o *CompleteDirectUploadBoxParams) SetProvider(provider string)
SetProvider adds the provider to the complete direct upload box params
func (*CompleteDirectUploadBoxParams) SetRegistry ¶
func (o *CompleteDirectUploadBoxParams) SetRegistry(registry string)
SetRegistry adds the registry to the complete direct upload box params
func (*CompleteDirectUploadBoxParams) SetTimeout ¶
func (o *CompleteDirectUploadBoxParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the complete direct upload box params
func (*CompleteDirectUploadBoxParams) SetVersion ¶
func (o *CompleteDirectUploadBoxParams) SetVersion(version string)
SetVersion adds the version to the complete direct upload box params
func (*CompleteDirectUploadBoxParams) WithArchitecture ¶
func (o *CompleteDirectUploadBoxParams) WithArchitecture(architecture string) *CompleteDirectUploadBoxParams
WithArchitecture adds the architecture to the complete direct upload box params
func (*CompleteDirectUploadBoxParams) WithBox ¶
func (o *CompleteDirectUploadBoxParams) WithBox(box string) *CompleteDirectUploadBoxParams
WithBox adds the box to the complete direct upload box params
func (*CompleteDirectUploadBoxParams) WithContext ¶
func (o *CompleteDirectUploadBoxParams) WithContext(ctx context.Context) *CompleteDirectUploadBoxParams
WithContext adds the context to the complete direct upload box params
func (*CompleteDirectUploadBoxParams) WithDefaults ¶
func (o *CompleteDirectUploadBoxParams) WithDefaults() *CompleteDirectUploadBoxParams
WithDefaults hydrates default values in the complete direct upload box params (not the query body).
All values with no default are reset to their zero value.
func (*CompleteDirectUploadBoxParams) WithHTTPClient ¶
func (o *CompleteDirectUploadBoxParams) WithHTTPClient(client *http.Client) *CompleteDirectUploadBoxParams
WithHTTPClient adds the HTTPClient to the complete direct upload box params
func (*CompleteDirectUploadBoxParams) WithObject ¶
func (o *CompleteDirectUploadBoxParams) WithObject(object string) *CompleteDirectUploadBoxParams
WithObject adds the object to the complete direct upload box params
func (*CompleteDirectUploadBoxParams) WithProvider ¶
func (o *CompleteDirectUploadBoxParams) WithProvider(provider string) *CompleteDirectUploadBoxParams
WithProvider adds the provider to the complete direct upload box params
func (*CompleteDirectUploadBoxParams) WithRegistry ¶
func (o *CompleteDirectUploadBoxParams) WithRegistry(registry string) *CompleteDirectUploadBoxParams
WithRegistry adds the registry to the complete direct upload box params
func (*CompleteDirectUploadBoxParams) WithTimeout ¶
func (o *CompleteDirectUploadBoxParams) WithTimeout(timeout time.Duration) *CompleteDirectUploadBoxParams
WithTimeout adds the timeout to the complete direct upload box params
func (*CompleteDirectUploadBoxParams) WithVersion ¶
func (o *CompleteDirectUploadBoxParams) WithVersion(version string) *CompleteDirectUploadBoxParams
WithVersion adds the version to the complete direct upload box params
func (*CompleteDirectUploadBoxParams) WriteToRequest ¶
func (o *CompleteDirectUploadBoxParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CompleteDirectUploadBoxReader ¶
type CompleteDirectUploadBoxReader struct {
// contains filtered or unexported fields
}
CompleteDirectUploadBoxReader is a Reader for the CompleteDirectUploadBox structure.
func (*CompleteDirectUploadBoxReader) ReadResponse ¶
func (o *CompleteDirectUploadBoxReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateArchitectureDefault ¶
type CreateArchitectureDefault struct { Payload *cloud.GoogleRPCStatus // contains filtered or unexported fields }
CreateArchitectureDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewCreateArchitectureDefault ¶
func NewCreateArchitectureDefault(code int) *CreateArchitectureDefault
NewCreateArchitectureDefault creates a CreateArchitectureDefault with default headers values
func (*CreateArchitectureDefault) Code ¶
func (o *CreateArchitectureDefault) Code() int
Code gets the status code for the create architecture default response
func (*CreateArchitectureDefault) Error ¶
func (o *CreateArchitectureDefault) Error() string
func (*CreateArchitectureDefault) GetPayload ¶
func (o *CreateArchitectureDefault) GetPayload() *cloud.GoogleRPCStatus
func (*CreateArchitectureDefault) IsClientError ¶
func (o *CreateArchitectureDefault) IsClientError() bool
IsClientError returns true when this create architecture default response has a 4xx status code
func (*CreateArchitectureDefault) IsCode ¶
func (o *CreateArchitectureDefault) IsCode(code int) bool
IsCode returns true when this create architecture default response a status code equal to that given
func (*CreateArchitectureDefault) IsRedirect ¶
func (o *CreateArchitectureDefault) IsRedirect() bool
IsRedirect returns true when this create architecture default response has a 3xx status code
func (*CreateArchitectureDefault) IsServerError ¶
func (o *CreateArchitectureDefault) IsServerError() bool
IsServerError returns true when this create architecture default response has a 5xx status code
func (*CreateArchitectureDefault) IsSuccess ¶
func (o *CreateArchitectureDefault) IsSuccess() bool
IsSuccess returns true when this create architecture default response has a 2xx status code
func (*CreateArchitectureDefault) String ¶
func (o *CreateArchitectureDefault) String() string
type CreateArchitectureOK ¶
type CreateArchitectureOK struct {
Payload *models.HashicorpCloudVagrant20220930CreateArchitectureResponse
}
CreateArchitectureOK describes a response with status code 200, with default header values.
A successful response.
func NewCreateArchitectureOK ¶
func NewCreateArchitectureOK() *CreateArchitectureOK
NewCreateArchitectureOK creates a CreateArchitectureOK with default headers values
func (*CreateArchitectureOK) Code ¶
func (o *CreateArchitectureOK) Code() int
Code gets the status code for the create architecture o k response
func (*CreateArchitectureOK) Error ¶
func (o *CreateArchitectureOK) Error() string
func (*CreateArchitectureOK) GetPayload ¶
func (o *CreateArchitectureOK) GetPayload() *models.HashicorpCloudVagrant20220930CreateArchitectureResponse
func (*CreateArchitectureOK) IsClientError ¶
func (o *CreateArchitectureOK) IsClientError() bool
IsClientError returns true when this create architecture o k response has a 4xx status code
func (*CreateArchitectureOK) IsCode ¶
func (o *CreateArchitectureOK) IsCode(code int) bool
IsCode returns true when this create architecture o k response a status code equal to that given
func (*CreateArchitectureOK) IsRedirect ¶
func (o *CreateArchitectureOK) IsRedirect() bool
IsRedirect returns true when this create architecture o k response has a 3xx status code
func (*CreateArchitectureOK) IsServerError ¶
func (o *CreateArchitectureOK) IsServerError() bool
IsServerError returns true when this create architecture o k response has a 5xx status code
func (*CreateArchitectureOK) IsSuccess ¶
func (o *CreateArchitectureOK) IsSuccess() bool
IsSuccess returns true when this create architecture o k response has a 2xx status code
func (*CreateArchitectureOK) String ¶
func (o *CreateArchitectureOK) String() string
type CreateArchitectureParams ¶
type CreateArchitectureParams struct { /* Box. The name segment of the Box. As an example, this field would represent the "vagrant" in "hashicorp/vagrant". */ Box string /* Data. Details of the Architecture to create. */ Data *models.HashicorpCloudVagrant20220930Architecture /* Provider. The name of the Provider to create the Architecture in. */ 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. */ Version string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateArchitectureParams contains all the parameters to send to the API endpoint
for the create architecture operation. Typically these are written to a http.Request.
func NewCreateArchitectureParams ¶
func NewCreateArchitectureParams() *CreateArchitectureParams
NewCreateArchitectureParams creates a new CreateArchitectureParams 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 NewCreateArchitectureParamsWithContext ¶
func NewCreateArchitectureParamsWithContext(ctx context.Context) *CreateArchitectureParams
NewCreateArchitectureParamsWithContext creates a new CreateArchitectureParams object with the ability to set a context for a request.
func NewCreateArchitectureParamsWithHTTPClient ¶
func NewCreateArchitectureParamsWithHTTPClient(client *http.Client) *CreateArchitectureParams
NewCreateArchitectureParamsWithHTTPClient creates a new CreateArchitectureParams object with the ability to set a custom HTTPClient for a request.
func NewCreateArchitectureParamsWithTimeout ¶
func NewCreateArchitectureParamsWithTimeout(timeout time.Duration) *CreateArchitectureParams
NewCreateArchitectureParamsWithTimeout creates a new CreateArchitectureParams object with the ability to set a timeout on a request.
func (*CreateArchitectureParams) SetBox ¶
func (o *CreateArchitectureParams) SetBox(box string)
SetBox adds the box to the create architecture params
func (*CreateArchitectureParams) SetContext ¶
func (o *CreateArchitectureParams) SetContext(ctx context.Context)
SetContext adds the context to the create architecture params
func (*CreateArchitectureParams) SetData ¶
func (o *CreateArchitectureParams) SetData(data *models.HashicorpCloudVagrant20220930Architecture)
SetData adds the data to the create architecture params
func (*CreateArchitectureParams) SetDefaults ¶
func (o *CreateArchitectureParams) SetDefaults()
SetDefaults hydrates default values in the create architecture params (not the query body).
All values with no default are reset to their zero value.
func (*CreateArchitectureParams) SetHTTPClient ¶
func (o *CreateArchitectureParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create architecture params
func (*CreateArchitectureParams) SetProvider ¶
func (o *CreateArchitectureParams) SetProvider(provider string)
SetProvider adds the provider to the create architecture params
func (*CreateArchitectureParams) SetRegistry ¶
func (o *CreateArchitectureParams) SetRegistry(registry string)
SetRegistry adds the registry to the create architecture params
func (*CreateArchitectureParams) SetTimeout ¶
func (o *CreateArchitectureParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create architecture params
func (*CreateArchitectureParams) SetVersion ¶
func (o *CreateArchitectureParams) SetVersion(version string)
SetVersion adds the version to the create architecture params
func (*CreateArchitectureParams) WithBox ¶
func (o *CreateArchitectureParams) WithBox(box string) *CreateArchitectureParams
WithBox adds the box to the create architecture params
func (*CreateArchitectureParams) WithContext ¶
func (o *CreateArchitectureParams) WithContext(ctx context.Context) *CreateArchitectureParams
WithContext adds the context to the create architecture params
func (*CreateArchitectureParams) WithData ¶
func (o *CreateArchitectureParams) WithData(data *models.HashicorpCloudVagrant20220930Architecture) *CreateArchitectureParams
WithData adds the data to the create architecture params
func (*CreateArchitectureParams) WithDefaults ¶
func (o *CreateArchitectureParams) WithDefaults() *CreateArchitectureParams
WithDefaults hydrates default values in the create architecture params (not the query body).
All values with no default are reset to their zero value.
func (*CreateArchitectureParams) WithHTTPClient ¶
func (o *CreateArchitectureParams) WithHTTPClient(client *http.Client) *CreateArchitectureParams
WithHTTPClient adds the HTTPClient to the create architecture params
func (*CreateArchitectureParams) WithProvider ¶
func (o *CreateArchitectureParams) WithProvider(provider string) *CreateArchitectureParams
WithProvider adds the provider to the create architecture params
func (*CreateArchitectureParams) WithRegistry ¶
func (o *CreateArchitectureParams) WithRegistry(registry string) *CreateArchitectureParams
WithRegistry adds the registry to the create architecture params
func (*CreateArchitectureParams) WithTimeout ¶
func (o *CreateArchitectureParams) WithTimeout(timeout time.Duration) *CreateArchitectureParams
WithTimeout adds the timeout to the create architecture params
func (*CreateArchitectureParams) WithVersion ¶
func (o *CreateArchitectureParams) WithVersion(version string) *CreateArchitectureParams
WithVersion adds the version to the create architecture params
func (*CreateArchitectureParams) WriteToRequest ¶
func (o *CreateArchitectureParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateArchitectureReader ¶
type CreateArchitectureReader struct {
// contains filtered or unexported fields
}
CreateArchitectureReader is a Reader for the CreateArchitecture structure.
func (*CreateArchitectureReader) ReadResponse ¶
func (o *CreateArchitectureReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateBoxDefault ¶
type CreateBoxDefault struct { Payload *cloud.GoogleRPCStatus // contains filtered or unexported fields }
CreateBoxDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewCreateBoxDefault ¶
func NewCreateBoxDefault(code int) *CreateBoxDefault
NewCreateBoxDefault creates a CreateBoxDefault with default headers values
func (*CreateBoxDefault) Code ¶
func (o *CreateBoxDefault) Code() int
Code gets the status code for the create box default response
func (*CreateBoxDefault) Error ¶
func (o *CreateBoxDefault) Error() string
func (*CreateBoxDefault) GetPayload ¶
func (o *CreateBoxDefault) GetPayload() *cloud.GoogleRPCStatus
func (*CreateBoxDefault) IsClientError ¶
func (o *CreateBoxDefault) IsClientError() bool
IsClientError returns true when this create box default response has a 4xx status code
func (*CreateBoxDefault) IsCode ¶
func (o *CreateBoxDefault) IsCode(code int) bool
IsCode returns true when this create box default response a status code equal to that given
func (*CreateBoxDefault) IsRedirect ¶
func (o *CreateBoxDefault) IsRedirect() bool
IsRedirect returns true when this create box default response has a 3xx status code
func (*CreateBoxDefault) IsServerError ¶
func (o *CreateBoxDefault) IsServerError() bool
IsServerError returns true when this create box default response has a 5xx status code
func (*CreateBoxDefault) IsSuccess ¶
func (o *CreateBoxDefault) IsSuccess() bool
IsSuccess returns true when this create box default response has a 2xx status code
func (*CreateBoxDefault) String ¶
func (o *CreateBoxDefault) String() string
type CreateBoxOK ¶
type CreateBoxOK struct {
Payload *models.HashicorpCloudVagrant20220930CreateBoxResponse
}
CreateBoxOK describes a response with status code 200, with default header values.
A successful response.
func NewCreateBoxOK ¶
func NewCreateBoxOK() *CreateBoxOK
NewCreateBoxOK creates a CreateBoxOK with default headers values
func (*CreateBoxOK) Code ¶
func (o *CreateBoxOK) Code() int
Code gets the status code for the create box o k response
func (*CreateBoxOK) Error ¶
func (o *CreateBoxOK) Error() string
func (*CreateBoxOK) GetPayload ¶
func (o *CreateBoxOK) GetPayload() *models.HashicorpCloudVagrant20220930CreateBoxResponse
func (*CreateBoxOK) IsClientError ¶
func (o *CreateBoxOK) IsClientError() bool
IsClientError returns true when this create box o k response has a 4xx status code
func (*CreateBoxOK) IsCode ¶
func (o *CreateBoxOK) IsCode(code int) bool
IsCode returns true when this create box o k response a status code equal to that given
func (*CreateBoxOK) IsRedirect ¶
func (o *CreateBoxOK) IsRedirect() bool
IsRedirect returns true when this create box o k response has a 3xx status code
func (*CreateBoxOK) IsServerError ¶
func (o *CreateBoxOK) IsServerError() bool
IsServerError returns true when this create box o k response has a 5xx status code
func (*CreateBoxOK) IsSuccess ¶
func (o *CreateBoxOK) IsSuccess() bool
IsSuccess returns true when this create box o k response has a 2xx status code
func (*CreateBoxOK) String ¶
func (o *CreateBoxOK) String() string
type CreateBoxParams ¶
type CreateBoxParams struct { /* Data. Details of the Box to create. */ Data *models.HashicorpCloudVagrant20220930Box /* Registry. The Registry segment of the Box. As an example, this field would represent the "hashicorp" in "hashicorp/vagrant". */ Registry string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateBoxParams contains all the parameters to send to the API endpoint
for the create box operation. Typically these are written to a http.Request.
func NewCreateBoxParams ¶
func NewCreateBoxParams() *CreateBoxParams
NewCreateBoxParams creates a new CreateBoxParams 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 NewCreateBoxParamsWithContext ¶
func NewCreateBoxParamsWithContext(ctx context.Context) *CreateBoxParams
NewCreateBoxParamsWithContext creates a new CreateBoxParams object with the ability to set a context for a request.
func NewCreateBoxParamsWithHTTPClient ¶
func NewCreateBoxParamsWithHTTPClient(client *http.Client) *CreateBoxParams
NewCreateBoxParamsWithHTTPClient creates a new CreateBoxParams object with the ability to set a custom HTTPClient for a request.
func NewCreateBoxParamsWithTimeout ¶
func NewCreateBoxParamsWithTimeout(timeout time.Duration) *CreateBoxParams
NewCreateBoxParamsWithTimeout creates a new CreateBoxParams object with the ability to set a timeout on a request.
func (*CreateBoxParams) SetContext ¶
func (o *CreateBoxParams) SetContext(ctx context.Context)
SetContext adds the context to the create box params
func (*CreateBoxParams) SetData ¶
func (o *CreateBoxParams) SetData(data *models.HashicorpCloudVagrant20220930Box)
SetData adds the data to the create box params
func (*CreateBoxParams) SetDefaults ¶
func (o *CreateBoxParams) SetDefaults()
SetDefaults hydrates default values in the create box params (not the query body).
All values with no default are reset to their zero value.
func (*CreateBoxParams) SetHTTPClient ¶
func (o *CreateBoxParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create box params
func (*CreateBoxParams) SetRegistry ¶
func (o *CreateBoxParams) SetRegistry(registry string)
SetRegistry adds the registry to the create box params
func (*CreateBoxParams) SetTimeout ¶
func (o *CreateBoxParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create box params
func (*CreateBoxParams) WithContext ¶
func (o *CreateBoxParams) WithContext(ctx context.Context) *CreateBoxParams
WithContext adds the context to the create box params
func (*CreateBoxParams) WithData ¶
func (o *CreateBoxParams) WithData(data *models.HashicorpCloudVagrant20220930Box) *CreateBoxParams
WithData adds the data to the create box params
func (*CreateBoxParams) WithDefaults ¶
func (o *CreateBoxParams) WithDefaults() *CreateBoxParams
WithDefaults hydrates default values in the create box params (not the query body).
All values with no default are reset to their zero value.
func (*CreateBoxParams) WithHTTPClient ¶
func (o *CreateBoxParams) WithHTTPClient(client *http.Client) *CreateBoxParams
WithHTTPClient adds the HTTPClient to the create box params
func (*CreateBoxParams) WithRegistry ¶
func (o *CreateBoxParams) WithRegistry(registry string) *CreateBoxParams
WithRegistry adds the registry to the create box params
func (*CreateBoxParams) WithTimeout ¶
func (o *CreateBoxParams) WithTimeout(timeout time.Duration) *CreateBoxParams
WithTimeout adds the timeout to the create box params
func (*CreateBoxParams) WriteToRequest ¶
func (o *CreateBoxParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateBoxReader ¶
type CreateBoxReader struct {
// contains filtered or unexported fields
}
CreateBoxReader is a Reader for the CreateBox structure.
func (*CreateBoxReader) ReadResponse ¶
func (o *CreateBoxReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateProviderDefault ¶
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 ¶
func NewCreateProviderDefault(code int) *CreateProviderDefault
NewCreateProviderDefault creates a CreateProviderDefault with default headers values
func (*CreateProviderDefault) Code ¶
func (o *CreateProviderDefault) Code() int
Code gets the status code for the create provider default response
func (*CreateProviderDefault) Error ¶
func (o *CreateProviderDefault) Error() string
func (*CreateProviderDefault) GetPayload ¶
func (o *CreateProviderDefault) GetPayload() *cloud.GoogleRPCStatus
func (*CreateProviderDefault) IsClientError ¶
func (o *CreateProviderDefault) IsClientError() bool
IsClientError returns true when this create provider default response has a 4xx status code
func (*CreateProviderDefault) IsCode ¶
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 ¶
func (o *CreateProviderDefault) IsRedirect() bool
IsRedirect returns true when this create provider default response has a 3xx status code
func (*CreateProviderDefault) IsServerError ¶
func (o *CreateProviderDefault) IsServerError() bool
IsServerError returns true when this create provider default response has a 5xx status code
func (*CreateProviderDefault) IsSuccess ¶
func (o *CreateProviderDefault) IsSuccess() bool
IsSuccess returns true when this create provider default response has a 2xx status code
func (*CreateProviderDefault) String ¶
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 ¶
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 ¶
func (o *CreateProviderOK) IsClientError() bool
IsClientError returns true when this create provider o k response has a 4xx status code
func (*CreateProviderOK) IsCode ¶
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 ¶
func (o *CreateProviderOK) IsRedirect() bool
IsRedirect returns true when this create provider o k response has a 3xx status code
func (*CreateProviderOK) IsServerError ¶
func (o *CreateProviderOK) IsServerError() bool
IsServerError returns true when this create provider o k response has a 5xx status code
func (*CreateProviderOK) IsSuccess ¶
func (o *CreateProviderOK) IsSuccess() bool
IsSuccess returns true when this create provider o k response has a 2xx status code
func (*CreateProviderOK) String ¶
func (o *CreateProviderOK) String() string
type CreateProviderParams ¶
type CreateProviderParams struct { /* Box. The name segment of the Box. As an example, this field would represent the "vagrant" in "hashicorp/vagrant". */ Box string /* Data. Details of the Provider to create. */ Data *models.HashicorpCloudVagrant20220930Provider /* 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) 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) SetData ¶
func (o *CreateProviderParams) SetData(data *models.HashicorpCloudVagrant20220930Provider)
SetData adds the data to the create provider params
func (*CreateProviderParams) SetDefaults ¶
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) 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) WithData ¶
func (o *CreateProviderParams) WithData(data *models.HashicorpCloudVagrant20220930Provider) *CreateProviderParams
WithData adds the data to the create provider params
func (*CreateProviderParams) WithDefaults ¶
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 CreateRegistryDefault ¶
type CreateRegistryDefault struct { Payload *cloud.GoogleRPCStatus // contains filtered or unexported fields }
CreateRegistryDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewCreateRegistryDefault ¶
func NewCreateRegistryDefault(code int) *CreateRegistryDefault
NewCreateRegistryDefault creates a CreateRegistryDefault with default headers values
func (*CreateRegistryDefault) Code ¶
func (o *CreateRegistryDefault) Code() int
Code gets the status code for the create registry default response
func (*CreateRegistryDefault) Error ¶
func (o *CreateRegistryDefault) Error() string
func (*CreateRegistryDefault) GetPayload ¶
func (o *CreateRegistryDefault) GetPayload() *cloud.GoogleRPCStatus
func (*CreateRegistryDefault) IsClientError ¶
func (o *CreateRegistryDefault) IsClientError() bool
IsClientError returns true when this create registry default response has a 4xx status code
func (*CreateRegistryDefault) IsCode ¶
func (o *CreateRegistryDefault) IsCode(code int) bool
IsCode returns true when this create registry default response a status code equal to that given
func (*CreateRegistryDefault) IsRedirect ¶
func (o *CreateRegistryDefault) IsRedirect() bool
IsRedirect returns true when this create registry default response has a 3xx status code
func (*CreateRegistryDefault) IsServerError ¶
func (o *CreateRegistryDefault) IsServerError() bool
IsServerError returns true when this create registry default response has a 5xx status code
func (*CreateRegistryDefault) IsSuccess ¶
func (o *CreateRegistryDefault) IsSuccess() bool
IsSuccess returns true when this create registry default response has a 2xx status code
func (*CreateRegistryDefault) String ¶
func (o *CreateRegistryDefault) String() string
type CreateRegistryOK ¶
type CreateRegistryOK struct {
Payload *models.HashicorpCloudVagrant20220930CreateRegistryResponse
}
CreateRegistryOK describes a response with status code 200, with default header values.
A successful response.
func NewCreateRegistryOK ¶
func NewCreateRegistryOK() *CreateRegistryOK
NewCreateRegistryOK creates a CreateRegistryOK with default headers values
func (*CreateRegistryOK) Code ¶
func (o *CreateRegistryOK) Code() int
Code gets the status code for the create registry o k response
func (*CreateRegistryOK) Error ¶
func (o *CreateRegistryOK) Error() string
func (*CreateRegistryOK) GetPayload ¶
func (o *CreateRegistryOK) GetPayload() *models.HashicorpCloudVagrant20220930CreateRegistryResponse
func (*CreateRegistryOK) IsClientError ¶
func (o *CreateRegistryOK) IsClientError() bool
IsClientError returns true when this create registry o k response has a 4xx status code
func (*CreateRegistryOK) IsCode ¶
func (o *CreateRegistryOK) IsCode(code int) bool
IsCode returns true when this create registry o k response a status code equal to that given
func (*CreateRegistryOK) IsRedirect ¶
func (o *CreateRegistryOK) IsRedirect() bool
IsRedirect returns true when this create registry o k response has a 3xx status code
func (*CreateRegistryOK) IsServerError ¶
func (o *CreateRegistryOK) IsServerError() bool
IsServerError returns true when this create registry o k response has a 5xx status code
func (*CreateRegistryOK) IsSuccess ¶
func (o *CreateRegistryOK) IsSuccess() bool
IsSuccess returns true when this create registry o k response has a 2xx status code
func (*CreateRegistryOK) String ¶
func (o *CreateRegistryOK) String() string
type CreateRegistryParams ¶
type CreateRegistryParams struct { /* Data. Details of the Registry to create. */ Data *models.HashicorpCloudVagrant20220930Registry Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateRegistryParams contains all the parameters to send to the API endpoint
for the create registry operation. Typically these are written to a http.Request.
func NewCreateRegistryParams ¶
func NewCreateRegistryParams() *CreateRegistryParams
NewCreateRegistryParams creates a new CreateRegistryParams 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 NewCreateRegistryParamsWithContext ¶
func NewCreateRegistryParamsWithContext(ctx context.Context) *CreateRegistryParams
NewCreateRegistryParamsWithContext creates a new CreateRegistryParams object with the ability to set a context for a request.
func NewCreateRegistryParamsWithHTTPClient ¶
func NewCreateRegistryParamsWithHTTPClient(client *http.Client) *CreateRegistryParams
NewCreateRegistryParamsWithHTTPClient creates a new CreateRegistryParams object with the ability to set a custom HTTPClient for a request.
func NewCreateRegistryParamsWithTimeout ¶
func NewCreateRegistryParamsWithTimeout(timeout time.Duration) *CreateRegistryParams
NewCreateRegistryParamsWithTimeout creates a new CreateRegistryParams object with the ability to set a timeout on a request.
func (*CreateRegistryParams) SetContext ¶
func (o *CreateRegistryParams) SetContext(ctx context.Context)
SetContext adds the context to the create registry params
func (*CreateRegistryParams) SetData ¶
func (o *CreateRegistryParams) SetData(data *models.HashicorpCloudVagrant20220930Registry)
SetData adds the data to the create registry params
func (*CreateRegistryParams) SetDefaults ¶
func (o *CreateRegistryParams) SetDefaults()
SetDefaults hydrates default values in the create registry params (not the query body).
All values with no default are reset to their zero value.
func (*CreateRegistryParams) SetHTTPClient ¶
func (o *CreateRegistryParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create registry params
func (*CreateRegistryParams) SetTimeout ¶
func (o *CreateRegistryParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create registry params
func (*CreateRegistryParams) WithContext ¶
func (o *CreateRegistryParams) WithContext(ctx context.Context) *CreateRegistryParams
WithContext adds the context to the create registry params
func (*CreateRegistryParams) WithData ¶
func (o *CreateRegistryParams) WithData(data *models.HashicorpCloudVagrant20220930Registry) *CreateRegistryParams
WithData adds the data to the create registry params
func (*CreateRegistryParams) WithDefaults ¶
func (o *CreateRegistryParams) WithDefaults() *CreateRegistryParams
WithDefaults hydrates default values in the create registry params (not the query body).
All values with no default are reset to their zero value.
func (*CreateRegistryParams) WithHTTPClient ¶
func (o *CreateRegistryParams) WithHTTPClient(client *http.Client) *CreateRegistryParams
WithHTTPClient adds the HTTPClient to the create registry params
func (*CreateRegistryParams) WithTimeout ¶
func (o *CreateRegistryParams) WithTimeout(timeout time.Duration) *CreateRegistryParams
WithTimeout adds the timeout to the create registry params
func (*CreateRegistryParams) WriteToRequest ¶
func (o *CreateRegistryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateRegistryReader ¶
type CreateRegistryReader struct {
// contains filtered or unexported fields
}
CreateRegistryReader is a Reader for the CreateRegistry structure.
func (*CreateRegistryReader) ReadResponse ¶
func (o *CreateRegistryReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateVersionDefault ¶
type CreateVersionDefault struct { Payload *cloud.GoogleRPCStatus // contains filtered or unexported fields }
CreateVersionDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewCreateVersionDefault ¶
func NewCreateVersionDefault(code int) *CreateVersionDefault
NewCreateVersionDefault creates a CreateVersionDefault with default headers values
func (*CreateVersionDefault) Code ¶
func (o *CreateVersionDefault) Code() int
Code gets the status code for the create version default response
func (*CreateVersionDefault) Error ¶
func (o *CreateVersionDefault) Error() string
func (*CreateVersionDefault) GetPayload ¶
func (o *CreateVersionDefault) GetPayload() *cloud.GoogleRPCStatus
func (*CreateVersionDefault) IsClientError ¶
func (o *CreateVersionDefault) IsClientError() bool
IsClientError returns true when this create version default response has a 4xx status code
func (*CreateVersionDefault) IsCode ¶
func (o *CreateVersionDefault) IsCode(code int) bool
IsCode returns true when this create version default response a status code equal to that given
func (*CreateVersionDefault) IsRedirect ¶
func (o *CreateVersionDefault) IsRedirect() bool
IsRedirect returns true when this create version default response has a 3xx status code
func (*CreateVersionDefault) IsServerError ¶
func (o *CreateVersionDefault) IsServerError() bool
IsServerError returns true when this create version default response has a 5xx status code
func (*CreateVersionDefault) IsSuccess ¶
func (o *CreateVersionDefault) IsSuccess() bool
IsSuccess returns true when this create version default response has a 2xx status code
func (*CreateVersionDefault) String ¶
func (o *CreateVersionDefault) String() string
type CreateVersionOK ¶
type CreateVersionOK struct {
Payload *models.HashicorpCloudVagrant20220930CreateVersionResponse
}
CreateVersionOK describes a response with status code 200, with default header values.
A successful response.
func NewCreateVersionOK ¶
func NewCreateVersionOK() *CreateVersionOK
NewCreateVersionOK creates a CreateVersionOK with default headers values
func (*CreateVersionOK) Code ¶
func (o *CreateVersionOK) Code() int
Code gets the status code for the create version o k response
func (*CreateVersionOK) Error ¶
func (o *CreateVersionOK) Error() string
func (*CreateVersionOK) GetPayload ¶
func (o *CreateVersionOK) GetPayload() *models.HashicorpCloudVagrant20220930CreateVersionResponse
func (*CreateVersionOK) IsClientError ¶
func (o *CreateVersionOK) IsClientError() bool
IsClientError returns true when this create version o k response has a 4xx status code
func (*CreateVersionOK) IsCode ¶
func (o *CreateVersionOK) IsCode(code int) bool
IsCode returns true when this create version o k response a status code equal to that given
func (*CreateVersionOK) IsRedirect ¶
func (o *CreateVersionOK) IsRedirect() bool
IsRedirect returns true when this create version o k response has a 3xx status code
func (*CreateVersionOK) IsServerError ¶
func (o *CreateVersionOK) IsServerError() bool
IsServerError returns true when this create version o k response has a 5xx status code
func (*CreateVersionOK) IsSuccess ¶
func (o *CreateVersionOK) IsSuccess() bool
IsSuccess returns true when this create version o k response has a 2xx status code
func (*CreateVersionOK) String ¶
func (o *CreateVersionOK) String() string
type CreateVersionParams ¶
type CreateVersionParams struct { /* Box. The name segment of the Box. As an example, this field would represent the "vagrant" in "hashicorp/vagrant". */ Box string /* Data. Details of the Version to create. */ Data *models.HashicorpCloudVagrant20220930Version /* Registry. The Registry segment of the Box. As an example, this field would represent the "hashicorp" in "hashicorp/vagrant". */ Registry string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateVersionParams contains all the parameters to send to the API endpoint
for the create version operation. Typically these are written to a http.Request.
func NewCreateVersionParams ¶
func NewCreateVersionParams() *CreateVersionParams
NewCreateVersionParams creates a new CreateVersionParams 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 NewCreateVersionParamsWithContext ¶
func NewCreateVersionParamsWithContext(ctx context.Context) *CreateVersionParams
NewCreateVersionParamsWithContext creates a new CreateVersionParams object with the ability to set a context for a request.
func NewCreateVersionParamsWithHTTPClient ¶
func NewCreateVersionParamsWithHTTPClient(client *http.Client) *CreateVersionParams
NewCreateVersionParamsWithHTTPClient creates a new CreateVersionParams object with the ability to set a custom HTTPClient for a request.
func NewCreateVersionParamsWithTimeout ¶
func NewCreateVersionParamsWithTimeout(timeout time.Duration) *CreateVersionParams
NewCreateVersionParamsWithTimeout creates a new CreateVersionParams object with the ability to set a timeout on a request.
func (*CreateVersionParams) SetBox ¶
func (o *CreateVersionParams) SetBox(box string)
SetBox adds the box to the create version params
func (*CreateVersionParams) SetContext ¶
func (o *CreateVersionParams) SetContext(ctx context.Context)
SetContext adds the context to the create version params
func (*CreateVersionParams) SetData ¶
func (o *CreateVersionParams) SetData(data *models.HashicorpCloudVagrant20220930Version)
SetData adds the data to the create version params
func (*CreateVersionParams) SetDefaults ¶
func (o *CreateVersionParams) SetDefaults()
SetDefaults hydrates default values in the create version params (not the query body).
All values with no default are reset to their zero value.
func (*CreateVersionParams) SetHTTPClient ¶
func (o *CreateVersionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create version params
func (*CreateVersionParams) SetRegistry ¶
func (o *CreateVersionParams) SetRegistry(registry string)
SetRegistry adds the registry to the create version params
func (*CreateVersionParams) SetTimeout ¶
func (o *CreateVersionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create version params
func (*CreateVersionParams) WithBox ¶
func (o *CreateVersionParams) WithBox(box string) *CreateVersionParams
WithBox adds the box to the create version params
func (*CreateVersionParams) WithContext ¶
func (o *CreateVersionParams) WithContext(ctx context.Context) *CreateVersionParams
WithContext adds the context to the create version params
func (*CreateVersionParams) WithData ¶
func (o *CreateVersionParams) WithData(data *models.HashicorpCloudVagrant20220930Version) *CreateVersionParams
WithData adds the data to the create version params
func (*CreateVersionParams) WithDefaults ¶
func (o *CreateVersionParams) WithDefaults() *CreateVersionParams
WithDefaults hydrates default values in the create version params (not the query body).
All values with no default are reset to their zero value.
func (*CreateVersionParams) WithHTTPClient ¶
func (o *CreateVersionParams) WithHTTPClient(client *http.Client) *CreateVersionParams
WithHTTPClient adds the HTTPClient to the create version params
func (*CreateVersionParams) WithRegistry ¶
func (o *CreateVersionParams) WithRegistry(registry string) *CreateVersionParams
WithRegistry adds the registry to the create version params
func (*CreateVersionParams) WithTimeout ¶
func (o *CreateVersionParams) WithTimeout(timeout time.Duration) *CreateVersionParams
WithTimeout adds the timeout to the create version params
func (*CreateVersionParams) WriteToRequest ¶
func (o *CreateVersionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateVersionReader ¶
type CreateVersionReader struct {
// contains filtered or unexported fields
}
CreateVersionReader is a Reader for the CreateVersion structure.
func (*CreateVersionReader) ReadResponse ¶
func (o *CreateVersionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeactivateRegistryDefault ¶
type DeactivateRegistryDefault struct { Payload *cloud.GoogleRPCStatus // contains filtered or unexported fields }
DeactivateRegistryDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewDeactivateRegistryDefault ¶
func NewDeactivateRegistryDefault(code int) *DeactivateRegistryDefault
NewDeactivateRegistryDefault creates a DeactivateRegistryDefault with default headers values
func (*DeactivateRegistryDefault) Code ¶
func (o *DeactivateRegistryDefault) Code() int
Code gets the status code for the deactivate registry default response
func (*DeactivateRegistryDefault) Error ¶
func (o *DeactivateRegistryDefault) Error() string
func (*DeactivateRegistryDefault) GetPayload ¶
func (o *DeactivateRegistryDefault) GetPayload() *cloud.GoogleRPCStatus
func (*DeactivateRegistryDefault) IsClientError ¶
func (o *DeactivateRegistryDefault) IsClientError() bool
IsClientError returns true when this deactivate registry default response has a 4xx status code
func (*DeactivateRegistryDefault) IsCode ¶
func (o *DeactivateRegistryDefault) IsCode(code int) bool
IsCode returns true when this deactivate registry default response a status code equal to that given
func (*DeactivateRegistryDefault) IsRedirect ¶
func (o *DeactivateRegistryDefault) IsRedirect() bool
IsRedirect returns true when this deactivate registry default response has a 3xx status code
func (*DeactivateRegistryDefault) IsServerError ¶
func (o *DeactivateRegistryDefault) IsServerError() bool
IsServerError returns true when this deactivate registry default response has a 5xx status code
func (*DeactivateRegistryDefault) IsSuccess ¶
func (o *DeactivateRegistryDefault) IsSuccess() bool
IsSuccess returns true when this deactivate registry default response has a 2xx status code
func (*DeactivateRegistryDefault) String ¶
func (o *DeactivateRegistryDefault) String() string
type DeactivateRegistryOK ¶
type DeactivateRegistryOK struct {
Payload models.HashicorpCloudVagrant20220930DeactivateRegistryResponse
}
DeactivateRegistryOK describes a response with status code 200, with default header values.
A successful response.
func NewDeactivateRegistryOK ¶
func NewDeactivateRegistryOK() *DeactivateRegistryOK
NewDeactivateRegistryOK creates a DeactivateRegistryOK with default headers values
func (*DeactivateRegistryOK) Code ¶
func (o *DeactivateRegistryOK) Code() int
Code gets the status code for the deactivate registry o k response
func (*DeactivateRegistryOK) Error ¶
func (o *DeactivateRegistryOK) Error() string
func (*DeactivateRegistryOK) GetPayload ¶
func (o *DeactivateRegistryOK) GetPayload() models.HashicorpCloudVagrant20220930DeactivateRegistryResponse
func (*DeactivateRegistryOK) IsClientError ¶
func (o *DeactivateRegistryOK) IsClientError() bool
IsClientError returns true when this deactivate registry o k response has a 4xx status code
func (*DeactivateRegistryOK) IsCode ¶
func (o *DeactivateRegistryOK) IsCode(code int) bool
IsCode returns true when this deactivate registry o k response a status code equal to that given
func (*DeactivateRegistryOK) IsRedirect ¶
func (o *DeactivateRegistryOK) IsRedirect() bool
IsRedirect returns true when this deactivate registry o k response has a 3xx status code
func (*DeactivateRegistryOK) IsServerError ¶
func (o *DeactivateRegistryOK) IsServerError() bool
IsServerError returns true when this deactivate registry o k response has a 5xx status code
func (*DeactivateRegistryOK) IsSuccess ¶
func (o *DeactivateRegistryOK) IsSuccess() bool
IsSuccess returns true when this deactivate registry o k response has a 2xx status code
func (*DeactivateRegistryOK) String ¶
func (o *DeactivateRegistryOK) String() string
type DeactivateRegistryParams ¶
type DeactivateRegistryParams struct { /* Registry. The name of the Registry to deactivate. */ Registry string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeactivateRegistryParams contains all the parameters to send to the API endpoint
for the deactivate registry operation. Typically these are written to a http.Request.
func NewDeactivateRegistryParams ¶
func NewDeactivateRegistryParams() *DeactivateRegistryParams
NewDeactivateRegistryParams creates a new DeactivateRegistryParams 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 NewDeactivateRegistryParamsWithContext ¶
func NewDeactivateRegistryParamsWithContext(ctx context.Context) *DeactivateRegistryParams
NewDeactivateRegistryParamsWithContext creates a new DeactivateRegistryParams object with the ability to set a context for a request.
func NewDeactivateRegistryParamsWithHTTPClient ¶
func NewDeactivateRegistryParamsWithHTTPClient(client *http.Client) *DeactivateRegistryParams
NewDeactivateRegistryParamsWithHTTPClient creates a new DeactivateRegistryParams object with the ability to set a custom HTTPClient for a request.
func NewDeactivateRegistryParamsWithTimeout ¶
func NewDeactivateRegistryParamsWithTimeout(timeout time.Duration) *DeactivateRegistryParams
NewDeactivateRegistryParamsWithTimeout creates a new DeactivateRegistryParams object with the ability to set a timeout on a request.
func (*DeactivateRegistryParams) SetContext ¶
func (o *DeactivateRegistryParams) SetContext(ctx context.Context)
SetContext adds the context to the deactivate registry params
func (*DeactivateRegistryParams) SetDefaults ¶
func (o *DeactivateRegistryParams) SetDefaults()
SetDefaults hydrates default values in the deactivate registry params (not the query body).
All values with no default are reset to their zero value.
func (*DeactivateRegistryParams) SetHTTPClient ¶
func (o *DeactivateRegistryParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the deactivate registry params
func (*DeactivateRegistryParams) SetRegistry ¶
func (o *DeactivateRegistryParams) SetRegistry(registry string)
SetRegistry adds the registry to the deactivate registry params
func (*DeactivateRegistryParams) SetTimeout ¶
func (o *DeactivateRegistryParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the deactivate registry params
func (*DeactivateRegistryParams) WithContext ¶
func (o *DeactivateRegistryParams) WithContext(ctx context.Context) *DeactivateRegistryParams
WithContext adds the context to the deactivate registry params
func (*DeactivateRegistryParams) WithDefaults ¶
func (o *DeactivateRegistryParams) WithDefaults() *DeactivateRegistryParams
WithDefaults hydrates default values in the deactivate registry params (not the query body).
All values with no default are reset to their zero value.
func (*DeactivateRegistryParams) WithHTTPClient ¶
func (o *DeactivateRegistryParams) WithHTTPClient(client *http.Client) *DeactivateRegistryParams
WithHTTPClient adds the HTTPClient to the deactivate registry params
func (*DeactivateRegistryParams) WithRegistry ¶
func (o *DeactivateRegistryParams) WithRegistry(registry string) *DeactivateRegistryParams
WithRegistry adds the registry to the deactivate registry params
func (*DeactivateRegistryParams) WithTimeout ¶
func (o *DeactivateRegistryParams) WithTimeout(timeout time.Duration) *DeactivateRegistryParams
WithTimeout adds the timeout to the deactivate registry params
func (*DeactivateRegistryParams) WriteToRequest ¶
func (o *DeactivateRegistryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeactivateRegistryReader ¶
type DeactivateRegistryReader struct {
// contains filtered or unexported fields
}
DeactivateRegistryReader is a Reader for the DeactivateRegistry structure.
func (*DeactivateRegistryReader) ReadResponse ¶
func (o *DeactivateRegistryReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteArchitectureDefault ¶
type DeleteArchitectureDefault struct { Payload *cloud.GoogleRPCStatus // contains filtered or unexported fields }
DeleteArchitectureDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewDeleteArchitectureDefault ¶
func NewDeleteArchitectureDefault(code int) *DeleteArchitectureDefault
NewDeleteArchitectureDefault creates a DeleteArchitectureDefault with default headers values
func (*DeleteArchitectureDefault) Code ¶
func (o *DeleteArchitectureDefault) Code() int
Code gets the status code for the delete architecture default response
func (*DeleteArchitectureDefault) Error ¶
func (o *DeleteArchitectureDefault) Error() string
func (*DeleteArchitectureDefault) GetPayload ¶
func (o *DeleteArchitectureDefault) GetPayload() *cloud.GoogleRPCStatus
func (*DeleteArchitectureDefault) IsClientError ¶
func (o *DeleteArchitectureDefault) IsClientError() bool
IsClientError returns true when this delete architecture default response has a 4xx status code
func (*DeleteArchitectureDefault) IsCode ¶
func (o *DeleteArchitectureDefault) IsCode(code int) bool
IsCode returns true when this delete architecture default response a status code equal to that given
func (*DeleteArchitectureDefault) IsRedirect ¶
func (o *DeleteArchitectureDefault) IsRedirect() bool
IsRedirect returns true when this delete architecture default response has a 3xx status code
func (*DeleteArchitectureDefault) IsServerError ¶
func (o *DeleteArchitectureDefault) IsServerError() bool
IsServerError returns true when this delete architecture default response has a 5xx status code
func (*DeleteArchitectureDefault) IsSuccess ¶
func (o *DeleteArchitectureDefault) IsSuccess() bool
IsSuccess returns true when this delete architecture default response has a 2xx status code
func (*DeleteArchitectureDefault) String ¶
func (o *DeleteArchitectureDefault) String() string
type DeleteArchitectureOK ¶
type DeleteArchitectureOK struct {
Payload models.HashicorpCloudVagrant20220930DeleteArchitectureResponse
}
DeleteArchitectureOK describes a response with status code 200, with default header values.
A successful response.
func NewDeleteArchitectureOK ¶
func NewDeleteArchitectureOK() *DeleteArchitectureOK
NewDeleteArchitectureOK creates a DeleteArchitectureOK with default headers values
func (*DeleteArchitectureOK) Code ¶
func (o *DeleteArchitectureOK) Code() int
Code gets the status code for the delete architecture o k response
func (*DeleteArchitectureOK) Error ¶
func (o *DeleteArchitectureOK) Error() string
func (*DeleteArchitectureOK) GetPayload ¶
func (o *DeleteArchitectureOK) GetPayload() models.HashicorpCloudVagrant20220930DeleteArchitectureResponse
func (*DeleteArchitectureOK) IsClientError ¶
func (o *DeleteArchitectureOK) IsClientError() bool
IsClientError returns true when this delete architecture o k response has a 4xx status code
func (*DeleteArchitectureOK) IsCode ¶
func (o *DeleteArchitectureOK) IsCode(code int) bool
IsCode returns true when this delete architecture o k response a status code equal to that given
func (*DeleteArchitectureOK) IsRedirect ¶
func (o *DeleteArchitectureOK) IsRedirect() bool
IsRedirect returns true when this delete architecture o k response has a 3xx status code
func (*DeleteArchitectureOK) IsServerError ¶
func (o *DeleteArchitectureOK) IsServerError() bool
IsServerError returns true when this delete architecture o k response has a 5xx status code
func (*DeleteArchitectureOK) IsSuccess ¶
func (o *DeleteArchitectureOK) IsSuccess() bool
IsSuccess returns true when this delete architecture o k response has a 2xx status code
func (*DeleteArchitectureOK) String ¶
func (o *DeleteArchitectureOK) String() string
type DeleteArchitectureParams ¶
type DeleteArchitectureParams struct { /* Architecture. The name of the Architecture. */ Architecture string /* 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 }
DeleteArchitectureParams contains all the parameters to send to the API endpoint
for the delete architecture operation. Typically these are written to a http.Request.
func NewDeleteArchitectureParams ¶
func NewDeleteArchitectureParams() *DeleteArchitectureParams
NewDeleteArchitectureParams creates a new DeleteArchitectureParams 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 NewDeleteArchitectureParamsWithContext ¶
func NewDeleteArchitectureParamsWithContext(ctx context.Context) *DeleteArchitectureParams
NewDeleteArchitectureParamsWithContext creates a new DeleteArchitectureParams object with the ability to set a context for a request.
func NewDeleteArchitectureParamsWithHTTPClient ¶
func NewDeleteArchitectureParamsWithHTTPClient(client *http.Client) *DeleteArchitectureParams
NewDeleteArchitectureParamsWithHTTPClient creates a new DeleteArchitectureParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteArchitectureParamsWithTimeout ¶
func NewDeleteArchitectureParamsWithTimeout(timeout time.Duration) *DeleteArchitectureParams
NewDeleteArchitectureParamsWithTimeout creates a new DeleteArchitectureParams object with the ability to set a timeout on a request.
func (*DeleteArchitectureParams) SetArchitecture ¶
func (o *DeleteArchitectureParams) SetArchitecture(architecture string)
SetArchitecture adds the architecture to the delete architecture params
func (*DeleteArchitectureParams) SetBox ¶
func (o *DeleteArchitectureParams) SetBox(box string)
SetBox adds the box to the delete architecture params
func (*DeleteArchitectureParams) SetContext ¶
func (o *DeleteArchitectureParams) SetContext(ctx context.Context)
SetContext adds the context to the delete architecture params
func (*DeleteArchitectureParams) SetDefaults ¶
func (o *DeleteArchitectureParams) SetDefaults()
SetDefaults hydrates default values in the delete architecture params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteArchitectureParams) SetHTTPClient ¶
func (o *DeleteArchitectureParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete architecture params
func (*DeleteArchitectureParams) SetProvider ¶
func (o *DeleteArchitectureParams) SetProvider(provider string)
SetProvider adds the provider to the delete architecture params
func (*DeleteArchitectureParams) SetRegistry ¶
func (o *DeleteArchitectureParams) SetRegistry(registry string)
SetRegistry adds the registry to the delete architecture params
func (*DeleteArchitectureParams) SetTimeout ¶
func (o *DeleteArchitectureParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete architecture params
func (*DeleteArchitectureParams) SetVersion ¶
func (o *DeleteArchitectureParams) SetVersion(version string)
SetVersion adds the version to the delete architecture params
func (*DeleteArchitectureParams) WithArchitecture ¶
func (o *DeleteArchitectureParams) WithArchitecture(architecture string) *DeleteArchitectureParams
WithArchitecture adds the architecture to the delete architecture params
func (*DeleteArchitectureParams) WithBox ¶
func (o *DeleteArchitectureParams) WithBox(box string) *DeleteArchitectureParams
WithBox adds the box to the delete architecture params
func (*DeleteArchitectureParams) WithContext ¶
func (o *DeleteArchitectureParams) WithContext(ctx context.Context) *DeleteArchitectureParams
WithContext adds the context to the delete architecture params
func (*DeleteArchitectureParams) WithDefaults ¶
func (o *DeleteArchitectureParams) WithDefaults() *DeleteArchitectureParams
WithDefaults hydrates default values in the delete architecture params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteArchitectureParams) WithHTTPClient ¶
func (o *DeleteArchitectureParams) WithHTTPClient(client *http.Client) *DeleteArchitectureParams
WithHTTPClient adds the HTTPClient to the delete architecture params
func (*DeleteArchitectureParams) WithProvider ¶
func (o *DeleteArchitectureParams) WithProvider(provider string) *DeleteArchitectureParams
WithProvider adds the provider to the delete architecture params
func (*DeleteArchitectureParams) WithRegistry ¶
func (o *DeleteArchitectureParams) WithRegistry(registry string) *DeleteArchitectureParams
WithRegistry adds the registry to the delete architecture params
func (*DeleteArchitectureParams) WithTimeout ¶
func (o *DeleteArchitectureParams) WithTimeout(timeout time.Duration) *DeleteArchitectureParams
WithTimeout adds the timeout to the delete architecture params
func (*DeleteArchitectureParams) WithVersion ¶
func (o *DeleteArchitectureParams) WithVersion(version string) *DeleteArchitectureParams
WithVersion adds the version to the delete architecture params
func (*DeleteArchitectureParams) WriteToRequest ¶
func (o *DeleteArchitectureParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteArchitectureReader ¶
type DeleteArchitectureReader struct {
// contains filtered or unexported fields
}
DeleteArchitectureReader is a Reader for the DeleteArchitecture structure.
func (*DeleteArchitectureReader) ReadResponse ¶
func (o *DeleteArchitectureReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteBoxDefault ¶
type DeleteBoxDefault struct { Payload *cloud.GoogleRPCStatus // contains filtered or unexported fields }
DeleteBoxDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewDeleteBoxDefault ¶
func NewDeleteBoxDefault(code int) *DeleteBoxDefault
NewDeleteBoxDefault creates a DeleteBoxDefault with default headers values
func (*DeleteBoxDefault) Code ¶
func (o *DeleteBoxDefault) Code() int
Code gets the status code for the delete box default response
func (*DeleteBoxDefault) Error ¶
func (o *DeleteBoxDefault) Error() string
func (*DeleteBoxDefault) GetPayload ¶
func (o *DeleteBoxDefault) GetPayload() *cloud.GoogleRPCStatus
func (*DeleteBoxDefault) IsClientError ¶
func (o *DeleteBoxDefault) IsClientError() bool
IsClientError returns true when this delete box default response has a 4xx status code
func (*DeleteBoxDefault) IsCode ¶
func (o *DeleteBoxDefault) IsCode(code int) bool
IsCode returns true when this delete box default response a status code equal to that given
func (*DeleteBoxDefault) IsRedirect ¶
func (o *DeleteBoxDefault) IsRedirect() bool
IsRedirect returns true when this delete box default response has a 3xx status code
func (*DeleteBoxDefault) IsServerError ¶
func (o *DeleteBoxDefault) IsServerError() bool
IsServerError returns true when this delete box default response has a 5xx status code
func (*DeleteBoxDefault) IsSuccess ¶
func (o *DeleteBoxDefault) IsSuccess() bool
IsSuccess returns true when this delete box default response has a 2xx status code
func (*DeleteBoxDefault) String ¶
func (o *DeleteBoxDefault) String() string
type DeleteBoxOK ¶
type DeleteBoxOK struct {
Payload *models.HashicorpCloudVagrant20220930DeleteBoxResponse
}
DeleteBoxOK describes a response with status code 200, with default header values.
A successful response.
func NewDeleteBoxOK ¶
func NewDeleteBoxOK() *DeleteBoxOK
NewDeleteBoxOK creates a DeleteBoxOK with default headers values
func (*DeleteBoxOK) Code ¶
func (o *DeleteBoxOK) Code() int
Code gets the status code for the delete box o k response
func (*DeleteBoxOK) Error ¶
func (o *DeleteBoxOK) Error() string
func (*DeleteBoxOK) GetPayload ¶
func (o *DeleteBoxOK) GetPayload() *models.HashicorpCloudVagrant20220930DeleteBoxResponse
func (*DeleteBoxOK) IsClientError ¶
func (o *DeleteBoxOK) IsClientError() bool
IsClientError returns true when this delete box o k response has a 4xx status code
func (*DeleteBoxOK) IsCode ¶
func (o *DeleteBoxOK) IsCode(code int) bool
IsCode returns true when this delete box o k response a status code equal to that given
func (*DeleteBoxOK) IsRedirect ¶
func (o *DeleteBoxOK) IsRedirect() bool
IsRedirect returns true when this delete box o k response has a 3xx status code
func (*DeleteBoxOK) IsServerError ¶
func (o *DeleteBoxOK) IsServerError() bool
IsServerError returns true when this delete box o k response has a 5xx status code
func (*DeleteBoxOK) IsSuccess ¶
func (o *DeleteBoxOK) IsSuccess() bool
IsSuccess returns true when this delete box o k response has a 2xx status code
func (*DeleteBoxOK) String ¶
func (o *DeleteBoxOK) String() string
type DeleteBoxParams ¶
type DeleteBoxParams struct { /* Box. The name segment of the Box to delete. 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 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteBoxParams contains all the parameters to send to the API endpoint
for the delete box operation. Typically these are written to a http.Request.
func NewDeleteBoxParams ¶
func NewDeleteBoxParams() *DeleteBoxParams
NewDeleteBoxParams creates a new DeleteBoxParams 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 NewDeleteBoxParamsWithContext ¶
func NewDeleteBoxParamsWithContext(ctx context.Context) *DeleteBoxParams
NewDeleteBoxParamsWithContext creates a new DeleteBoxParams object with the ability to set a context for a request.
func NewDeleteBoxParamsWithHTTPClient ¶
func NewDeleteBoxParamsWithHTTPClient(client *http.Client) *DeleteBoxParams
NewDeleteBoxParamsWithHTTPClient creates a new DeleteBoxParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteBoxParamsWithTimeout ¶
func NewDeleteBoxParamsWithTimeout(timeout time.Duration) *DeleteBoxParams
NewDeleteBoxParamsWithTimeout creates a new DeleteBoxParams object with the ability to set a timeout on a request.
func (*DeleteBoxParams) SetBox ¶
func (o *DeleteBoxParams) SetBox(box string)
SetBox adds the box to the delete box params
func (*DeleteBoxParams) SetContext ¶
func (o *DeleteBoxParams) SetContext(ctx context.Context)
SetContext adds the context to the delete box params
func (*DeleteBoxParams) SetDefaults ¶
func (o *DeleteBoxParams) SetDefaults()
SetDefaults hydrates default values in the delete box params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteBoxParams) SetHTTPClient ¶
func (o *DeleteBoxParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete box params
func (*DeleteBoxParams) SetRegistry ¶
func (o *DeleteBoxParams) SetRegistry(registry string)
SetRegistry adds the registry to the delete box params
func (*DeleteBoxParams) SetTimeout ¶
func (o *DeleteBoxParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete box params
func (*DeleteBoxParams) WithBox ¶
func (o *DeleteBoxParams) WithBox(box string) *DeleteBoxParams
WithBox adds the box to the delete box params
func (*DeleteBoxParams) WithContext ¶
func (o *DeleteBoxParams) WithContext(ctx context.Context) *DeleteBoxParams
WithContext adds the context to the delete box params
func (*DeleteBoxParams) WithDefaults ¶
func (o *DeleteBoxParams) WithDefaults() *DeleteBoxParams
WithDefaults hydrates default values in the delete box params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteBoxParams) WithHTTPClient ¶
func (o *DeleteBoxParams) WithHTTPClient(client *http.Client) *DeleteBoxParams
WithHTTPClient adds the HTTPClient to the delete box params
func (*DeleteBoxParams) WithRegistry ¶
func (o *DeleteBoxParams) WithRegistry(registry string) *DeleteBoxParams
WithRegistry adds the registry to the delete box params
func (*DeleteBoxParams) WithTimeout ¶
func (o *DeleteBoxParams) WithTimeout(timeout time.Duration) *DeleteBoxParams
WithTimeout adds the timeout to the delete box params
func (*DeleteBoxParams) WriteToRequest ¶
func (o *DeleteBoxParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteBoxReader ¶
type DeleteBoxReader struct {
// contains filtered or unexported fields
}
DeleteBoxReader is a Reader for the DeleteBox structure.
func (*DeleteBoxReader) ReadResponse ¶
func (o *DeleteBoxReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteProviderDefault ¶
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 ¶
func NewDeleteProviderDefault(code int) *DeleteProviderDefault
NewDeleteProviderDefault creates a DeleteProviderDefault with default headers values
func (*DeleteProviderDefault) Code ¶
func (o *DeleteProviderDefault) Code() int
Code gets the status code for the delete provider default response
func (*DeleteProviderDefault) Error ¶
func (o *DeleteProviderDefault) Error() string
func (*DeleteProviderDefault) GetPayload ¶
func (o *DeleteProviderDefault) GetPayload() *cloud.GoogleRPCStatus
func (*DeleteProviderDefault) IsClientError ¶
func (o *DeleteProviderDefault) IsClientError() bool
IsClientError returns true when this delete provider default response has a 4xx status code
func (*DeleteProviderDefault) IsCode ¶
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 ¶
func (o *DeleteProviderDefault) IsRedirect() bool
IsRedirect returns true when this delete provider default response has a 3xx status code
func (*DeleteProviderDefault) IsServerError ¶
func (o *DeleteProviderDefault) IsServerError() bool
IsServerError returns true when this delete provider default response has a 5xx status code
func (*DeleteProviderDefault) IsSuccess ¶
func (o *DeleteProviderDefault) IsSuccess() bool
IsSuccess returns true when this delete provider default response has a 2xx status code
func (*DeleteProviderDefault) String ¶
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 ¶
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 ¶
func (o *DeleteProviderOK) IsClientError() bool
IsClientError returns true when this delete provider o k response has a 4xx status code
func (*DeleteProviderOK) IsCode ¶
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 ¶
func (o *DeleteProviderOK) IsRedirect() bool
IsRedirect returns true when this delete provider o k response has a 3xx status code
func (*DeleteProviderOK) IsServerError ¶
func (o *DeleteProviderOK) IsServerError() bool
IsServerError returns true when this delete provider o k response has a 5xx status code
func (*DeleteProviderOK) IsSuccess ¶
func (o *DeleteProviderOK) IsSuccess() bool
IsSuccess returns true when this delete provider o k response has a 2xx status code
func (*DeleteProviderOK) String ¶
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 ¶
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 ¶
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 DeleteRegistryDefault ¶
type DeleteRegistryDefault struct { Payload *cloud.GoogleRPCStatus // contains filtered or unexported fields }
DeleteRegistryDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewDeleteRegistryDefault ¶
func NewDeleteRegistryDefault(code int) *DeleteRegistryDefault
NewDeleteRegistryDefault creates a DeleteRegistryDefault with default headers values
func (*DeleteRegistryDefault) Code ¶
func (o *DeleteRegistryDefault) Code() int
Code gets the status code for the delete registry default response
func (*DeleteRegistryDefault) Error ¶
func (o *DeleteRegistryDefault) Error() string
func (*DeleteRegistryDefault) GetPayload ¶
func (o *DeleteRegistryDefault) GetPayload() *cloud.GoogleRPCStatus
func (*DeleteRegistryDefault) IsClientError ¶
func (o *DeleteRegistryDefault) IsClientError() bool
IsClientError returns true when this delete registry default response has a 4xx status code
func (*DeleteRegistryDefault) IsCode ¶
func (o *DeleteRegistryDefault) IsCode(code int) bool
IsCode returns true when this delete registry default response a status code equal to that given
func (*DeleteRegistryDefault) IsRedirect ¶
func (o *DeleteRegistryDefault) IsRedirect() bool
IsRedirect returns true when this delete registry default response has a 3xx status code
func (*DeleteRegistryDefault) IsServerError ¶
func (o *DeleteRegistryDefault) IsServerError() bool
IsServerError returns true when this delete registry default response has a 5xx status code
func (*DeleteRegistryDefault) IsSuccess ¶
func (o *DeleteRegistryDefault) IsSuccess() bool
IsSuccess returns true when this delete registry default response has a 2xx status code
func (*DeleteRegistryDefault) String ¶
func (o *DeleteRegistryDefault) String() string
type DeleteRegistryOK ¶
type DeleteRegistryOK struct {
Payload *models.HashicorpCloudVagrant20220930DeleteRegistryResponse
}
DeleteRegistryOK describes a response with status code 200, with default header values.
A successful response.
func NewDeleteRegistryOK ¶
func NewDeleteRegistryOK() *DeleteRegistryOK
NewDeleteRegistryOK creates a DeleteRegistryOK with default headers values
func (*DeleteRegistryOK) Code ¶
func (o *DeleteRegistryOK) Code() int
Code gets the status code for the delete registry o k response
func (*DeleteRegistryOK) Error ¶
func (o *DeleteRegistryOK) Error() string
func (*DeleteRegistryOK) GetPayload ¶
func (o *DeleteRegistryOK) GetPayload() *models.HashicorpCloudVagrant20220930DeleteRegistryResponse
func (*DeleteRegistryOK) IsClientError ¶
func (o *DeleteRegistryOK) IsClientError() bool
IsClientError returns true when this delete registry o k response has a 4xx status code
func (*DeleteRegistryOK) IsCode ¶
func (o *DeleteRegistryOK) IsCode(code int) bool
IsCode returns true when this delete registry o k response a status code equal to that given
func (*DeleteRegistryOK) IsRedirect ¶
func (o *DeleteRegistryOK) IsRedirect() bool
IsRedirect returns true when this delete registry o k response has a 3xx status code
func (*DeleteRegistryOK) IsServerError ¶
func (o *DeleteRegistryOK) IsServerError() bool
IsServerError returns true when this delete registry o k response has a 5xx status code
func (*DeleteRegistryOK) IsSuccess ¶
func (o *DeleteRegistryOK) IsSuccess() bool
IsSuccess returns true when this delete registry o k response has a 2xx status code
func (*DeleteRegistryOK) String ¶
func (o *DeleteRegistryOK) String() string
type DeleteRegistryParams ¶
type DeleteRegistryParams struct { /* Registry. The name of the Registry to delete. */ Registry string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteRegistryParams contains all the parameters to send to the API endpoint
for the delete registry operation. Typically these are written to a http.Request.
func NewDeleteRegistryParams ¶
func NewDeleteRegistryParams() *DeleteRegistryParams
NewDeleteRegistryParams creates a new DeleteRegistryParams 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 NewDeleteRegistryParamsWithContext ¶
func NewDeleteRegistryParamsWithContext(ctx context.Context) *DeleteRegistryParams
NewDeleteRegistryParamsWithContext creates a new DeleteRegistryParams object with the ability to set a context for a request.
func NewDeleteRegistryParamsWithHTTPClient ¶
func NewDeleteRegistryParamsWithHTTPClient(client *http.Client) *DeleteRegistryParams
NewDeleteRegistryParamsWithHTTPClient creates a new DeleteRegistryParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteRegistryParamsWithTimeout ¶
func NewDeleteRegistryParamsWithTimeout(timeout time.Duration) *DeleteRegistryParams
NewDeleteRegistryParamsWithTimeout creates a new DeleteRegistryParams object with the ability to set a timeout on a request.
func (*DeleteRegistryParams) SetContext ¶
func (o *DeleteRegistryParams) SetContext(ctx context.Context)
SetContext adds the context to the delete registry params
func (*DeleteRegistryParams) SetDefaults ¶
func (o *DeleteRegistryParams) SetDefaults()
SetDefaults hydrates default values in the delete registry params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteRegistryParams) SetHTTPClient ¶
func (o *DeleteRegistryParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete registry params
func (*DeleteRegistryParams) SetRegistry ¶
func (o *DeleteRegistryParams) SetRegistry(registry string)
SetRegistry adds the registry to the delete registry params
func (*DeleteRegistryParams) SetTimeout ¶
func (o *DeleteRegistryParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete registry params
func (*DeleteRegistryParams) WithContext ¶
func (o *DeleteRegistryParams) WithContext(ctx context.Context) *DeleteRegistryParams
WithContext adds the context to the delete registry params
func (*DeleteRegistryParams) WithDefaults ¶
func (o *DeleteRegistryParams) WithDefaults() *DeleteRegistryParams
WithDefaults hydrates default values in the delete registry params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteRegistryParams) WithHTTPClient ¶
func (o *DeleteRegistryParams) WithHTTPClient(client *http.Client) *DeleteRegistryParams
WithHTTPClient adds the HTTPClient to the delete registry params
func (*DeleteRegistryParams) WithRegistry ¶
func (o *DeleteRegistryParams) WithRegistry(registry string) *DeleteRegistryParams
WithRegistry adds the registry to the delete registry params
func (*DeleteRegistryParams) WithTimeout ¶
func (o *DeleteRegistryParams) WithTimeout(timeout time.Duration) *DeleteRegistryParams
WithTimeout adds the timeout to the delete registry params
func (*DeleteRegistryParams) WriteToRequest ¶
func (o *DeleteRegistryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteRegistryReader ¶
type DeleteRegistryReader struct {
// contains filtered or unexported fields
}
DeleteRegistryReader is a Reader for the DeleteRegistry structure.
func (*DeleteRegistryReader) ReadResponse ¶
func (o *DeleteRegistryReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteVersionDefault ¶
type DeleteVersionDefault struct { Payload *cloud.GoogleRPCStatus // contains filtered or unexported fields }
DeleteVersionDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewDeleteVersionDefault ¶
func NewDeleteVersionDefault(code int) *DeleteVersionDefault
NewDeleteVersionDefault creates a DeleteVersionDefault with default headers values
func (*DeleteVersionDefault) Code ¶
func (o *DeleteVersionDefault) Code() int
Code gets the status code for the delete version default response
func (*DeleteVersionDefault) Error ¶
func (o *DeleteVersionDefault) Error() string
func (*DeleteVersionDefault) GetPayload ¶
func (o *DeleteVersionDefault) GetPayload() *cloud.GoogleRPCStatus
func (*DeleteVersionDefault) IsClientError ¶
func (o *DeleteVersionDefault) IsClientError() bool
IsClientError returns true when this delete version default response has a 4xx status code
func (*DeleteVersionDefault) IsCode ¶
func (o *DeleteVersionDefault) IsCode(code int) bool
IsCode returns true when this delete version default response a status code equal to that given
func (*DeleteVersionDefault) IsRedirect ¶
func (o *DeleteVersionDefault) IsRedirect() bool
IsRedirect returns true when this delete version default response has a 3xx status code
func (*DeleteVersionDefault) IsServerError ¶
func (o *DeleteVersionDefault) IsServerError() bool
IsServerError returns true when this delete version default response has a 5xx status code
func (*DeleteVersionDefault) IsSuccess ¶
func (o *DeleteVersionDefault) IsSuccess() bool
IsSuccess returns true when this delete version default response has a 2xx status code
func (*DeleteVersionDefault) String ¶
func (o *DeleteVersionDefault) String() string
type DeleteVersionOK ¶
type DeleteVersionOK struct {
Payload models.HashicorpCloudVagrant20220930DeleteVersionResponse
}
DeleteVersionOK describes a response with status code 200, with default header values.
A successful response.
func NewDeleteVersionOK ¶
func NewDeleteVersionOK() *DeleteVersionOK
NewDeleteVersionOK creates a DeleteVersionOK with default headers values
func (*DeleteVersionOK) Code ¶
func (o *DeleteVersionOK) Code() int
Code gets the status code for the delete version o k response
func (*DeleteVersionOK) Error ¶
func (o *DeleteVersionOK) Error() string
func (*DeleteVersionOK) GetPayload ¶
func (o *DeleteVersionOK) GetPayload() models.HashicorpCloudVagrant20220930DeleteVersionResponse
func (*DeleteVersionOK) IsClientError ¶
func (o *DeleteVersionOK) IsClientError() bool
IsClientError returns true when this delete version o k response has a 4xx status code
func (*DeleteVersionOK) IsCode ¶
func (o *DeleteVersionOK) IsCode(code int) bool
IsCode returns true when this delete version o k response a status code equal to that given
func (*DeleteVersionOK) IsRedirect ¶
func (o *DeleteVersionOK) IsRedirect() bool
IsRedirect returns true when this delete version o k response has a 3xx status code
func (*DeleteVersionOK) IsServerError ¶
func (o *DeleteVersionOK) IsServerError() bool
IsServerError returns true when this delete version o k response has a 5xx status code
func (*DeleteVersionOK) IsSuccess ¶
func (o *DeleteVersionOK) IsSuccess() bool
IsSuccess returns true when this delete version o k response has a 2xx status code
func (*DeleteVersionOK) String ¶
func (o *DeleteVersionOK) String() string
type DeleteVersionParams ¶
type DeleteVersionParams struct { /* 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 delete. */ Version string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteVersionParams contains all the parameters to send to the API endpoint
for the delete version operation. Typically these are written to a http.Request.
func NewDeleteVersionParams ¶
func NewDeleteVersionParams() *DeleteVersionParams
NewDeleteVersionParams creates a new DeleteVersionParams 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 NewDeleteVersionParamsWithContext ¶
func NewDeleteVersionParamsWithContext(ctx context.Context) *DeleteVersionParams
NewDeleteVersionParamsWithContext creates a new DeleteVersionParams object with the ability to set a context for a request.
func NewDeleteVersionParamsWithHTTPClient ¶
func NewDeleteVersionParamsWithHTTPClient(client *http.Client) *DeleteVersionParams
NewDeleteVersionParamsWithHTTPClient creates a new DeleteVersionParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteVersionParamsWithTimeout ¶
func NewDeleteVersionParamsWithTimeout(timeout time.Duration) *DeleteVersionParams
NewDeleteVersionParamsWithTimeout creates a new DeleteVersionParams object with the ability to set a timeout on a request.
func (*DeleteVersionParams) SetBox ¶
func (o *DeleteVersionParams) SetBox(box string)
SetBox adds the box to the delete version params
func (*DeleteVersionParams) SetContext ¶
func (o *DeleteVersionParams) SetContext(ctx context.Context)
SetContext adds the context to the delete version params
func (*DeleteVersionParams) SetDefaults ¶
func (o *DeleteVersionParams) SetDefaults()
SetDefaults hydrates default values in the delete version params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteVersionParams) SetHTTPClient ¶
func (o *DeleteVersionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete version params
func (*DeleteVersionParams) SetRegistry ¶
func (o *DeleteVersionParams) SetRegistry(registry string)
SetRegistry adds the registry to the delete version params
func (*DeleteVersionParams) SetTimeout ¶
func (o *DeleteVersionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete version params
func (*DeleteVersionParams) SetVersion ¶
func (o *DeleteVersionParams) SetVersion(version string)
SetVersion adds the version to the delete version params
func (*DeleteVersionParams) WithBox ¶
func (o *DeleteVersionParams) WithBox(box string) *DeleteVersionParams
WithBox adds the box to the delete version params
func (*DeleteVersionParams) WithContext ¶
func (o *DeleteVersionParams) WithContext(ctx context.Context) *DeleteVersionParams
WithContext adds the context to the delete version params
func (*DeleteVersionParams) WithDefaults ¶
func (o *DeleteVersionParams) WithDefaults() *DeleteVersionParams
WithDefaults hydrates default values in the delete version params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteVersionParams) WithHTTPClient ¶
func (o *DeleteVersionParams) WithHTTPClient(client *http.Client) *DeleteVersionParams
WithHTTPClient adds the HTTPClient to the delete version params
func (*DeleteVersionParams) WithRegistry ¶
func (o *DeleteVersionParams) WithRegistry(registry string) *DeleteVersionParams
WithRegistry adds the registry to the delete version params
func (*DeleteVersionParams) WithTimeout ¶
func (o *DeleteVersionParams) WithTimeout(timeout time.Duration) *DeleteVersionParams
WithTimeout adds the timeout to the delete version params
func (*DeleteVersionParams) WithVersion ¶
func (o *DeleteVersionParams) WithVersion(version string) *DeleteVersionParams
WithVersion adds the version to the delete version params
func (*DeleteVersionParams) WriteToRequest ¶
func (o *DeleteVersionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteVersionReader ¶
type DeleteVersionReader struct {
// contains filtered or unexported fields
}
DeleteVersionReader is a Reader for the DeleteVersion structure.
func (*DeleteVersionReader) ReadResponse ¶
func (o *DeleteVersionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DirectUploadBoxDefault ¶
type DirectUploadBoxDefault struct { Payload *cloud.GoogleRPCStatus // contains filtered or unexported fields }
DirectUploadBoxDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewDirectUploadBoxDefault ¶
func NewDirectUploadBoxDefault(code int) *DirectUploadBoxDefault
NewDirectUploadBoxDefault creates a DirectUploadBoxDefault with default headers values
func (*DirectUploadBoxDefault) Code ¶
func (o *DirectUploadBoxDefault) Code() int
Code gets the status code for the direct upload box default response
func (*DirectUploadBoxDefault) Error ¶
func (o *DirectUploadBoxDefault) Error() string
func (*DirectUploadBoxDefault) GetPayload ¶
func (o *DirectUploadBoxDefault) GetPayload() *cloud.GoogleRPCStatus
func (*DirectUploadBoxDefault) IsClientError ¶
func (o *DirectUploadBoxDefault) IsClientError() bool
IsClientError returns true when this direct upload box default response has a 4xx status code
func (*DirectUploadBoxDefault) IsCode ¶
func (o *DirectUploadBoxDefault) IsCode(code int) bool
IsCode returns true when this direct upload box default response a status code equal to that given
func (*DirectUploadBoxDefault) IsRedirect ¶
func (o *DirectUploadBoxDefault) IsRedirect() bool
IsRedirect returns true when this direct upload box default response has a 3xx status code
func (*DirectUploadBoxDefault) IsServerError ¶
func (o *DirectUploadBoxDefault) IsServerError() bool
IsServerError returns true when this direct upload box default response has a 5xx status code
func (*DirectUploadBoxDefault) IsSuccess ¶
func (o *DirectUploadBoxDefault) IsSuccess() bool
IsSuccess returns true when this direct upload box default response has a 2xx status code
func (*DirectUploadBoxDefault) String ¶
func (o *DirectUploadBoxDefault) String() string
type DirectUploadBoxOK ¶
type DirectUploadBoxOK struct {
Payload *models.HashicorpCloudVagrant20220930DirectUploadBoxResponse
}
DirectUploadBoxOK describes a response with status code 200, with default header values.
A successful response.
func NewDirectUploadBoxOK ¶
func NewDirectUploadBoxOK() *DirectUploadBoxOK
NewDirectUploadBoxOK creates a DirectUploadBoxOK with default headers values
func (*DirectUploadBoxOK) Code ¶
func (o *DirectUploadBoxOK) Code() int
Code gets the status code for the direct upload box o k response
func (*DirectUploadBoxOK) Error ¶
func (o *DirectUploadBoxOK) Error() string
func (*DirectUploadBoxOK) GetPayload ¶
func (o *DirectUploadBoxOK) GetPayload() *models.HashicorpCloudVagrant20220930DirectUploadBoxResponse
func (*DirectUploadBoxOK) IsClientError ¶
func (o *DirectUploadBoxOK) IsClientError() bool
IsClientError returns true when this direct upload box o k response has a 4xx status code
func (*DirectUploadBoxOK) IsCode ¶
func (o *DirectUploadBoxOK) IsCode(code int) bool
IsCode returns true when this direct upload box o k response a status code equal to that given
func (*DirectUploadBoxOK) IsRedirect ¶
func (o *DirectUploadBoxOK) IsRedirect() bool
IsRedirect returns true when this direct upload box o k response has a 3xx status code
func (*DirectUploadBoxOK) IsServerError ¶
func (o *DirectUploadBoxOK) IsServerError() bool
IsServerError returns true when this direct upload box o k response has a 5xx status code
func (*DirectUploadBoxOK) IsSuccess ¶
func (o *DirectUploadBoxOK) IsSuccess() bool
IsSuccess returns true when this direct upload box o k response has a 2xx status code
func (*DirectUploadBoxOK) String ¶
func (o *DirectUploadBoxOK) String() string
type DirectUploadBoxParams ¶
type DirectUploadBoxParams struct { /* Architecture. The type of the Architecture. */ Architecture string /* 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 }
DirectUploadBoxParams contains all the parameters to send to the API endpoint
for the direct upload box operation. Typically these are written to a http.Request.
func NewDirectUploadBoxParams ¶
func NewDirectUploadBoxParams() *DirectUploadBoxParams
NewDirectUploadBoxParams creates a new DirectUploadBoxParams 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 NewDirectUploadBoxParamsWithContext ¶
func NewDirectUploadBoxParamsWithContext(ctx context.Context) *DirectUploadBoxParams
NewDirectUploadBoxParamsWithContext creates a new DirectUploadBoxParams object with the ability to set a context for a request.
func NewDirectUploadBoxParamsWithHTTPClient ¶
func NewDirectUploadBoxParamsWithHTTPClient(client *http.Client) *DirectUploadBoxParams
NewDirectUploadBoxParamsWithHTTPClient creates a new DirectUploadBoxParams object with the ability to set a custom HTTPClient for a request.
func NewDirectUploadBoxParamsWithTimeout ¶
func NewDirectUploadBoxParamsWithTimeout(timeout time.Duration) *DirectUploadBoxParams
NewDirectUploadBoxParamsWithTimeout creates a new DirectUploadBoxParams object with the ability to set a timeout on a request.
func (*DirectUploadBoxParams) SetArchitecture ¶
func (o *DirectUploadBoxParams) SetArchitecture(architecture string)
SetArchitecture adds the architecture to the direct upload box params
func (*DirectUploadBoxParams) SetBox ¶
func (o *DirectUploadBoxParams) SetBox(box string)
SetBox adds the box to the direct upload box params
func (*DirectUploadBoxParams) SetContext ¶
func (o *DirectUploadBoxParams) SetContext(ctx context.Context)
SetContext adds the context to the direct upload box params
func (*DirectUploadBoxParams) SetDefaults ¶
func (o *DirectUploadBoxParams) SetDefaults()
SetDefaults hydrates default values in the direct upload box params (not the query body).
All values with no default are reset to their zero value.
func (*DirectUploadBoxParams) SetHTTPClient ¶
func (o *DirectUploadBoxParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the direct upload box params
func (*DirectUploadBoxParams) SetProvider ¶
func (o *DirectUploadBoxParams) SetProvider(provider string)
SetProvider adds the provider to the direct upload box params
func (*DirectUploadBoxParams) SetRegistry ¶
func (o *DirectUploadBoxParams) SetRegistry(registry string)
SetRegistry adds the registry to the direct upload box params
func (*DirectUploadBoxParams) SetTimeout ¶
func (o *DirectUploadBoxParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the direct upload box params
func (*DirectUploadBoxParams) SetVersion ¶
func (o *DirectUploadBoxParams) SetVersion(version string)
SetVersion adds the version to the direct upload box params
func (*DirectUploadBoxParams) WithArchitecture ¶
func (o *DirectUploadBoxParams) WithArchitecture(architecture string) *DirectUploadBoxParams
WithArchitecture adds the architecture to the direct upload box params
func (*DirectUploadBoxParams) WithBox ¶
func (o *DirectUploadBoxParams) WithBox(box string) *DirectUploadBoxParams
WithBox adds the box to the direct upload box params
func (*DirectUploadBoxParams) WithContext ¶
func (o *DirectUploadBoxParams) WithContext(ctx context.Context) *DirectUploadBoxParams
WithContext adds the context to the direct upload box params
func (*DirectUploadBoxParams) WithDefaults ¶
func (o *DirectUploadBoxParams) WithDefaults() *DirectUploadBoxParams
WithDefaults hydrates default values in the direct upload box params (not the query body).
All values with no default are reset to their zero value.
func (*DirectUploadBoxParams) WithHTTPClient ¶
func (o *DirectUploadBoxParams) WithHTTPClient(client *http.Client) *DirectUploadBoxParams
WithHTTPClient adds the HTTPClient to the direct upload box params
func (*DirectUploadBoxParams) WithProvider ¶
func (o *DirectUploadBoxParams) WithProvider(provider string) *DirectUploadBoxParams
WithProvider adds the provider to the direct upload box params
func (*DirectUploadBoxParams) WithRegistry ¶
func (o *DirectUploadBoxParams) WithRegistry(registry string) *DirectUploadBoxParams
WithRegistry adds the registry to the direct upload box params
func (*DirectUploadBoxParams) WithTimeout ¶
func (o *DirectUploadBoxParams) WithTimeout(timeout time.Duration) *DirectUploadBoxParams
WithTimeout adds the timeout to the direct upload box params
func (*DirectUploadBoxParams) WithVersion ¶
func (o *DirectUploadBoxParams) WithVersion(version string) *DirectUploadBoxParams
WithVersion adds the version to the direct upload box params
func (*DirectUploadBoxParams) WriteToRequest ¶
func (o *DirectUploadBoxParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DirectUploadBoxReader ¶
type DirectUploadBoxReader struct {
// contains filtered or unexported fields
}
DirectUploadBoxReader is a Reader for the DirectUploadBox structure.
func (*DirectUploadBoxReader) ReadResponse ¶
func (o *DirectUploadBoxReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DownloadBoxDefault ¶
type DownloadBoxDefault struct { Payload *cloud.GoogleRPCStatus // contains filtered or unexported fields }
DownloadBoxDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewDownloadBoxDefault ¶
func NewDownloadBoxDefault(code int) *DownloadBoxDefault
NewDownloadBoxDefault creates a DownloadBoxDefault with default headers values
func (*DownloadBoxDefault) Code ¶
func (o *DownloadBoxDefault) Code() int
Code gets the status code for the download box default response
func (*DownloadBoxDefault) Error ¶
func (o *DownloadBoxDefault) Error() string
func (*DownloadBoxDefault) GetPayload ¶
func (o *DownloadBoxDefault) GetPayload() *cloud.GoogleRPCStatus
func (*DownloadBoxDefault) IsClientError ¶
func (o *DownloadBoxDefault) IsClientError() bool
IsClientError returns true when this download box default response has a 4xx status code
func (*DownloadBoxDefault) IsCode ¶
func (o *DownloadBoxDefault) IsCode(code int) bool
IsCode returns true when this download box default response a status code equal to that given
func (*DownloadBoxDefault) IsRedirect ¶
func (o *DownloadBoxDefault) IsRedirect() bool
IsRedirect returns true when this download box default response has a 3xx status code
func (*DownloadBoxDefault) IsServerError ¶
func (o *DownloadBoxDefault) IsServerError() bool
IsServerError returns true when this download box default response has a 5xx status code
func (*DownloadBoxDefault) IsSuccess ¶
func (o *DownloadBoxDefault) IsSuccess() bool
IsSuccess returns true when this download box default response has a 2xx status code
func (*DownloadBoxDefault) String ¶
func (o *DownloadBoxDefault) String() string
type DownloadBoxOK ¶
type DownloadBoxOK struct {
Payload *models.HashicorpCloudVagrant20220930DownloadBoxResponse
}
DownloadBoxOK describes a response with status code 200, with default header values.
A successful response.
func NewDownloadBoxOK ¶
func NewDownloadBoxOK() *DownloadBoxOK
NewDownloadBoxOK creates a DownloadBoxOK with default headers values
func (*DownloadBoxOK) Code ¶
func (o *DownloadBoxOK) Code() int
Code gets the status code for the download box o k response
func (*DownloadBoxOK) Error ¶
func (o *DownloadBoxOK) Error() string
func (*DownloadBoxOK) GetPayload ¶
func (o *DownloadBoxOK) GetPayload() *models.HashicorpCloudVagrant20220930DownloadBoxResponse
func (*DownloadBoxOK) IsClientError ¶
func (o *DownloadBoxOK) IsClientError() bool
IsClientError returns true when this download box o k response has a 4xx status code
func (*DownloadBoxOK) IsCode ¶
func (o *DownloadBoxOK) IsCode(code int) bool
IsCode returns true when this download box o k response a status code equal to that given
func (*DownloadBoxOK) IsRedirect ¶
func (o *DownloadBoxOK) IsRedirect() bool
IsRedirect returns true when this download box o k response has a 3xx status code
func (*DownloadBoxOK) IsServerError ¶
func (o *DownloadBoxOK) IsServerError() bool
IsServerError returns true when this download box o k response has a 5xx status code
func (*DownloadBoxOK) IsSuccess ¶
func (o *DownloadBoxOK) IsSuccess() bool
IsSuccess returns true when this download box o k response has a 2xx status code
func (*DownloadBoxOK) String ¶
func (o *DownloadBoxOK) String() string
type DownloadBoxParams ¶
type DownloadBoxParams struct { /* Architecture. The type of the Architecture. */ Architecture string /* 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 }
DownloadBoxParams contains all the parameters to send to the API endpoint
for the download box operation. Typically these are written to a http.Request.
func NewDownloadBoxParams ¶
func NewDownloadBoxParams() *DownloadBoxParams
NewDownloadBoxParams creates a new DownloadBoxParams 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 NewDownloadBoxParamsWithContext ¶
func NewDownloadBoxParamsWithContext(ctx context.Context) *DownloadBoxParams
NewDownloadBoxParamsWithContext creates a new DownloadBoxParams object with the ability to set a context for a request.
func NewDownloadBoxParamsWithHTTPClient ¶
func NewDownloadBoxParamsWithHTTPClient(client *http.Client) *DownloadBoxParams
NewDownloadBoxParamsWithHTTPClient creates a new DownloadBoxParams object with the ability to set a custom HTTPClient for a request.
func NewDownloadBoxParamsWithTimeout ¶
func NewDownloadBoxParamsWithTimeout(timeout time.Duration) *DownloadBoxParams
NewDownloadBoxParamsWithTimeout creates a new DownloadBoxParams object with the ability to set a timeout on a request.
func (*DownloadBoxParams) SetArchitecture ¶
func (o *DownloadBoxParams) SetArchitecture(architecture string)
SetArchitecture adds the architecture to the download box params
func (*DownloadBoxParams) SetBox ¶
func (o *DownloadBoxParams) SetBox(box string)
SetBox adds the box to the download box params
func (*DownloadBoxParams) SetContext ¶
func (o *DownloadBoxParams) SetContext(ctx context.Context)
SetContext adds the context to the download box params
func (*DownloadBoxParams) SetDefaults ¶
func (o *DownloadBoxParams) SetDefaults()
SetDefaults hydrates default values in the download box params (not the query body).
All values with no default are reset to their zero value.
func (*DownloadBoxParams) SetHTTPClient ¶
func (o *DownloadBoxParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the download box params
func (*DownloadBoxParams) SetProvider ¶
func (o *DownloadBoxParams) SetProvider(provider string)
SetProvider adds the provider to the download box params
func (*DownloadBoxParams) SetRegistry ¶
func (o *DownloadBoxParams) SetRegistry(registry string)
SetRegistry adds the registry to the download box params
func (*DownloadBoxParams) SetTimeout ¶
func (o *DownloadBoxParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the download box params
func (*DownloadBoxParams) SetVersion ¶
func (o *DownloadBoxParams) SetVersion(version string)
SetVersion adds the version to the download box params
func (*DownloadBoxParams) WithArchitecture ¶
func (o *DownloadBoxParams) WithArchitecture(architecture string) *DownloadBoxParams
WithArchitecture adds the architecture to the download box params
func (*DownloadBoxParams) WithBox ¶
func (o *DownloadBoxParams) WithBox(box string) *DownloadBoxParams
WithBox adds the box to the download box params
func (*DownloadBoxParams) WithContext ¶
func (o *DownloadBoxParams) WithContext(ctx context.Context) *DownloadBoxParams
WithContext adds the context to the download box params
func (*DownloadBoxParams) WithDefaults ¶
func (o *DownloadBoxParams) WithDefaults() *DownloadBoxParams
WithDefaults hydrates default values in the download box params (not the query body).
All values with no default are reset to their zero value.
func (*DownloadBoxParams) WithHTTPClient ¶
func (o *DownloadBoxParams) WithHTTPClient(client *http.Client) *DownloadBoxParams
WithHTTPClient adds the HTTPClient to the download box params
func (*DownloadBoxParams) WithProvider ¶
func (o *DownloadBoxParams) WithProvider(provider string) *DownloadBoxParams
WithProvider adds the provider to the download box params
func (*DownloadBoxParams) WithRegistry ¶
func (o *DownloadBoxParams) WithRegistry(registry string) *DownloadBoxParams
WithRegistry adds the registry to the download box params
func (*DownloadBoxParams) WithTimeout ¶
func (o *DownloadBoxParams) WithTimeout(timeout time.Duration) *DownloadBoxParams
WithTimeout adds the timeout to the download box params
func (*DownloadBoxParams) WithVersion ¶
func (o *DownloadBoxParams) WithVersion(version string) *DownloadBoxParams
WithVersion adds the version to the download box params
func (*DownloadBoxParams) WriteToRequest ¶
func (o *DownloadBoxParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DownloadBoxReader ¶
type DownloadBoxReader struct {
// contains filtered or unexported fields
}
DownloadBoxReader is a Reader for the DownloadBox structure.
func (*DownloadBoxReader) ReadResponse ¶
func (o *DownloadBoxReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListArchitecturesDefault ¶
type ListArchitecturesDefault struct { Payload *cloud.GoogleRPCStatus // contains filtered or unexported fields }
ListArchitecturesDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewListArchitecturesDefault ¶
func NewListArchitecturesDefault(code int) *ListArchitecturesDefault
NewListArchitecturesDefault creates a ListArchitecturesDefault with default headers values
func (*ListArchitecturesDefault) Code ¶
func (o *ListArchitecturesDefault) Code() int
Code gets the status code for the list architectures default response
func (*ListArchitecturesDefault) Error ¶
func (o *ListArchitecturesDefault) Error() string
func (*ListArchitecturesDefault) GetPayload ¶
func (o *ListArchitecturesDefault) GetPayload() *cloud.GoogleRPCStatus
func (*ListArchitecturesDefault) IsClientError ¶
func (o *ListArchitecturesDefault) IsClientError() bool
IsClientError returns true when this list architectures default response has a 4xx status code
func (*ListArchitecturesDefault) IsCode ¶
func (o *ListArchitecturesDefault) IsCode(code int) bool
IsCode returns true when this list architectures default response a status code equal to that given
func (*ListArchitecturesDefault) IsRedirect ¶
func (o *ListArchitecturesDefault) IsRedirect() bool
IsRedirect returns true when this list architectures default response has a 3xx status code
func (*ListArchitecturesDefault) IsServerError ¶
func (o *ListArchitecturesDefault) IsServerError() bool
IsServerError returns true when this list architectures default response has a 5xx status code
func (*ListArchitecturesDefault) IsSuccess ¶
func (o *ListArchitecturesDefault) IsSuccess() bool
IsSuccess returns true when this list architectures default response has a 2xx status code
func (*ListArchitecturesDefault) String ¶
func (o *ListArchitecturesDefault) String() string
type ListArchitecturesOK ¶
type ListArchitecturesOK struct {
Payload *models.HashicorpCloudVagrant20220930ListArchitecturesResponse
}
ListArchitecturesOK describes a response with status code 200, with default header values.
A successful response.
func NewListArchitecturesOK ¶
func NewListArchitecturesOK() *ListArchitecturesOK
NewListArchitecturesOK creates a ListArchitecturesOK with default headers values
func (*ListArchitecturesOK) Code ¶
func (o *ListArchitecturesOK) Code() int
Code gets the status code for the list architectures o k response
func (*ListArchitecturesOK) Error ¶
func (o *ListArchitecturesOK) Error() string
func (*ListArchitecturesOK) GetPayload ¶
func (o *ListArchitecturesOK) GetPayload() *models.HashicorpCloudVagrant20220930ListArchitecturesResponse
func (*ListArchitecturesOK) IsClientError ¶
func (o *ListArchitecturesOK) IsClientError() bool
IsClientError returns true when this list architectures o k response has a 4xx status code
func (*ListArchitecturesOK) IsCode ¶
func (o *ListArchitecturesOK) IsCode(code int) bool
IsCode returns true when this list architectures o k response a status code equal to that given
func (*ListArchitecturesOK) IsRedirect ¶
func (o *ListArchitecturesOK) IsRedirect() bool
IsRedirect returns true when this list architectures o k response has a 3xx status code
func (*ListArchitecturesOK) IsServerError ¶
func (o *ListArchitecturesOK) IsServerError() bool
IsServerError returns true when this list architectures o k response has a 5xx status code
func (*ListArchitecturesOK) IsSuccess ¶
func (o *ListArchitecturesOK) IsSuccess() bool
IsSuccess returns true when this list architectures o k response has a 2xx status code
func (*ListArchitecturesOK) String ¶
func (o *ListArchitecturesOK) String() string
type ListArchitecturesParams ¶
type ListArchitecturesParams 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 /* Provider. The name of the Provider to look up Architectures in. */ 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. */ Version string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListArchitecturesParams contains all the parameters to send to the API endpoint
for the list architectures operation. Typically these are written to a http.Request.
func NewListArchitecturesParams ¶
func NewListArchitecturesParams() *ListArchitecturesParams
NewListArchitecturesParams creates a new ListArchitecturesParams 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 NewListArchitecturesParamsWithContext ¶
func NewListArchitecturesParamsWithContext(ctx context.Context) *ListArchitecturesParams
NewListArchitecturesParamsWithContext creates a new ListArchitecturesParams object with the ability to set a context for a request.
func NewListArchitecturesParamsWithHTTPClient ¶
func NewListArchitecturesParamsWithHTTPClient(client *http.Client) *ListArchitecturesParams
NewListArchitecturesParamsWithHTTPClient creates a new ListArchitecturesParams object with the ability to set a custom HTTPClient for a request.
func NewListArchitecturesParamsWithTimeout ¶
func NewListArchitecturesParamsWithTimeout(timeout time.Duration) *ListArchitecturesParams
NewListArchitecturesParamsWithTimeout creates a new ListArchitecturesParams object with the ability to set a timeout on a request.
func (*ListArchitecturesParams) SetBox ¶
func (o *ListArchitecturesParams) SetBox(box string)
SetBox adds the box to the list architectures params
func (*ListArchitecturesParams) SetContext ¶
func (o *ListArchitecturesParams) SetContext(ctx context.Context)
SetContext adds the context to the list architectures params
func (*ListArchitecturesParams) SetDefaults ¶
func (o *ListArchitecturesParams) SetDefaults()
SetDefaults hydrates default values in the list architectures params (not the query body).
All values with no default are reset to their zero value.
func (*ListArchitecturesParams) SetHTTPClient ¶
func (o *ListArchitecturesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list architectures params
func (*ListArchitecturesParams) SetPaginationNextPageToken ¶
func (o *ListArchitecturesParams) SetPaginationNextPageToken(paginationNextPageToken *string)
SetPaginationNextPageToken adds the paginationNextPageToken to the list architectures params
func (*ListArchitecturesParams) SetPaginationPageSize ¶
func (o *ListArchitecturesParams) SetPaginationPageSize(paginationPageSize *int64)
SetPaginationPageSize adds the paginationPageSize to the list architectures params
func (*ListArchitecturesParams) SetPaginationPreviousPageToken ¶
func (o *ListArchitecturesParams) SetPaginationPreviousPageToken(paginationPreviousPageToken *string)
SetPaginationPreviousPageToken adds the paginationPreviousPageToken to the list architectures params
func (*ListArchitecturesParams) SetProvider ¶
func (o *ListArchitecturesParams) SetProvider(provider string)
SetProvider adds the provider to the list architectures params
func (*ListArchitecturesParams) SetRegistry ¶
func (o *ListArchitecturesParams) SetRegistry(registry string)
SetRegistry adds the registry to the list architectures params
func (*ListArchitecturesParams) SetTimeout ¶
func (o *ListArchitecturesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list architectures params
func (*ListArchitecturesParams) SetVersion ¶
func (o *ListArchitecturesParams) SetVersion(version string)
SetVersion adds the version to the list architectures params
func (*ListArchitecturesParams) WithBox ¶
func (o *ListArchitecturesParams) WithBox(box string) *ListArchitecturesParams
WithBox adds the box to the list architectures params
func (*ListArchitecturesParams) WithContext ¶
func (o *ListArchitecturesParams) WithContext(ctx context.Context) *ListArchitecturesParams
WithContext adds the context to the list architectures params
func (*ListArchitecturesParams) WithDefaults ¶
func (o *ListArchitecturesParams) WithDefaults() *ListArchitecturesParams
WithDefaults hydrates default values in the list architectures params (not the query body).
All values with no default are reset to their zero value.
func (*ListArchitecturesParams) WithHTTPClient ¶
func (o *ListArchitecturesParams) WithHTTPClient(client *http.Client) *ListArchitecturesParams
WithHTTPClient adds the HTTPClient to the list architectures params
func (*ListArchitecturesParams) WithPaginationNextPageToken ¶
func (o *ListArchitecturesParams) WithPaginationNextPageToken(paginationNextPageToken *string) *ListArchitecturesParams
WithPaginationNextPageToken adds the paginationNextPageToken to the list architectures params
func (*ListArchitecturesParams) WithPaginationPageSize ¶
func (o *ListArchitecturesParams) WithPaginationPageSize(paginationPageSize *int64) *ListArchitecturesParams
WithPaginationPageSize adds the paginationPageSize to the list architectures params
func (*ListArchitecturesParams) WithPaginationPreviousPageToken ¶
func (o *ListArchitecturesParams) WithPaginationPreviousPageToken(paginationPreviousPageToken *string) *ListArchitecturesParams
WithPaginationPreviousPageToken adds the paginationPreviousPageToken to the list architectures params
func (*ListArchitecturesParams) WithProvider ¶
func (o *ListArchitecturesParams) WithProvider(provider string) *ListArchitecturesParams
WithProvider adds the provider to the list architectures params
func (*ListArchitecturesParams) WithRegistry ¶
func (o *ListArchitecturesParams) WithRegistry(registry string) *ListArchitecturesParams
WithRegistry adds the registry to the list architectures params
func (*ListArchitecturesParams) WithTimeout ¶
func (o *ListArchitecturesParams) WithTimeout(timeout time.Duration) *ListArchitecturesParams
WithTimeout adds the timeout to the list architectures params
func (*ListArchitecturesParams) WithVersion ¶
func (o *ListArchitecturesParams) WithVersion(version string) *ListArchitecturesParams
WithVersion adds the version to the list architectures params
func (*ListArchitecturesParams) WriteToRequest ¶
func (o *ListArchitecturesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListArchitecturesReader ¶
type ListArchitecturesReader struct {
// contains filtered or unexported fields
}
ListArchitecturesReader is a Reader for the ListArchitectures structure.
func (*ListArchitecturesReader) ReadResponse ¶
func (o *ListArchitecturesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListBoxesDefault ¶
type ListBoxesDefault struct { Payload *cloud.GoogleRPCStatus // contains filtered or unexported fields }
ListBoxesDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewListBoxesDefault ¶
func NewListBoxesDefault(code int) *ListBoxesDefault
NewListBoxesDefault creates a ListBoxesDefault with default headers values
func (*ListBoxesDefault) Code ¶
func (o *ListBoxesDefault) Code() int
Code gets the status code for the list boxes default response
func (*ListBoxesDefault) Error ¶
func (o *ListBoxesDefault) Error() string
func (*ListBoxesDefault) GetPayload ¶
func (o *ListBoxesDefault) GetPayload() *cloud.GoogleRPCStatus
func (*ListBoxesDefault) IsClientError ¶
func (o *ListBoxesDefault) IsClientError() bool
IsClientError returns true when this list boxes default response has a 4xx status code
func (*ListBoxesDefault) IsCode ¶
func (o *ListBoxesDefault) IsCode(code int) bool
IsCode returns true when this list boxes default response a status code equal to that given
func (*ListBoxesDefault) IsRedirect ¶
func (o *ListBoxesDefault) IsRedirect() bool
IsRedirect returns true when this list boxes default response has a 3xx status code
func (*ListBoxesDefault) IsServerError ¶
func (o *ListBoxesDefault) IsServerError() bool
IsServerError returns true when this list boxes default response has a 5xx status code
func (*ListBoxesDefault) IsSuccess ¶
func (o *ListBoxesDefault) IsSuccess() bool
IsSuccess returns true when this list boxes default response has a 2xx status code
func (*ListBoxesDefault) String ¶
func (o *ListBoxesDefault) String() string
type ListBoxesOK ¶
type ListBoxesOK struct {
Payload *models.HashicorpCloudVagrant20220930ListBoxesResponse
}
ListBoxesOK describes a response with status code 200, with default header values.
A successful response.
func NewListBoxesOK ¶
func NewListBoxesOK() *ListBoxesOK
NewListBoxesOK creates a ListBoxesOK with default headers values
func (*ListBoxesOK) Code ¶
func (o *ListBoxesOK) Code() int
Code gets the status code for the list boxes o k response
func (*ListBoxesOK) Error ¶
func (o *ListBoxesOK) Error() string
func (*ListBoxesOK) GetPayload ¶
func (o *ListBoxesOK) GetPayload() *models.HashicorpCloudVagrant20220930ListBoxesResponse
func (*ListBoxesOK) IsClientError ¶
func (o *ListBoxesOK) IsClientError() bool
IsClientError returns true when this list boxes o k response has a 4xx status code
func (*ListBoxesOK) IsCode ¶
func (o *ListBoxesOK) IsCode(code int) bool
IsCode returns true when this list boxes o k response a status code equal to that given
func (*ListBoxesOK) IsRedirect ¶
func (o *ListBoxesOK) IsRedirect() bool
IsRedirect returns true when this list boxes o k response has a 3xx status code
func (*ListBoxesOK) IsServerError ¶
func (o *ListBoxesOK) IsServerError() bool
IsServerError returns true when this list boxes o k response has a 5xx status code
func (*ListBoxesOK) IsSuccess ¶
func (o *ListBoxesOK) IsSuccess() bool
IsSuccess returns true when this list boxes o k response has a 2xx status code
func (*ListBoxesOK) String ¶
func (o *ListBoxesOK) String() string
type ListBoxesParams ¶
type ListBoxesParams struct { /* Expanded. Expand the box child elements. */ Expanded *bool /* 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 name of the Registry to list boxes in. */ Registry string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListBoxesParams contains all the parameters to send to the API endpoint
for the list boxes operation. Typically these are written to a http.Request.
func NewListBoxesParams ¶
func NewListBoxesParams() *ListBoxesParams
NewListBoxesParams creates a new ListBoxesParams 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 NewListBoxesParamsWithContext ¶
func NewListBoxesParamsWithContext(ctx context.Context) *ListBoxesParams
NewListBoxesParamsWithContext creates a new ListBoxesParams object with the ability to set a context for a request.
func NewListBoxesParamsWithHTTPClient ¶
func NewListBoxesParamsWithHTTPClient(client *http.Client) *ListBoxesParams
NewListBoxesParamsWithHTTPClient creates a new ListBoxesParams object with the ability to set a custom HTTPClient for a request.
func NewListBoxesParamsWithTimeout ¶
func NewListBoxesParamsWithTimeout(timeout time.Duration) *ListBoxesParams
NewListBoxesParamsWithTimeout creates a new ListBoxesParams object with the ability to set a timeout on a request.
func (*ListBoxesParams) SetContext ¶
func (o *ListBoxesParams) SetContext(ctx context.Context)
SetContext adds the context to the list boxes params
func (*ListBoxesParams) SetDefaults ¶
func (o *ListBoxesParams) SetDefaults()
SetDefaults hydrates default values in the list boxes params (not the query body).
All values with no default are reset to their zero value.
func (*ListBoxesParams) SetExpanded ¶
func (o *ListBoxesParams) SetExpanded(expanded *bool)
SetExpanded adds the expanded to the list boxes params
func (*ListBoxesParams) SetHTTPClient ¶
func (o *ListBoxesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list boxes params
func (*ListBoxesParams) SetPaginationNextPageToken ¶
func (o *ListBoxesParams) SetPaginationNextPageToken(paginationNextPageToken *string)
SetPaginationNextPageToken adds the paginationNextPageToken to the list boxes params
func (*ListBoxesParams) SetPaginationPageSize ¶
func (o *ListBoxesParams) SetPaginationPageSize(paginationPageSize *int64)
SetPaginationPageSize adds the paginationPageSize to the list boxes params
func (*ListBoxesParams) SetPaginationPreviousPageToken ¶
func (o *ListBoxesParams) SetPaginationPreviousPageToken(paginationPreviousPageToken *string)
SetPaginationPreviousPageToken adds the paginationPreviousPageToken to the list boxes params
func (*ListBoxesParams) SetRegistry ¶
func (o *ListBoxesParams) SetRegistry(registry string)
SetRegistry adds the registry to the list boxes params
func (*ListBoxesParams) SetTimeout ¶
func (o *ListBoxesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list boxes params
func (*ListBoxesParams) WithContext ¶
func (o *ListBoxesParams) WithContext(ctx context.Context) *ListBoxesParams
WithContext adds the context to the list boxes params
func (*ListBoxesParams) WithDefaults ¶
func (o *ListBoxesParams) WithDefaults() *ListBoxesParams
WithDefaults hydrates default values in the list boxes params (not the query body).
All values with no default are reset to their zero value.
func (*ListBoxesParams) WithExpanded ¶
func (o *ListBoxesParams) WithExpanded(expanded *bool) *ListBoxesParams
WithExpanded adds the expanded to the list boxes params
func (*ListBoxesParams) WithHTTPClient ¶
func (o *ListBoxesParams) WithHTTPClient(client *http.Client) *ListBoxesParams
WithHTTPClient adds the HTTPClient to the list boxes params
func (*ListBoxesParams) WithPaginationNextPageToken ¶
func (o *ListBoxesParams) WithPaginationNextPageToken(paginationNextPageToken *string) *ListBoxesParams
WithPaginationNextPageToken adds the paginationNextPageToken to the list boxes params
func (*ListBoxesParams) WithPaginationPageSize ¶
func (o *ListBoxesParams) WithPaginationPageSize(paginationPageSize *int64) *ListBoxesParams
WithPaginationPageSize adds the paginationPageSize to the list boxes params
func (*ListBoxesParams) WithPaginationPreviousPageToken ¶
func (o *ListBoxesParams) WithPaginationPreviousPageToken(paginationPreviousPageToken *string) *ListBoxesParams
WithPaginationPreviousPageToken adds the paginationPreviousPageToken to the list boxes params
func (*ListBoxesParams) WithRegistry ¶
func (o *ListBoxesParams) WithRegistry(registry string) *ListBoxesParams
WithRegistry adds the registry to the list boxes params
func (*ListBoxesParams) WithTimeout ¶
func (o *ListBoxesParams) WithTimeout(timeout time.Duration) *ListBoxesParams
WithTimeout adds the timeout to the list boxes params
func (*ListBoxesParams) WriteToRequest ¶
func (o *ListBoxesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListBoxesReader ¶
type ListBoxesReader struct {
// contains filtered or unexported fields
}
ListBoxesReader is a Reader for the ListBoxes structure.
func (*ListBoxesReader) ReadResponse ¶
func (o *ListBoxesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListProvidersDefault ¶
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 ¶
func NewListProvidersDefault(code int) *ListProvidersDefault
NewListProvidersDefault creates a ListProvidersDefault with default headers values
func (*ListProvidersDefault) Code ¶
func (o *ListProvidersDefault) Code() int
Code gets the status code for the list providers default response
func (*ListProvidersDefault) Error ¶
func (o *ListProvidersDefault) Error() string
func (*ListProvidersDefault) GetPayload ¶
func (o *ListProvidersDefault) GetPayload() *cloud.GoogleRPCStatus
func (*ListProvidersDefault) IsClientError ¶
func (o *ListProvidersDefault) IsClientError() bool
IsClientError returns true when this list providers default response has a 4xx status code
func (*ListProvidersDefault) IsCode ¶
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 ¶
func (o *ListProvidersDefault) IsRedirect() bool
IsRedirect returns true when this list providers default response has a 3xx status code
func (*ListProvidersDefault) IsServerError ¶
func (o *ListProvidersDefault) IsServerError() bool
IsServerError returns true when this list providers default response has a 5xx status code
func (*ListProvidersDefault) IsSuccess ¶
func (o *ListProvidersDefault) IsSuccess() bool
IsSuccess returns true when this list providers default response has a 2xx status code
func (*ListProvidersDefault) String ¶
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 ¶
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 ¶
func (o *ListProvidersOK) IsClientError() bool
IsClientError returns true when this list providers o k response has a 4xx status code
func (*ListProvidersOK) IsCode ¶
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 ¶
func (o *ListProvidersOK) IsRedirect() bool
IsRedirect returns true when this list providers o k response has a 3xx status code
func (*ListProvidersOK) IsServerError ¶
func (o *ListProvidersOK) IsServerError() bool
IsServerError returns true when this list providers o k response has a 5xx status code
func (*ListProvidersOK) IsSuccess ¶
func (o *ListProvidersOK) IsSuccess() bool
IsSuccess returns true when this list providers o k response has a 2xx status code
func (*ListProvidersOK) String ¶
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 /* Expanded. Expand the provider child elements. */ Expanded *bool /* 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 ¶
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) SetExpanded ¶
func (o *ListProvidersParams) SetExpanded(expanded *bool)
SetExpanded adds the expanded to the list providers params
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 ¶
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) WithExpanded ¶
func (o *ListProvidersParams) WithExpanded(expanded *bool) *ListProvidersParams
WithExpanded adds the expanded to the list providers params
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 ListRegistriesDefault ¶
type ListRegistriesDefault struct { Payload *cloud.GoogleRPCStatus // contains filtered or unexported fields }
ListRegistriesDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewListRegistriesDefault ¶
func NewListRegistriesDefault(code int) *ListRegistriesDefault
NewListRegistriesDefault creates a ListRegistriesDefault with default headers values
func (*ListRegistriesDefault) Code ¶
func (o *ListRegistriesDefault) Code() int
Code gets the status code for the list registries default response
func (*ListRegistriesDefault) Error ¶
func (o *ListRegistriesDefault) Error() string
func (*ListRegistriesDefault) GetPayload ¶
func (o *ListRegistriesDefault) GetPayload() *cloud.GoogleRPCStatus
func (*ListRegistriesDefault) IsClientError ¶
func (o *ListRegistriesDefault) IsClientError() bool
IsClientError returns true when this list registries default response has a 4xx status code
func (*ListRegistriesDefault) IsCode ¶
func (o *ListRegistriesDefault) IsCode(code int) bool
IsCode returns true when this list registries default response a status code equal to that given
func (*ListRegistriesDefault) IsRedirect ¶
func (o *ListRegistriesDefault) IsRedirect() bool
IsRedirect returns true when this list registries default response has a 3xx status code
func (*ListRegistriesDefault) IsServerError ¶
func (o *ListRegistriesDefault) IsServerError() bool
IsServerError returns true when this list registries default response has a 5xx status code
func (*ListRegistriesDefault) IsSuccess ¶
func (o *ListRegistriesDefault) IsSuccess() bool
IsSuccess returns true when this list registries default response has a 2xx status code
func (*ListRegistriesDefault) String ¶
func (o *ListRegistriesDefault) String() string
type ListRegistriesOK ¶
type ListRegistriesOK struct {
Payload *models.HashicorpCloudVagrant20220930ListRegistriesResponse
}
ListRegistriesOK describes a response with status code 200, with default header values.
A successful response.
func NewListRegistriesOK ¶
func NewListRegistriesOK() *ListRegistriesOK
NewListRegistriesOK creates a ListRegistriesOK with default headers values
func (*ListRegistriesOK) Code ¶
func (o *ListRegistriesOK) Code() int
Code gets the status code for the list registries o k response
func (*ListRegistriesOK) Error ¶
func (o *ListRegistriesOK) Error() string
func (*ListRegistriesOK) GetPayload ¶
func (o *ListRegistriesOK) GetPayload() *models.HashicorpCloudVagrant20220930ListRegistriesResponse
func (*ListRegistriesOK) IsClientError ¶
func (o *ListRegistriesOK) IsClientError() bool
IsClientError returns true when this list registries o k response has a 4xx status code
func (*ListRegistriesOK) IsCode ¶
func (o *ListRegistriesOK) IsCode(code int) bool
IsCode returns true when this list registries o k response a status code equal to that given
func (*ListRegistriesOK) IsRedirect ¶
func (o *ListRegistriesOK) IsRedirect() bool
IsRedirect returns true when this list registries o k response has a 3xx status code
func (*ListRegistriesOK) IsServerError ¶
func (o *ListRegistriesOK) IsServerError() bool
IsServerError returns true when this list registries o k response has a 5xx status code
func (*ListRegistriesOK) IsSuccess ¶
func (o *ListRegistriesOK) IsSuccess() bool
IsSuccess returns true when this list registries o k response has a 2xx status code
func (*ListRegistriesOK) String ¶
func (o *ListRegistriesOK) String() string
type ListRegistriesParams ¶
type ListRegistriesParams struct { /* LocationOrganizationID. organization_id is the id of the organization. */ LocationOrganizationID *string /* LocationProjectID. project_id is the projects id. */ LocationProjectID *string /* LocationRegionProvider. provider is the named cloud provider ("aws", "gcp", "azure") */ LocationRegionProvider *string /* LocationRegionRegion. region is the cloud region ("us-west1", "us-east1") */ LocationRegionRegion *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 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListRegistriesParams contains all the parameters to send to the API endpoint
for the list registries operation. Typically these are written to a http.Request.
func NewListRegistriesParams ¶
func NewListRegistriesParams() *ListRegistriesParams
NewListRegistriesParams creates a new ListRegistriesParams 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 NewListRegistriesParamsWithContext ¶
func NewListRegistriesParamsWithContext(ctx context.Context) *ListRegistriesParams
NewListRegistriesParamsWithContext creates a new ListRegistriesParams object with the ability to set a context for a request.
func NewListRegistriesParamsWithHTTPClient ¶
func NewListRegistriesParamsWithHTTPClient(client *http.Client) *ListRegistriesParams
NewListRegistriesParamsWithHTTPClient creates a new ListRegistriesParams object with the ability to set a custom HTTPClient for a request.
func NewListRegistriesParamsWithTimeout ¶
func NewListRegistriesParamsWithTimeout(timeout time.Duration) *ListRegistriesParams
NewListRegistriesParamsWithTimeout creates a new ListRegistriesParams object with the ability to set a timeout on a request.
func (*ListRegistriesParams) SetContext ¶
func (o *ListRegistriesParams) SetContext(ctx context.Context)
SetContext adds the context to the list registries params
func (*ListRegistriesParams) SetDefaults ¶
func (o *ListRegistriesParams) SetDefaults()
SetDefaults hydrates default values in the list registries params (not the query body).
All values with no default are reset to their zero value.
func (*ListRegistriesParams) SetHTTPClient ¶
func (o *ListRegistriesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list registries params
func (*ListRegistriesParams) SetLocationOrganizationID ¶
func (o *ListRegistriesParams) SetLocationOrganizationID(locationOrganizationID *string)
SetLocationOrganizationID adds the locationOrganizationId to the list registries params
func (*ListRegistriesParams) SetLocationProjectID ¶
func (o *ListRegistriesParams) SetLocationProjectID(locationProjectID *string)
SetLocationProjectID adds the locationProjectId to the list registries params
func (*ListRegistriesParams) SetLocationRegionProvider ¶
func (o *ListRegistriesParams) SetLocationRegionProvider(locationRegionProvider *string)
SetLocationRegionProvider adds the locationRegionProvider to the list registries params
func (*ListRegistriesParams) SetLocationRegionRegion ¶
func (o *ListRegistriesParams) SetLocationRegionRegion(locationRegionRegion *string)
SetLocationRegionRegion adds the locationRegionRegion to the list registries params
func (*ListRegistriesParams) SetPaginationNextPageToken ¶
func (o *ListRegistriesParams) SetPaginationNextPageToken(paginationNextPageToken *string)
SetPaginationNextPageToken adds the paginationNextPageToken to the list registries params
func (*ListRegistriesParams) SetPaginationPageSize ¶
func (o *ListRegistriesParams) SetPaginationPageSize(paginationPageSize *int64)
SetPaginationPageSize adds the paginationPageSize to the list registries params
func (*ListRegistriesParams) SetPaginationPreviousPageToken ¶
func (o *ListRegistriesParams) SetPaginationPreviousPageToken(paginationPreviousPageToken *string)
SetPaginationPreviousPageToken adds the paginationPreviousPageToken to the list registries params
func (*ListRegistriesParams) SetTimeout ¶
func (o *ListRegistriesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list registries params
func (*ListRegistriesParams) WithContext ¶
func (o *ListRegistriesParams) WithContext(ctx context.Context) *ListRegistriesParams
WithContext adds the context to the list registries params
func (*ListRegistriesParams) WithDefaults ¶
func (o *ListRegistriesParams) WithDefaults() *ListRegistriesParams
WithDefaults hydrates default values in the list registries params (not the query body).
All values with no default are reset to their zero value.
func (*ListRegistriesParams) WithHTTPClient ¶
func (o *ListRegistriesParams) WithHTTPClient(client *http.Client) *ListRegistriesParams
WithHTTPClient adds the HTTPClient to the list registries params
func (*ListRegistriesParams) WithLocationOrganizationID ¶
func (o *ListRegistriesParams) WithLocationOrganizationID(locationOrganizationID *string) *ListRegistriesParams
WithLocationOrganizationID adds the locationOrganizationID to the list registries params
func (*ListRegistriesParams) WithLocationProjectID ¶
func (o *ListRegistriesParams) WithLocationProjectID(locationProjectID *string) *ListRegistriesParams
WithLocationProjectID adds the locationProjectID to the list registries params
func (*ListRegistriesParams) WithLocationRegionProvider ¶
func (o *ListRegistriesParams) WithLocationRegionProvider(locationRegionProvider *string) *ListRegistriesParams
WithLocationRegionProvider adds the locationRegionProvider to the list registries params
func (*ListRegistriesParams) WithLocationRegionRegion ¶
func (o *ListRegistriesParams) WithLocationRegionRegion(locationRegionRegion *string) *ListRegistriesParams
WithLocationRegionRegion adds the locationRegionRegion to the list registries params
func (*ListRegistriesParams) WithPaginationNextPageToken ¶
func (o *ListRegistriesParams) WithPaginationNextPageToken(paginationNextPageToken *string) *ListRegistriesParams
WithPaginationNextPageToken adds the paginationNextPageToken to the list registries params
func (*ListRegistriesParams) WithPaginationPageSize ¶
func (o *ListRegistriesParams) WithPaginationPageSize(paginationPageSize *int64) *ListRegistriesParams
WithPaginationPageSize adds the paginationPageSize to the list registries params
func (*ListRegistriesParams) WithPaginationPreviousPageToken ¶
func (o *ListRegistriesParams) WithPaginationPreviousPageToken(paginationPreviousPageToken *string) *ListRegistriesParams
WithPaginationPreviousPageToken adds the paginationPreviousPageToken to the list registries params
func (*ListRegistriesParams) WithTimeout ¶
func (o *ListRegistriesParams) WithTimeout(timeout time.Duration) *ListRegistriesParams
WithTimeout adds the timeout to the list registries params
func (*ListRegistriesParams) WriteToRequest ¶
func (o *ListRegistriesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListRegistriesReader ¶
type ListRegistriesReader struct {
// contains filtered or unexported fields
}
ListRegistriesReader is a Reader for the ListRegistries structure.
func (*ListRegistriesReader) ReadResponse ¶
func (o *ListRegistriesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListVersionsDefault ¶
type ListVersionsDefault struct { Payload *cloud.GoogleRPCStatus // contains filtered or unexported fields }
ListVersionsDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewListVersionsDefault ¶
func NewListVersionsDefault(code int) *ListVersionsDefault
NewListVersionsDefault creates a ListVersionsDefault with default headers values
func (*ListVersionsDefault) Code ¶
func (o *ListVersionsDefault) Code() int
Code gets the status code for the list versions default response
func (*ListVersionsDefault) Error ¶
func (o *ListVersionsDefault) Error() string
func (*ListVersionsDefault) GetPayload ¶
func (o *ListVersionsDefault) GetPayload() *cloud.GoogleRPCStatus
func (*ListVersionsDefault) IsClientError ¶
func (o *ListVersionsDefault) IsClientError() bool
IsClientError returns true when this list versions default response has a 4xx status code
func (*ListVersionsDefault) IsCode ¶
func (o *ListVersionsDefault) IsCode(code int) bool
IsCode returns true when this list versions default response a status code equal to that given
func (*ListVersionsDefault) IsRedirect ¶
func (o *ListVersionsDefault) IsRedirect() bool
IsRedirect returns true when this list versions default response has a 3xx status code
func (*ListVersionsDefault) IsServerError ¶
func (o *ListVersionsDefault) IsServerError() bool
IsServerError returns true when this list versions default response has a 5xx status code
func (*ListVersionsDefault) IsSuccess ¶
func (o *ListVersionsDefault) IsSuccess() bool
IsSuccess returns true when this list versions default response has a 2xx status code
func (*ListVersionsDefault) String ¶
func (o *ListVersionsDefault) String() string
type ListVersionsOK ¶
type ListVersionsOK struct {
Payload *models.HashicorpCloudVagrant20220930ListVersionsResponse
}
ListVersionsOK describes a response with status code 200, with default header values.
A successful response.
func NewListVersionsOK ¶
func NewListVersionsOK() *ListVersionsOK
NewListVersionsOK creates a ListVersionsOK with default headers values
func (*ListVersionsOK) Code ¶
func (o *ListVersionsOK) Code() int
Code gets the status code for the list versions o k response
func (*ListVersionsOK) Error ¶
func (o *ListVersionsOK) Error() string
func (*ListVersionsOK) GetPayload ¶
func (o *ListVersionsOK) GetPayload() *models.HashicorpCloudVagrant20220930ListVersionsResponse
func (*ListVersionsOK) IsClientError ¶
func (o *ListVersionsOK) IsClientError() bool
IsClientError returns true when this list versions o k response has a 4xx status code
func (*ListVersionsOK) IsCode ¶
func (o *ListVersionsOK) IsCode(code int) bool
IsCode returns true when this list versions o k response a status code equal to that given
func (*ListVersionsOK) IsRedirect ¶
func (o *ListVersionsOK) IsRedirect() bool
IsRedirect returns true when this list versions o k response has a 3xx status code
func (*ListVersionsOK) IsServerError ¶
func (o *ListVersionsOK) IsServerError() bool
IsServerError returns true when this list versions o k response has a 5xx status code
func (*ListVersionsOK) IsSuccess ¶
func (o *ListVersionsOK) IsSuccess() bool
IsSuccess returns true when this list versions o k response has a 2xx status code
func (*ListVersionsOK) String ¶
func (o *ListVersionsOK) String() string
type ListVersionsParams ¶
type ListVersionsParams struct { /* Box. The name segment of the Box. As an example, this field would represent the "vagrant" in "hashicorp/vagrant". */ Box string /* Expanded. Expand the version child elements. */ Expanded *bool /* 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 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListVersionsParams contains all the parameters to send to the API endpoint
for the list versions operation. Typically these are written to a http.Request.
func NewListVersionsParams ¶
func NewListVersionsParams() *ListVersionsParams
NewListVersionsParams creates a new ListVersionsParams 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 NewListVersionsParamsWithContext ¶
func NewListVersionsParamsWithContext(ctx context.Context) *ListVersionsParams
NewListVersionsParamsWithContext creates a new ListVersionsParams object with the ability to set a context for a request.
func NewListVersionsParamsWithHTTPClient ¶
func NewListVersionsParamsWithHTTPClient(client *http.Client) *ListVersionsParams
NewListVersionsParamsWithHTTPClient creates a new ListVersionsParams object with the ability to set a custom HTTPClient for a request.
func NewListVersionsParamsWithTimeout ¶
func NewListVersionsParamsWithTimeout(timeout time.Duration) *ListVersionsParams
NewListVersionsParamsWithTimeout creates a new ListVersionsParams object with the ability to set a timeout on a request.
func (*ListVersionsParams) SetBox ¶
func (o *ListVersionsParams) SetBox(box string)
SetBox adds the box to the list versions params
func (*ListVersionsParams) SetContext ¶
func (o *ListVersionsParams) SetContext(ctx context.Context)
SetContext adds the context to the list versions params
func (*ListVersionsParams) SetDefaults ¶
func (o *ListVersionsParams) SetDefaults()
SetDefaults hydrates default values in the list versions params (not the query body).
All values with no default are reset to their zero value.
func (*ListVersionsParams) SetExpanded ¶
func (o *ListVersionsParams) SetExpanded(expanded *bool)
SetExpanded adds the expanded to the list versions params
func (*ListVersionsParams) SetHTTPClient ¶
func (o *ListVersionsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list versions params
func (*ListVersionsParams) SetPaginationNextPageToken ¶
func (o *ListVersionsParams) SetPaginationNextPageToken(paginationNextPageToken *string)
SetPaginationNextPageToken adds the paginationNextPageToken to the list versions params
func (*ListVersionsParams) SetPaginationPageSize ¶
func (o *ListVersionsParams) SetPaginationPageSize(paginationPageSize *int64)
SetPaginationPageSize adds the paginationPageSize to the list versions params
func (*ListVersionsParams) SetPaginationPreviousPageToken ¶
func (o *ListVersionsParams) SetPaginationPreviousPageToken(paginationPreviousPageToken *string)
SetPaginationPreviousPageToken adds the paginationPreviousPageToken to the list versions params
func (*ListVersionsParams) SetRegistry ¶
func (o *ListVersionsParams) SetRegistry(registry string)
SetRegistry adds the registry to the list versions params
func (*ListVersionsParams) SetTimeout ¶
func (o *ListVersionsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list versions params
func (*ListVersionsParams) WithBox ¶
func (o *ListVersionsParams) WithBox(box string) *ListVersionsParams
WithBox adds the box to the list versions params
func (*ListVersionsParams) WithContext ¶
func (o *ListVersionsParams) WithContext(ctx context.Context) *ListVersionsParams
WithContext adds the context to the list versions params
func (*ListVersionsParams) WithDefaults ¶
func (o *ListVersionsParams) WithDefaults() *ListVersionsParams
WithDefaults hydrates default values in the list versions params (not the query body).
All values with no default are reset to their zero value.
func (*ListVersionsParams) WithExpanded ¶
func (o *ListVersionsParams) WithExpanded(expanded *bool) *ListVersionsParams
WithExpanded adds the expanded to the list versions params
func (*ListVersionsParams) WithHTTPClient ¶
func (o *ListVersionsParams) WithHTTPClient(client *http.Client) *ListVersionsParams
WithHTTPClient adds the HTTPClient to the list versions params
func (*ListVersionsParams) WithPaginationNextPageToken ¶
func (o *ListVersionsParams) WithPaginationNextPageToken(paginationNextPageToken *string) *ListVersionsParams
WithPaginationNextPageToken adds the paginationNextPageToken to the list versions params
func (*ListVersionsParams) WithPaginationPageSize ¶
func (o *ListVersionsParams) WithPaginationPageSize(paginationPageSize *int64) *ListVersionsParams
WithPaginationPageSize adds the paginationPageSize to the list versions params
func (*ListVersionsParams) WithPaginationPreviousPageToken ¶
func (o *ListVersionsParams) WithPaginationPreviousPageToken(paginationPreviousPageToken *string) *ListVersionsParams
WithPaginationPreviousPageToken adds the paginationPreviousPageToken to the list versions params
func (*ListVersionsParams) WithRegistry ¶
func (o *ListVersionsParams) WithRegistry(registry string) *ListVersionsParams
WithRegistry adds the registry to the list versions params
func (*ListVersionsParams) WithTimeout ¶
func (o *ListVersionsParams) WithTimeout(timeout time.Duration) *ListVersionsParams
WithTimeout adds the timeout to the list versions params
func (*ListVersionsParams) WriteToRequest ¶
func (o *ListVersionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListVersionsReader ¶
type ListVersionsReader struct {
// contains filtered or unexported fields
}
ListVersionsReader is a Reader for the ListVersions structure.
func (*ListVersionsReader) ReadResponse ¶
func (o *ListVersionsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ReadArchitectureDefault ¶
type ReadArchitectureDefault struct { Payload *cloud.GoogleRPCStatus // contains filtered or unexported fields }
ReadArchitectureDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewReadArchitectureDefault ¶
func NewReadArchitectureDefault(code int) *ReadArchitectureDefault
NewReadArchitectureDefault creates a ReadArchitectureDefault with default headers values
func (*ReadArchitectureDefault) Code ¶
func (o *ReadArchitectureDefault) Code() int
Code gets the status code for the read architecture default response
func (*ReadArchitectureDefault) Error ¶
func (o *ReadArchitectureDefault) Error() string
func (*ReadArchitectureDefault) GetPayload ¶
func (o *ReadArchitectureDefault) GetPayload() *cloud.GoogleRPCStatus
func (*ReadArchitectureDefault) IsClientError ¶
func (o *ReadArchitectureDefault) IsClientError() bool
IsClientError returns true when this read architecture default response has a 4xx status code
func (*ReadArchitectureDefault) IsCode ¶
func (o *ReadArchitectureDefault) IsCode(code int) bool
IsCode returns true when this read architecture default response a status code equal to that given
func (*ReadArchitectureDefault) IsRedirect ¶
func (o *ReadArchitectureDefault) IsRedirect() bool
IsRedirect returns true when this read architecture default response has a 3xx status code
func (*ReadArchitectureDefault) IsServerError ¶
func (o *ReadArchitectureDefault) IsServerError() bool
IsServerError returns true when this read architecture default response has a 5xx status code
func (*ReadArchitectureDefault) IsSuccess ¶
func (o *ReadArchitectureDefault) IsSuccess() bool
IsSuccess returns true when this read architecture default response has a 2xx status code
func (*ReadArchitectureDefault) String ¶
func (o *ReadArchitectureDefault) String() string
type ReadArchitectureOK ¶
type ReadArchitectureOK struct {
Payload *models.HashicorpCloudVagrant20220930ReadArchitectureResponse
}
ReadArchitectureOK describes a response with status code 200, with default header values.
A successful response.
func NewReadArchitectureOK ¶
func NewReadArchitectureOK() *ReadArchitectureOK
NewReadArchitectureOK creates a ReadArchitectureOK with default headers values
func (*ReadArchitectureOK) Code ¶
func (o *ReadArchitectureOK) Code() int
Code gets the status code for the read architecture o k response
func (*ReadArchitectureOK) Error ¶
func (o *ReadArchitectureOK) Error() string
func (*ReadArchitectureOK) GetPayload ¶
func (o *ReadArchitectureOK) GetPayload() *models.HashicorpCloudVagrant20220930ReadArchitectureResponse
func (*ReadArchitectureOK) IsClientError ¶
func (o *ReadArchitectureOK) IsClientError() bool
IsClientError returns true when this read architecture o k response has a 4xx status code
func (*ReadArchitectureOK) IsCode ¶
func (o *ReadArchitectureOK) IsCode(code int) bool
IsCode returns true when this read architecture o k response a status code equal to that given
func (*ReadArchitectureOK) IsRedirect ¶
func (o *ReadArchitectureOK) IsRedirect() bool
IsRedirect returns true when this read architecture o k response has a 3xx status code
func (*ReadArchitectureOK) IsServerError ¶
func (o *ReadArchitectureOK) IsServerError() bool
IsServerError returns true when this read architecture o k response has a 5xx status code
func (*ReadArchitectureOK) IsSuccess ¶
func (o *ReadArchitectureOK) IsSuccess() bool
IsSuccess returns true when this read architecture o k response has a 2xx status code
func (*ReadArchitectureOK) String ¶
func (o *ReadArchitectureOK) String() string
type ReadArchitectureParams ¶
type ReadArchitectureParams struct { /* Architecture. The name of the Architecture. */ Architecture string /* 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 Architecture. */ Version string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ReadArchitectureParams contains all the parameters to send to the API endpoint
for the read architecture operation. Typically these are written to a http.Request.
func NewReadArchitectureParams ¶
func NewReadArchitectureParams() *ReadArchitectureParams
NewReadArchitectureParams creates a new ReadArchitectureParams 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 NewReadArchitectureParamsWithContext ¶
func NewReadArchitectureParamsWithContext(ctx context.Context) *ReadArchitectureParams
NewReadArchitectureParamsWithContext creates a new ReadArchitectureParams object with the ability to set a context for a request.
func NewReadArchitectureParamsWithHTTPClient ¶
func NewReadArchitectureParamsWithHTTPClient(client *http.Client) *ReadArchitectureParams
NewReadArchitectureParamsWithHTTPClient creates a new ReadArchitectureParams object with the ability to set a custom HTTPClient for a request.
func NewReadArchitectureParamsWithTimeout ¶
func NewReadArchitectureParamsWithTimeout(timeout time.Duration) *ReadArchitectureParams
NewReadArchitectureParamsWithTimeout creates a new ReadArchitectureParams object with the ability to set a timeout on a request.
func (*ReadArchitectureParams) SetArchitecture ¶
func (o *ReadArchitectureParams) SetArchitecture(architecture string)
SetArchitecture adds the architecture to the read architecture params
func (*ReadArchitectureParams) SetBox ¶
func (o *ReadArchitectureParams) SetBox(box string)
SetBox adds the box to the read architecture params
func (*ReadArchitectureParams) SetContext ¶
func (o *ReadArchitectureParams) SetContext(ctx context.Context)
SetContext adds the context to the read architecture params
func (*ReadArchitectureParams) SetDefaults ¶
func (o *ReadArchitectureParams) SetDefaults()
SetDefaults hydrates default values in the read architecture params (not the query body).
All values with no default are reset to their zero value.
func (*ReadArchitectureParams) SetHTTPClient ¶
func (o *ReadArchitectureParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the read architecture params
func (*ReadArchitectureParams) SetProvider ¶
func (o *ReadArchitectureParams) SetProvider(provider string)
SetProvider adds the provider to the read architecture params
func (*ReadArchitectureParams) SetRegistry ¶
func (o *ReadArchitectureParams) SetRegistry(registry string)
SetRegistry adds the registry to the read architecture params
func (*ReadArchitectureParams) SetTimeout ¶
func (o *ReadArchitectureParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the read architecture params
func (*ReadArchitectureParams) SetVersion ¶
func (o *ReadArchitectureParams) SetVersion(version string)
SetVersion adds the version to the read architecture params
func (*ReadArchitectureParams) WithArchitecture ¶
func (o *ReadArchitectureParams) WithArchitecture(architecture string) *ReadArchitectureParams
WithArchitecture adds the architecture to the read architecture params
func (*ReadArchitectureParams) WithBox ¶
func (o *ReadArchitectureParams) WithBox(box string) *ReadArchitectureParams
WithBox adds the box to the read architecture params
func (*ReadArchitectureParams) WithContext ¶
func (o *ReadArchitectureParams) WithContext(ctx context.Context) *ReadArchitectureParams
WithContext adds the context to the read architecture params
func (*ReadArchitectureParams) WithDefaults ¶
func (o *ReadArchitectureParams) WithDefaults() *ReadArchitectureParams
WithDefaults hydrates default values in the read architecture params (not the query body).
All values with no default are reset to their zero value.
func (*ReadArchitectureParams) WithHTTPClient ¶
func (o *ReadArchitectureParams) WithHTTPClient(client *http.Client) *ReadArchitectureParams
WithHTTPClient adds the HTTPClient to the read architecture params
func (*ReadArchitectureParams) WithProvider ¶
func (o *ReadArchitectureParams) WithProvider(provider string) *ReadArchitectureParams
WithProvider adds the provider to the read architecture params
func (*ReadArchitectureParams) WithRegistry ¶
func (o *ReadArchitectureParams) WithRegistry(registry string) *ReadArchitectureParams
WithRegistry adds the registry to the read architecture params
func (*ReadArchitectureParams) WithTimeout ¶
func (o *ReadArchitectureParams) WithTimeout(timeout time.Duration) *ReadArchitectureParams
WithTimeout adds the timeout to the read architecture params
func (*ReadArchitectureParams) WithVersion ¶
func (o *ReadArchitectureParams) WithVersion(version string) *ReadArchitectureParams
WithVersion adds the version to the read architecture params
func (*ReadArchitectureParams) WriteToRequest ¶
func (o *ReadArchitectureParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ReadArchitectureReader ¶
type ReadArchitectureReader struct {
// contains filtered or unexported fields
}
ReadArchitectureReader is a Reader for the ReadArchitecture structure.
func (*ReadArchitectureReader) ReadResponse ¶
func (o *ReadArchitectureReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ReadBoxDefault ¶
type ReadBoxDefault struct { Payload *cloud.GoogleRPCStatus // contains filtered or unexported fields }
ReadBoxDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewReadBoxDefault ¶
func NewReadBoxDefault(code int) *ReadBoxDefault
NewReadBoxDefault creates a ReadBoxDefault with default headers values
func (*ReadBoxDefault) Code ¶
func (o *ReadBoxDefault) Code() int
Code gets the status code for the read box default response
func (*ReadBoxDefault) Error ¶
func (o *ReadBoxDefault) Error() string
func (*ReadBoxDefault) GetPayload ¶
func (o *ReadBoxDefault) GetPayload() *cloud.GoogleRPCStatus
func (*ReadBoxDefault) IsClientError ¶
func (o *ReadBoxDefault) IsClientError() bool
IsClientError returns true when this read box default response has a 4xx status code
func (*ReadBoxDefault) IsCode ¶
func (o *ReadBoxDefault) IsCode(code int) bool
IsCode returns true when this read box default response a status code equal to that given
func (*ReadBoxDefault) IsRedirect ¶
func (o *ReadBoxDefault) IsRedirect() bool
IsRedirect returns true when this read box default response has a 3xx status code
func (*ReadBoxDefault) IsServerError ¶
func (o *ReadBoxDefault) IsServerError() bool
IsServerError returns true when this read box default response has a 5xx status code
func (*ReadBoxDefault) IsSuccess ¶
func (o *ReadBoxDefault) IsSuccess() bool
IsSuccess returns true when this read box default response has a 2xx status code
func (*ReadBoxDefault) String ¶
func (o *ReadBoxDefault) String() string
type ReadBoxOK ¶
type ReadBoxOK struct {
Payload *models.HashicorpCloudVagrant20220930ReadBoxResponse
}
ReadBoxOK describes a response with status code 200, with default header values.
A successful response.
func NewReadBoxOK ¶
func NewReadBoxOK() *ReadBoxOK
NewReadBoxOK creates a ReadBoxOK with default headers values
func (*ReadBoxOK) GetPayload ¶
func (o *ReadBoxOK) GetPayload() *models.HashicorpCloudVagrant20220930ReadBoxResponse
func (*ReadBoxOK) IsClientError ¶
IsClientError returns true when this read box o k response has a 4xx status code
func (*ReadBoxOK) IsCode ¶
IsCode returns true when this read box o k response a status code equal to that given
func (*ReadBoxOK) IsRedirect ¶
IsRedirect returns true when this read box o k response has a 3xx status code
func (*ReadBoxOK) IsServerError ¶
IsServerError returns true when this read box o k response has a 5xx status code
type ReadBoxParams ¶
type ReadBoxParams struct { /* Box. The name segment of the Box to look up. As an example, this field would represent the "vagrant" in "hashicorp/vagrant". */ Box string /* Expanded. Expand the box child elements. */ Expanded *bool /* Registry. The Registry segment of the Box. As an example, this field would represent the "hashicorp" in "hashicorp/vagrant". */ Registry string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ReadBoxParams contains all the parameters to send to the API endpoint
for the read box operation. Typically these are written to a http.Request.
func NewReadBoxParams ¶
func NewReadBoxParams() *ReadBoxParams
NewReadBoxParams creates a new ReadBoxParams 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 NewReadBoxParamsWithContext ¶
func NewReadBoxParamsWithContext(ctx context.Context) *ReadBoxParams
NewReadBoxParamsWithContext creates a new ReadBoxParams object with the ability to set a context for a request.
func NewReadBoxParamsWithHTTPClient ¶
func NewReadBoxParamsWithHTTPClient(client *http.Client) *ReadBoxParams
NewReadBoxParamsWithHTTPClient creates a new ReadBoxParams object with the ability to set a custom HTTPClient for a request.
func NewReadBoxParamsWithTimeout ¶
func NewReadBoxParamsWithTimeout(timeout time.Duration) *ReadBoxParams
NewReadBoxParamsWithTimeout creates a new ReadBoxParams object with the ability to set a timeout on a request.
func (*ReadBoxParams) SetBox ¶
func (o *ReadBoxParams) SetBox(box string)
SetBox adds the box to the read box params
func (*ReadBoxParams) SetContext ¶
func (o *ReadBoxParams) SetContext(ctx context.Context)
SetContext adds the context to the read box params
func (*ReadBoxParams) SetDefaults ¶
func (o *ReadBoxParams) SetDefaults()
SetDefaults hydrates default values in the read box params (not the query body).
All values with no default are reset to their zero value.
func (*ReadBoxParams) SetExpanded ¶
func (o *ReadBoxParams) SetExpanded(expanded *bool)
SetExpanded adds the expanded to the read box params
func (*ReadBoxParams) SetHTTPClient ¶
func (o *ReadBoxParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the read box params
func (*ReadBoxParams) SetRegistry ¶
func (o *ReadBoxParams) SetRegistry(registry string)
SetRegistry adds the registry to the read box params
func (*ReadBoxParams) SetTimeout ¶
func (o *ReadBoxParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the read box params
func (*ReadBoxParams) WithBox ¶
func (o *ReadBoxParams) WithBox(box string) *ReadBoxParams
WithBox adds the box to the read box params
func (*ReadBoxParams) WithContext ¶
func (o *ReadBoxParams) WithContext(ctx context.Context) *ReadBoxParams
WithContext adds the context to the read box params
func (*ReadBoxParams) WithDefaults ¶
func (o *ReadBoxParams) WithDefaults() *ReadBoxParams
WithDefaults hydrates default values in the read box params (not the query body).
All values with no default are reset to their zero value.
func (*ReadBoxParams) WithExpanded ¶
func (o *ReadBoxParams) WithExpanded(expanded *bool) *ReadBoxParams
WithExpanded adds the expanded to the read box params
func (*ReadBoxParams) WithHTTPClient ¶
func (o *ReadBoxParams) WithHTTPClient(client *http.Client) *ReadBoxParams
WithHTTPClient adds the HTTPClient to the read box params
func (*ReadBoxParams) WithRegistry ¶
func (o *ReadBoxParams) WithRegistry(registry string) *ReadBoxParams
WithRegistry adds the registry to the read box params
func (*ReadBoxParams) WithTimeout ¶
func (o *ReadBoxParams) WithTimeout(timeout time.Duration) *ReadBoxParams
WithTimeout adds the timeout to the read box params
func (*ReadBoxParams) WriteToRequest ¶
func (o *ReadBoxParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ReadBoxReader ¶
type ReadBoxReader struct {
// contains filtered or unexported fields
}
ReadBoxReader is a Reader for the ReadBox structure.
func (*ReadBoxReader) ReadResponse ¶
func (o *ReadBoxReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ReadProviderDefault ¶
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 ¶
func NewReadProviderDefault(code int) *ReadProviderDefault
NewReadProviderDefault creates a ReadProviderDefault with default headers values
func (*ReadProviderDefault) Code ¶
func (o *ReadProviderDefault) Code() int
Code gets the status code for the read provider default response
func (*ReadProviderDefault) Error ¶
func (o *ReadProviderDefault) Error() string
func (*ReadProviderDefault) GetPayload ¶
func (o *ReadProviderDefault) GetPayload() *cloud.GoogleRPCStatus
func (*ReadProviderDefault) IsClientError ¶
func (o *ReadProviderDefault) IsClientError() bool
IsClientError returns true when this read provider default response has a 4xx status code
func (*ReadProviderDefault) IsCode ¶
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 ¶
func (o *ReadProviderDefault) IsRedirect() bool
IsRedirect returns true when this read provider default response has a 3xx status code
func (*ReadProviderDefault) IsServerError ¶
func (o *ReadProviderDefault) IsServerError() bool
IsServerError returns true when this read provider default response has a 5xx status code
func (*ReadProviderDefault) IsSuccess ¶
func (o *ReadProviderDefault) IsSuccess() bool
IsSuccess returns true when this read provider default response has a 2xx status code
func (*ReadProviderDefault) String ¶
func (o *ReadProviderDefault) String() string
type ReadProviderOK ¶
type ReadProviderOK struct {
Payload *models.HashicorpCloudVagrant20220930ReadProviderResponse
}
ReadProviderOK describes a response with status code 200, with default header values.
A successful response.
func NewReadProviderOK ¶
func NewReadProviderOK() *ReadProviderOK
NewReadProviderOK creates a ReadProviderOK with default headers values
func (*ReadProviderOK) Code ¶
func (o *ReadProviderOK) Code() int
Code gets the status code for the read provider o k response
func (*ReadProviderOK) Error ¶
func (o *ReadProviderOK) Error() string
func (*ReadProviderOK) GetPayload ¶
func (o *ReadProviderOK) GetPayload() *models.HashicorpCloudVagrant20220930ReadProviderResponse
func (*ReadProviderOK) IsClientError ¶
func (o *ReadProviderOK) IsClientError() bool
IsClientError returns true when this read provider o k response has a 4xx status code
func (*ReadProviderOK) IsCode ¶
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 ¶
func (o *ReadProviderOK) IsRedirect() bool
IsRedirect returns true when this read provider o k response has a 3xx status code
func (*ReadProviderOK) IsServerError ¶
func (o *ReadProviderOK) IsServerError() bool
IsServerError returns true when this read provider o k response has a 5xx status code
func (*ReadProviderOK) IsSuccess ¶
func (o *ReadProviderOK) IsSuccess() bool
IsSuccess returns true when this read provider o k response has a 2xx status code
func (*ReadProviderOK) String ¶
func (o *ReadProviderOK) String() string
type ReadProviderParams ¶
type ReadProviderParams struct { /* Box. The name segment of the Box. As an example, this field would represent the "vagrant" in "hashicorp/vagrant". */ Box string /* Expanded. Expand the provider child elements. */ Expanded *bool /* 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 ¶
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 ¶
func NewReadProviderParamsWithContext(ctx context.Context) *ReadProviderParams
NewReadProviderParamsWithContext creates a new ReadProviderParams object with the ability to set a context for a request.
func NewReadProviderParamsWithHTTPClient ¶
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 ¶
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 ¶
func (o *ReadProviderParams) SetBox(box string)
SetBox adds the box to the read provider params
func (*ReadProviderParams) SetContext ¶
func (o *ReadProviderParams) SetContext(ctx context.Context)
SetContext adds the context to the read provider params
func (*ReadProviderParams) SetDefaults ¶
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) SetExpanded ¶
func (o *ReadProviderParams) SetExpanded(expanded *bool)
SetExpanded adds the expanded to the read provider params
func (*ReadProviderParams) SetHTTPClient ¶
func (o *ReadProviderParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the read provider params
func (*ReadProviderParams) SetProvider ¶
func (o *ReadProviderParams) SetProvider(provider string)
SetProvider adds the provider to the read provider params
func (*ReadProviderParams) SetRegistry ¶
func (o *ReadProviderParams) SetRegistry(registry string)
SetRegistry adds the registry to the read provider params
func (*ReadProviderParams) SetTimeout ¶
func (o *ReadProviderParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the read provider params
func (*ReadProviderParams) SetVersion ¶
func (o *ReadProviderParams) SetVersion(version string)
SetVersion adds the version to the read provider params
func (*ReadProviderParams) WithBox ¶
func (o *ReadProviderParams) WithBox(box string) *ReadProviderParams
WithBox adds the box to the read provider params
func (*ReadProviderParams) WithContext ¶
func (o *ReadProviderParams) WithContext(ctx context.Context) *ReadProviderParams
WithContext adds the context to the read provider params
func (*ReadProviderParams) WithDefaults ¶
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) WithExpanded ¶
func (o *ReadProviderParams) WithExpanded(expanded *bool) *ReadProviderParams
WithExpanded adds the expanded to the read provider params
func (*ReadProviderParams) WithHTTPClient ¶
func (o *ReadProviderParams) WithHTTPClient(client *http.Client) *ReadProviderParams
WithHTTPClient adds the HTTPClient to the read provider params
func (*ReadProviderParams) WithProvider ¶
func (o *ReadProviderParams) WithProvider(provider string) *ReadProviderParams
WithProvider adds the provider to the read provider params
func (*ReadProviderParams) WithRegistry ¶
func (o *ReadProviderParams) WithRegistry(registry string) *ReadProviderParams
WithRegistry adds the registry to the read provider params
func (*ReadProviderParams) WithTimeout ¶
func (o *ReadProviderParams) WithTimeout(timeout time.Duration) *ReadProviderParams
WithTimeout adds the timeout to the read provider params
func (*ReadProviderParams) WithVersion ¶
func (o *ReadProviderParams) WithVersion(version string) *ReadProviderParams
WithVersion adds the version to the read provider params
func (*ReadProviderParams) WriteToRequest ¶
func (o *ReadProviderParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ReadProviderReader ¶
type ReadProviderReader struct {
// contains filtered or unexported fields
}
ReadProviderReader is a Reader for the ReadProvider structure.
func (*ReadProviderReader) ReadResponse ¶
func (o *ReadProviderReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ReadRegistryDefault ¶
type ReadRegistryDefault struct { Payload *cloud.GoogleRPCStatus // contains filtered or unexported fields }
ReadRegistryDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewReadRegistryDefault ¶
func NewReadRegistryDefault(code int) *ReadRegistryDefault
NewReadRegistryDefault creates a ReadRegistryDefault with default headers values
func (*ReadRegistryDefault) Code ¶
func (o *ReadRegistryDefault) Code() int
Code gets the status code for the read registry default response
func (*ReadRegistryDefault) Error ¶
func (o *ReadRegistryDefault) Error() string
func (*ReadRegistryDefault) GetPayload ¶
func (o *ReadRegistryDefault) GetPayload() *cloud.GoogleRPCStatus
func (*ReadRegistryDefault) IsClientError ¶
func (o *ReadRegistryDefault) IsClientError() bool
IsClientError returns true when this read registry default response has a 4xx status code
func (*ReadRegistryDefault) IsCode ¶
func (o *ReadRegistryDefault) IsCode(code int) bool
IsCode returns true when this read registry default response a status code equal to that given
func (*ReadRegistryDefault) IsRedirect ¶
func (o *ReadRegistryDefault) IsRedirect() bool
IsRedirect returns true when this read registry default response has a 3xx status code
func (*ReadRegistryDefault) IsServerError ¶
func (o *ReadRegistryDefault) IsServerError() bool
IsServerError returns true when this read registry default response has a 5xx status code
func (*ReadRegistryDefault) IsSuccess ¶
func (o *ReadRegistryDefault) IsSuccess() bool
IsSuccess returns true when this read registry default response has a 2xx status code
func (*ReadRegistryDefault) String ¶
func (o *ReadRegistryDefault) String() string
type ReadRegistryOK ¶
type ReadRegistryOK struct {
Payload *models.HashicorpCloudVagrant20220930ReadRegistryResponse
}
ReadRegistryOK describes a response with status code 200, with default header values.
A successful response.
func NewReadRegistryOK ¶
func NewReadRegistryOK() *ReadRegistryOK
NewReadRegistryOK creates a ReadRegistryOK with default headers values
func (*ReadRegistryOK) Code ¶
func (o *ReadRegistryOK) Code() int
Code gets the status code for the read registry o k response
func (*ReadRegistryOK) Error ¶
func (o *ReadRegistryOK) Error() string
func (*ReadRegistryOK) GetPayload ¶
func (o *ReadRegistryOK) GetPayload() *models.HashicorpCloudVagrant20220930ReadRegistryResponse
func (*ReadRegistryOK) IsClientError ¶
func (o *ReadRegistryOK) IsClientError() bool
IsClientError returns true when this read registry o k response has a 4xx status code
func (*ReadRegistryOK) IsCode ¶
func (o *ReadRegistryOK) IsCode(code int) bool
IsCode returns true when this read registry o k response a status code equal to that given
func (*ReadRegistryOK) IsRedirect ¶
func (o *ReadRegistryOK) IsRedirect() bool
IsRedirect returns true when this read registry o k response has a 3xx status code
func (*ReadRegistryOK) IsServerError ¶
func (o *ReadRegistryOK) IsServerError() bool
IsServerError returns true when this read registry o k response has a 5xx status code
func (*ReadRegistryOK) IsSuccess ¶
func (o *ReadRegistryOK) IsSuccess() bool
IsSuccess returns true when this read registry o k response has a 2xx status code
func (*ReadRegistryOK) String ¶
func (o *ReadRegistryOK) String() string
type ReadRegistryParams ¶
type ReadRegistryParams struct { /* Expanded. Expand the registry child elements. */ Expanded *bool /* Registry. The name of the Registry to look up. */ Registry string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ReadRegistryParams contains all the parameters to send to the API endpoint
for the read registry operation. Typically these are written to a http.Request.
func NewReadRegistryParams ¶
func NewReadRegistryParams() *ReadRegistryParams
NewReadRegistryParams creates a new ReadRegistryParams 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 NewReadRegistryParamsWithContext ¶
func NewReadRegistryParamsWithContext(ctx context.Context) *ReadRegistryParams
NewReadRegistryParamsWithContext creates a new ReadRegistryParams object with the ability to set a context for a request.
func NewReadRegistryParamsWithHTTPClient ¶
func NewReadRegistryParamsWithHTTPClient(client *http.Client) *ReadRegistryParams
NewReadRegistryParamsWithHTTPClient creates a new ReadRegistryParams object with the ability to set a custom HTTPClient for a request.
func NewReadRegistryParamsWithTimeout ¶
func NewReadRegistryParamsWithTimeout(timeout time.Duration) *ReadRegistryParams
NewReadRegistryParamsWithTimeout creates a new ReadRegistryParams object with the ability to set a timeout on a request.
func (*ReadRegistryParams) SetContext ¶
func (o *ReadRegistryParams) SetContext(ctx context.Context)
SetContext adds the context to the read registry params
func (*ReadRegistryParams) SetDefaults ¶
func (o *ReadRegistryParams) SetDefaults()
SetDefaults hydrates default values in the read registry params (not the query body).
All values with no default are reset to their zero value.
func (*ReadRegistryParams) SetExpanded ¶ added in v0.108.0
func (o *ReadRegistryParams) SetExpanded(expanded *bool)
SetExpanded adds the expanded to the read registry params
func (*ReadRegistryParams) SetHTTPClient ¶
func (o *ReadRegistryParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the read registry params
func (*ReadRegistryParams) SetRegistry ¶
func (o *ReadRegistryParams) SetRegistry(registry string)
SetRegistry adds the registry to the read registry params
func (*ReadRegistryParams) SetTimeout ¶
func (o *ReadRegistryParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the read registry params
func (*ReadRegistryParams) WithContext ¶
func (o *ReadRegistryParams) WithContext(ctx context.Context) *ReadRegistryParams
WithContext adds the context to the read registry params
func (*ReadRegistryParams) WithDefaults ¶
func (o *ReadRegistryParams) WithDefaults() *ReadRegistryParams
WithDefaults hydrates default values in the read registry params (not the query body).
All values with no default are reset to their zero value.
func (*ReadRegistryParams) WithExpanded ¶ added in v0.108.0
func (o *ReadRegistryParams) WithExpanded(expanded *bool) *ReadRegistryParams
WithExpanded adds the expanded to the read registry params
func (*ReadRegistryParams) WithHTTPClient ¶
func (o *ReadRegistryParams) WithHTTPClient(client *http.Client) *ReadRegistryParams
WithHTTPClient adds the HTTPClient to the read registry params
func (*ReadRegistryParams) WithRegistry ¶
func (o *ReadRegistryParams) WithRegistry(registry string) *ReadRegistryParams
WithRegistry adds the registry to the read registry params
func (*ReadRegistryParams) WithTimeout ¶
func (o *ReadRegistryParams) WithTimeout(timeout time.Duration) *ReadRegistryParams
WithTimeout adds the timeout to the read registry params
func (*ReadRegistryParams) WriteToRequest ¶
func (o *ReadRegistryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ReadRegistryReader ¶
type ReadRegistryReader struct {
// contains filtered or unexported fields
}
ReadRegistryReader is a Reader for the ReadRegistry structure.
func (*ReadRegistryReader) ReadResponse ¶
func (o *ReadRegistryReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ReadVersionDefault ¶
type ReadVersionDefault struct { Payload *cloud.GoogleRPCStatus // contains filtered or unexported fields }
ReadVersionDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewReadVersionDefault ¶
func NewReadVersionDefault(code int) *ReadVersionDefault
NewReadVersionDefault creates a ReadVersionDefault with default headers values
func (*ReadVersionDefault) Code ¶
func (o *ReadVersionDefault) Code() int
Code gets the status code for the read version default response
func (*ReadVersionDefault) Error ¶
func (o *ReadVersionDefault) Error() string
func (*ReadVersionDefault) GetPayload ¶
func (o *ReadVersionDefault) GetPayload() *cloud.GoogleRPCStatus
func (*ReadVersionDefault) IsClientError ¶
func (o *ReadVersionDefault) IsClientError() bool
IsClientError returns true when this read version default response has a 4xx status code
func (*ReadVersionDefault) IsCode ¶
func (o *ReadVersionDefault) IsCode(code int) bool
IsCode returns true when this read version default response a status code equal to that given
func (*ReadVersionDefault) IsRedirect ¶
func (o *ReadVersionDefault) IsRedirect() bool
IsRedirect returns true when this read version default response has a 3xx status code
func (*ReadVersionDefault) IsServerError ¶
func (o *ReadVersionDefault) IsServerError() bool
IsServerError returns true when this read version default response has a 5xx status code
func (*ReadVersionDefault) IsSuccess ¶
func (o *ReadVersionDefault) IsSuccess() bool
IsSuccess returns true when this read version default response has a 2xx status code
func (*ReadVersionDefault) String ¶
func (o *ReadVersionDefault) String() string
type ReadVersionOK ¶
type ReadVersionOK struct {
Payload *models.HashicorpCloudVagrant20220930ReadVersionResponse
}
ReadVersionOK describes a response with status code 200, with default header values.
A successful response.
func NewReadVersionOK ¶
func NewReadVersionOK() *ReadVersionOK
NewReadVersionOK creates a ReadVersionOK with default headers values
func (*ReadVersionOK) Code ¶
func (o *ReadVersionOK) Code() int
Code gets the status code for the read version o k response
func (*ReadVersionOK) Error ¶
func (o *ReadVersionOK) Error() string
func (*ReadVersionOK) GetPayload ¶
func (o *ReadVersionOK) GetPayload() *models.HashicorpCloudVagrant20220930ReadVersionResponse
func (*ReadVersionOK) IsClientError ¶
func (o *ReadVersionOK) IsClientError() bool
IsClientError returns true when this read version o k response has a 4xx status code
func (*ReadVersionOK) IsCode ¶
func (o *ReadVersionOK) IsCode(code int) bool
IsCode returns true when this read version o k response a status code equal to that given
func (*ReadVersionOK) IsRedirect ¶
func (o *ReadVersionOK) IsRedirect() bool
IsRedirect returns true when this read version o k response has a 3xx status code
func (*ReadVersionOK) IsServerError ¶
func (o *ReadVersionOK) IsServerError() bool
IsServerError returns true when this read version o k response has a 5xx status code
func (*ReadVersionOK) IsSuccess ¶
func (o *ReadVersionOK) IsSuccess() bool
IsSuccess returns true when this read version o k response has a 2xx status code
func (*ReadVersionOK) String ¶
func (o *ReadVersionOK) String() string
type ReadVersionParams ¶
type ReadVersionParams struct { /* Box. The name segment of the Box. As an example, this field would represent the "vagrant" in "hashicorp/vagrant". */ Box string /* Expanded. Expand the version child elements. */ Expanded *bool /* 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. */ Version string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ReadVersionParams contains all the parameters to send to the API endpoint
for the read version operation. Typically these are written to a http.Request.
func NewReadVersionParams ¶
func NewReadVersionParams() *ReadVersionParams
NewReadVersionParams creates a new ReadVersionParams 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 NewReadVersionParamsWithContext ¶
func NewReadVersionParamsWithContext(ctx context.Context) *ReadVersionParams
NewReadVersionParamsWithContext creates a new ReadVersionParams object with the ability to set a context for a request.
func NewReadVersionParamsWithHTTPClient ¶
func NewReadVersionParamsWithHTTPClient(client *http.Client) *ReadVersionParams
NewReadVersionParamsWithHTTPClient creates a new ReadVersionParams object with the ability to set a custom HTTPClient for a request.
func NewReadVersionParamsWithTimeout ¶
func NewReadVersionParamsWithTimeout(timeout time.Duration) *ReadVersionParams
NewReadVersionParamsWithTimeout creates a new ReadVersionParams object with the ability to set a timeout on a request.
func (*ReadVersionParams) SetBox ¶
func (o *ReadVersionParams) SetBox(box string)
SetBox adds the box to the read version params
func (*ReadVersionParams) SetContext ¶
func (o *ReadVersionParams) SetContext(ctx context.Context)
SetContext adds the context to the read version params
func (*ReadVersionParams) SetDefaults ¶
func (o *ReadVersionParams) SetDefaults()
SetDefaults hydrates default values in the read version params (not the query body).
All values with no default are reset to their zero value.
func (*ReadVersionParams) SetExpanded ¶
func (o *ReadVersionParams) SetExpanded(expanded *bool)
SetExpanded adds the expanded to the read version params
func (*ReadVersionParams) SetHTTPClient ¶
func (o *ReadVersionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the read version params
func (*ReadVersionParams) SetRegistry ¶
func (o *ReadVersionParams) SetRegistry(registry string)
SetRegistry adds the registry to the read version params
func (*ReadVersionParams) SetTimeout ¶
func (o *ReadVersionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the read version params
func (*ReadVersionParams) SetVersion ¶
func (o *ReadVersionParams) SetVersion(version string)
SetVersion adds the version to the read version params
func (*ReadVersionParams) WithBox ¶
func (o *ReadVersionParams) WithBox(box string) *ReadVersionParams
WithBox adds the box to the read version params
func (*ReadVersionParams) WithContext ¶
func (o *ReadVersionParams) WithContext(ctx context.Context) *ReadVersionParams
WithContext adds the context to the read version params
func (*ReadVersionParams) WithDefaults ¶
func (o *ReadVersionParams) WithDefaults() *ReadVersionParams
WithDefaults hydrates default values in the read version params (not the query body).
All values with no default are reset to their zero value.
func (*ReadVersionParams) WithExpanded ¶
func (o *ReadVersionParams) WithExpanded(expanded *bool) *ReadVersionParams
WithExpanded adds the expanded to the read version params
func (*ReadVersionParams) WithHTTPClient ¶
func (o *ReadVersionParams) WithHTTPClient(client *http.Client) *ReadVersionParams
WithHTTPClient adds the HTTPClient to the read version params
func (*ReadVersionParams) WithRegistry ¶
func (o *ReadVersionParams) WithRegistry(registry string) *ReadVersionParams
WithRegistry adds the registry to the read version params
func (*ReadVersionParams) WithTimeout ¶
func (o *ReadVersionParams) WithTimeout(timeout time.Duration) *ReadVersionParams
WithTimeout adds the timeout to the read version params
func (*ReadVersionParams) WithVersion ¶
func (o *ReadVersionParams) WithVersion(version string) *ReadVersionParams
WithVersion adds the version to the read version params
func (*ReadVersionParams) WriteToRequest ¶
func (o *ReadVersionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ReadVersionReader ¶
type ReadVersionReader struct {
// contains filtered or unexported fields
}
ReadVersionReader is a Reader for the ReadVersion structure.
func (*ReadVersionReader) ReadResponse ¶
func (o *ReadVersionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ReleaseVersionDefault ¶
type ReleaseVersionDefault struct { Payload *cloud.GoogleRPCStatus // contains filtered or unexported fields }
ReleaseVersionDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewReleaseVersionDefault ¶
func NewReleaseVersionDefault(code int) *ReleaseVersionDefault
NewReleaseVersionDefault creates a ReleaseVersionDefault with default headers values
func (*ReleaseVersionDefault) Code ¶
func (o *ReleaseVersionDefault) Code() int
Code gets the status code for the release version default response
func (*ReleaseVersionDefault) Error ¶
func (o *ReleaseVersionDefault) Error() string
func (*ReleaseVersionDefault) GetPayload ¶
func (o *ReleaseVersionDefault) GetPayload() *cloud.GoogleRPCStatus
func (*ReleaseVersionDefault) IsClientError ¶
func (o *ReleaseVersionDefault) IsClientError() bool
IsClientError returns true when this release version default response has a 4xx status code
func (*ReleaseVersionDefault) IsCode ¶
func (o *ReleaseVersionDefault) IsCode(code int) bool
IsCode returns true when this release version default response a status code equal to that given
func (*ReleaseVersionDefault) IsRedirect ¶
func (o *ReleaseVersionDefault) IsRedirect() bool
IsRedirect returns true when this release version default response has a 3xx status code
func (*ReleaseVersionDefault) IsServerError ¶
func (o *ReleaseVersionDefault) IsServerError() bool
IsServerError returns true when this release version default response has a 5xx status code
func (*ReleaseVersionDefault) IsSuccess ¶
func (o *ReleaseVersionDefault) IsSuccess() bool
IsSuccess returns true when this release version default response has a 2xx status code
func (*ReleaseVersionDefault) String ¶
func (o *ReleaseVersionDefault) String() string
type ReleaseVersionOK ¶
type ReleaseVersionOK struct {
Payload models.HashicorpCloudVagrant20220930ReleaseVersionResponse
}
ReleaseVersionOK describes a response with status code 200, with default header values.
A successful response.
func NewReleaseVersionOK ¶
func NewReleaseVersionOK() *ReleaseVersionOK
NewReleaseVersionOK creates a ReleaseVersionOK with default headers values
func (*ReleaseVersionOK) Code ¶
func (o *ReleaseVersionOK) Code() int
Code gets the status code for the release version o k response
func (*ReleaseVersionOK) Error ¶
func (o *ReleaseVersionOK) Error() string
func (*ReleaseVersionOK) GetPayload ¶
func (o *ReleaseVersionOK) GetPayload() models.HashicorpCloudVagrant20220930ReleaseVersionResponse
func (*ReleaseVersionOK) IsClientError ¶
func (o *ReleaseVersionOK) IsClientError() bool
IsClientError returns true when this release version o k response has a 4xx status code
func (*ReleaseVersionOK) IsCode ¶
func (o *ReleaseVersionOK) IsCode(code int) bool
IsCode returns true when this release version o k response a status code equal to that given
func (*ReleaseVersionOK) IsRedirect ¶
func (o *ReleaseVersionOK) IsRedirect() bool
IsRedirect returns true when this release version o k response has a 3xx status code
func (*ReleaseVersionOK) IsServerError ¶
func (o *ReleaseVersionOK) IsServerError() bool
IsServerError returns true when this release version o k response has a 5xx status code
func (*ReleaseVersionOK) IsSuccess ¶
func (o *ReleaseVersionOK) IsSuccess() bool
IsSuccess returns true when this release version o k response has a 2xx status code
func (*ReleaseVersionOK) String ¶
func (o *ReleaseVersionOK) String() string
type ReleaseVersionParams ¶
type ReleaseVersionParams struct { /* 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 release. */ Version string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ReleaseVersionParams contains all the parameters to send to the API endpoint
for the release version operation. Typically these are written to a http.Request.
func NewReleaseVersionParams ¶
func NewReleaseVersionParams() *ReleaseVersionParams
NewReleaseVersionParams creates a new ReleaseVersionParams 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 NewReleaseVersionParamsWithContext ¶
func NewReleaseVersionParamsWithContext(ctx context.Context) *ReleaseVersionParams
NewReleaseVersionParamsWithContext creates a new ReleaseVersionParams object with the ability to set a context for a request.
func NewReleaseVersionParamsWithHTTPClient ¶
func NewReleaseVersionParamsWithHTTPClient(client *http.Client) *ReleaseVersionParams
NewReleaseVersionParamsWithHTTPClient creates a new ReleaseVersionParams object with the ability to set a custom HTTPClient for a request.
func NewReleaseVersionParamsWithTimeout ¶
func NewReleaseVersionParamsWithTimeout(timeout time.Duration) *ReleaseVersionParams
NewReleaseVersionParamsWithTimeout creates a new ReleaseVersionParams object with the ability to set a timeout on a request.
func (*ReleaseVersionParams) SetBox ¶
func (o *ReleaseVersionParams) SetBox(box string)
SetBox adds the box to the release version params
func (*ReleaseVersionParams) SetContext ¶
func (o *ReleaseVersionParams) SetContext(ctx context.Context)
SetContext adds the context to the release version params
func (*ReleaseVersionParams) SetDefaults ¶
func (o *ReleaseVersionParams) SetDefaults()
SetDefaults hydrates default values in the release version params (not the query body).
All values with no default are reset to their zero value.
func (*ReleaseVersionParams) SetHTTPClient ¶
func (o *ReleaseVersionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the release version params
func (*ReleaseVersionParams) SetRegistry ¶
func (o *ReleaseVersionParams) SetRegistry(registry string)
SetRegistry adds the registry to the release version params
func (*ReleaseVersionParams) SetTimeout ¶
func (o *ReleaseVersionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the release version params
func (*ReleaseVersionParams) SetVersion ¶
func (o *ReleaseVersionParams) SetVersion(version string)
SetVersion adds the version to the release version params
func (*ReleaseVersionParams) WithBox ¶
func (o *ReleaseVersionParams) WithBox(box string) *ReleaseVersionParams
WithBox adds the box to the release version params
func (*ReleaseVersionParams) WithContext ¶
func (o *ReleaseVersionParams) WithContext(ctx context.Context) *ReleaseVersionParams
WithContext adds the context to the release version params
func (*ReleaseVersionParams) WithDefaults ¶
func (o *ReleaseVersionParams) WithDefaults() *ReleaseVersionParams
WithDefaults hydrates default values in the release version params (not the query body).
All values with no default are reset to their zero value.
func (*ReleaseVersionParams) WithHTTPClient ¶
func (o *ReleaseVersionParams) WithHTTPClient(client *http.Client) *ReleaseVersionParams
WithHTTPClient adds the HTTPClient to the release version params
func (*ReleaseVersionParams) WithRegistry ¶
func (o *ReleaseVersionParams) WithRegistry(registry string) *ReleaseVersionParams
WithRegistry adds the registry to the release version params
func (*ReleaseVersionParams) WithTimeout ¶
func (o *ReleaseVersionParams) WithTimeout(timeout time.Duration) *ReleaseVersionParams
WithTimeout adds the timeout to the release version params
func (*ReleaseVersionParams) WithVersion ¶
func (o *ReleaseVersionParams) WithVersion(version string) *ReleaseVersionParams
WithVersion adds the version to the release version params
func (*ReleaseVersionParams) WriteToRequest ¶
func (o *ReleaseVersionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ReleaseVersionReader ¶
type ReleaseVersionReader struct {
// contains filtered or unexported fields
}
ReleaseVersionReader is a Reader for the ReleaseVersion structure.
func (*ReleaseVersionReader) ReadResponse ¶
func (o *ReleaseVersionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RevokeVersionDefault ¶
type RevokeVersionDefault struct { Payload *cloud.GoogleRPCStatus // contains filtered or unexported fields }
RevokeVersionDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewRevokeVersionDefault ¶
func NewRevokeVersionDefault(code int) *RevokeVersionDefault
NewRevokeVersionDefault creates a RevokeVersionDefault with default headers values
func (*RevokeVersionDefault) Code ¶
func (o *RevokeVersionDefault) Code() int
Code gets the status code for the revoke version default response
func (*RevokeVersionDefault) Error ¶
func (o *RevokeVersionDefault) Error() string
func (*RevokeVersionDefault) GetPayload ¶
func (o *RevokeVersionDefault) GetPayload() *cloud.GoogleRPCStatus
func (*RevokeVersionDefault) IsClientError ¶
func (o *RevokeVersionDefault) IsClientError() bool
IsClientError returns true when this revoke version default response has a 4xx status code
func (*RevokeVersionDefault) IsCode ¶
func (o *RevokeVersionDefault) IsCode(code int) bool
IsCode returns true when this revoke version default response a status code equal to that given
func (*RevokeVersionDefault) IsRedirect ¶
func (o *RevokeVersionDefault) IsRedirect() bool
IsRedirect returns true when this revoke version default response has a 3xx status code
func (*RevokeVersionDefault) IsServerError ¶
func (o *RevokeVersionDefault) IsServerError() bool
IsServerError returns true when this revoke version default response has a 5xx status code
func (*RevokeVersionDefault) IsSuccess ¶
func (o *RevokeVersionDefault) IsSuccess() bool
IsSuccess returns true when this revoke version default response has a 2xx status code
func (*RevokeVersionDefault) String ¶
func (o *RevokeVersionDefault) String() string
type RevokeVersionOK ¶
type RevokeVersionOK struct {
Payload models.HashicorpCloudVagrant20220930RevokeVersionResponse
}
RevokeVersionOK describes a response with status code 200, with default header values.
A successful response.
func NewRevokeVersionOK ¶
func NewRevokeVersionOK() *RevokeVersionOK
NewRevokeVersionOK creates a RevokeVersionOK with default headers values
func (*RevokeVersionOK) Code ¶
func (o *RevokeVersionOK) Code() int
Code gets the status code for the revoke version o k response
func (*RevokeVersionOK) Error ¶
func (o *RevokeVersionOK) Error() string
func (*RevokeVersionOK) GetPayload ¶
func (o *RevokeVersionOK) GetPayload() models.HashicorpCloudVagrant20220930RevokeVersionResponse
func (*RevokeVersionOK) IsClientError ¶
func (o *RevokeVersionOK) IsClientError() bool
IsClientError returns true when this revoke version o k response has a 4xx status code
func (*RevokeVersionOK) IsCode ¶
func (o *RevokeVersionOK) IsCode(code int) bool
IsCode returns true when this revoke version o k response a status code equal to that given
func (*RevokeVersionOK) IsRedirect ¶
func (o *RevokeVersionOK) IsRedirect() bool
IsRedirect returns true when this revoke version o k response has a 3xx status code
func (*RevokeVersionOK) IsServerError ¶
func (o *RevokeVersionOK) IsServerError() bool
IsServerError returns true when this revoke version o k response has a 5xx status code
func (*RevokeVersionOK) IsSuccess ¶
func (o *RevokeVersionOK) IsSuccess() bool
IsSuccess returns true when this revoke version o k response has a 2xx status code
func (*RevokeVersionOK) String ¶
func (o *RevokeVersionOK) String() string
type RevokeVersionParams ¶
type RevokeVersionParams struct { /* 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 revoke. */ Version string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RevokeVersionParams contains all the parameters to send to the API endpoint
for the revoke version operation. Typically these are written to a http.Request.
func NewRevokeVersionParams ¶
func NewRevokeVersionParams() *RevokeVersionParams
NewRevokeVersionParams creates a new RevokeVersionParams 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 NewRevokeVersionParamsWithContext ¶
func NewRevokeVersionParamsWithContext(ctx context.Context) *RevokeVersionParams
NewRevokeVersionParamsWithContext creates a new RevokeVersionParams object with the ability to set a context for a request.
func NewRevokeVersionParamsWithHTTPClient ¶
func NewRevokeVersionParamsWithHTTPClient(client *http.Client) *RevokeVersionParams
NewRevokeVersionParamsWithHTTPClient creates a new RevokeVersionParams object with the ability to set a custom HTTPClient for a request.
func NewRevokeVersionParamsWithTimeout ¶
func NewRevokeVersionParamsWithTimeout(timeout time.Duration) *RevokeVersionParams
NewRevokeVersionParamsWithTimeout creates a new RevokeVersionParams object with the ability to set a timeout on a request.
func (*RevokeVersionParams) SetBox ¶
func (o *RevokeVersionParams) SetBox(box string)
SetBox adds the box to the revoke version params
func (*RevokeVersionParams) SetContext ¶
func (o *RevokeVersionParams) SetContext(ctx context.Context)
SetContext adds the context to the revoke version params
func (*RevokeVersionParams) SetDefaults ¶
func (o *RevokeVersionParams) SetDefaults()
SetDefaults hydrates default values in the revoke version params (not the query body).
All values with no default are reset to their zero value.
func (*RevokeVersionParams) SetHTTPClient ¶
func (o *RevokeVersionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the revoke version params
func (*RevokeVersionParams) SetRegistry ¶
func (o *RevokeVersionParams) SetRegistry(registry string)
SetRegistry adds the registry to the revoke version params
func (*RevokeVersionParams) SetTimeout ¶
func (o *RevokeVersionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the revoke version params
func (*RevokeVersionParams) SetVersion ¶
func (o *RevokeVersionParams) SetVersion(version string)
SetVersion adds the version to the revoke version params
func (*RevokeVersionParams) WithBox ¶
func (o *RevokeVersionParams) WithBox(box string) *RevokeVersionParams
WithBox adds the box to the revoke version params
func (*RevokeVersionParams) WithContext ¶
func (o *RevokeVersionParams) WithContext(ctx context.Context) *RevokeVersionParams
WithContext adds the context to the revoke version params
func (*RevokeVersionParams) WithDefaults ¶
func (o *RevokeVersionParams) WithDefaults() *RevokeVersionParams
WithDefaults hydrates default values in the revoke version params (not the query body).
All values with no default are reset to their zero value.
func (*RevokeVersionParams) WithHTTPClient ¶
func (o *RevokeVersionParams) WithHTTPClient(client *http.Client) *RevokeVersionParams
WithHTTPClient adds the HTTPClient to the revoke version params
func (*RevokeVersionParams) WithRegistry ¶
func (o *RevokeVersionParams) WithRegistry(registry string) *RevokeVersionParams
WithRegistry adds the registry to the revoke version params
func (*RevokeVersionParams) WithTimeout ¶
func (o *RevokeVersionParams) WithTimeout(timeout time.Duration) *RevokeVersionParams
WithTimeout adds the timeout to the revoke version params
func (*RevokeVersionParams) WithVersion ¶
func (o *RevokeVersionParams) WithVersion(version string) *RevokeVersionParams
WithVersion adds the version to the revoke version params
func (*RevokeVersionParams) WriteToRequest ¶
func (o *RevokeVersionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RevokeVersionReader ¶
type RevokeVersionReader struct {
// contains filtered or unexported fields
}
RevokeVersionReader is a Reader for the RevokeVersion structure.
func (*RevokeVersionReader) ReadResponse ¶
func (o *RevokeVersionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SearchDefault ¶
type SearchDefault struct { Payload *cloud.GoogleRPCStatus // contains filtered or unexported fields }
SearchDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewSearchDefault ¶
func NewSearchDefault(code int) *SearchDefault
NewSearchDefault creates a SearchDefault with default headers values
func (*SearchDefault) Code ¶
func (o *SearchDefault) Code() int
Code gets the status code for the search default response
func (*SearchDefault) Error ¶
func (o *SearchDefault) Error() string
func (*SearchDefault) GetPayload ¶
func (o *SearchDefault) GetPayload() *cloud.GoogleRPCStatus
func (*SearchDefault) IsClientError ¶
func (o *SearchDefault) IsClientError() bool
IsClientError returns true when this search default response has a 4xx status code
func (*SearchDefault) IsCode ¶
func (o *SearchDefault) IsCode(code int) bool
IsCode returns true when this search default response a status code equal to that given
func (*SearchDefault) IsRedirect ¶
func (o *SearchDefault) IsRedirect() bool
IsRedirect returns true when this search default response has a 3xx status code
func (*SearchDefault) IsServerError ¶
func (o *SearchDefault) IsServerError() bool
IsServerError returns true when this search default response has a 5xx status code
func (*SearchDefault) IsSuccess ¶
func (o *SearchDefault) IsSuccess() bool
IsSuccess returns true when this search default response has a 2xx status code
func (*SearchDefault) String ¶
func (o *SearchDefault) String() string
type SearchOK ¶
type SearchOK struct {
Payload *models.HashicorpCloudVagrant20220930SearchIndexResponse
}
SearchOK describes a response with status code 200, with default header values.
A successful response.
func NewSearchOK ¶
func NewSearchOK() *SearchOK
NewSearchOK creates a SearchOK with default headers values
func (*SearchOK) GetPayload ¶
func (o *SearchOK) GetPayload() *models.HashicorpCloudVagrant20220930SearchIndexResponse
func (*SearchOK) IsClientError ¶
IsClientError returns true when this search o k response has a 4xx status code
func (*SearchOK) IsCode ¶
IsCode returns true when this search o k response a status code equal to that given
func (*SearchOK) IsRedirect ¶
IsRedirect returns true when this search o k response has a 3xx status code
func (*SearchOK) IsServerError ¶
IsServerError returns true when this search o k response has a 5xx status code
type SearchParams ¶
type SearchParams struct { /* Architectures. Architecture to filter by, if provided. */ Architectures []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 /* Providers. Provider to filter by, if provided. */ Providers []string /* Q. The terms to search by. */ Q *string /* SortOrderBy. Specifies the list of per field ordering that should be used for sorting. The order matters as rows are sorted in order by fields and when the field matches, the next field is used to tie break the ordering. The per field default ordering is ascending. The fields should be immutabile, unique, and orderable. If the field is not unique, more than one sort fields should be passed. Example: oder_by=name,age desc,created_at asc In that case, 'name' will get the default 'ascending' order. */ SortOrderBy []string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SearchParams contains all the parameters to send to the API endpoint
for the search operation. Typically these are written to a http.Request.
func NewSearchParams ¶
func NewSearchParams() *SearchParams
NewSearchParams creates a new SearchParams 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 NewSearchParamsWithContext ¶
func NewSearchParamsWithContext(ctx context.Context) *SearchParams
NewSearchParamsWithContext creates a new SearchParams object with the ability to set a context for a request.
func NewSearchParamsWithHTTPClient ¶
func NewSearchParamsWithHTTPClient(client *http.Client) *SearchParams
NewSearchParamsWithHTTPClient creates a new SearchParams object with the ability to set a custom HTTPClient for a request.
func NewSearchParamsWithTimeout ¶
func NewSearchParamsWithTimeout(timeout time.Duration) *SearchParams
NewSearchParamsWithTimeout creates a new SearchParams object with the ability to set a timeout on a request.
func (*SearchParams) SetArchitectures ¶
func (o *SearchParams) SetArchitectures(architectures []string)
SetArchitectures adds the architectures to the search params
func (*SearchParams) SetContext ¶
func (o *SearchParams) SetContext(ctx context.Context)
SetContext adds the context to the search params
func (*SearchParams) SetDefaults ¶
func (o *SearchParams) SetDefaults()
SetDefaults hydrates default values in the search params (not the query body).
All values with no default are reset to their zero value.
func (*SearchParams) SetHTTPClient ¶
func (o *SearchParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the search params
func (*SearchParams) SetPaginationNextPageToken ¶
func (o *SearchParams) SetPaginationNextPageToken(paginationNextPageToken *string)
SetPaginationNextPageToken adds the paginationNextPageToken to the search params
func (*SearchParams) SetPaginationPageSize ¶
func (o *SearchParams) SetPaginationPageSize(paginationPageSize *int64)
SetPaginationPageSize adds the paginationPageSize to the search params
func (*SearchParams) SetPaginationPreviousPageToken ¶
func (o *SearchParams) SetPaginationPreviousPageToken(paginationPreviousPageToken *string)
SetPaginationPreviousPageToken adds the paginationPreviousPageToken to the search params
func (*SearchParams) SetProviders ¶
func (o *SearchParams) SetProviders(providers []string)
SetProviders adds the providers to the search params
func (*SearchParams) SetQ ¶
func (o *SearchParams) SetQ(q *string)
SetQ adds the q to the search params
func (*SearchParams) SetSortOrderBy ¶
func (o *SearchParams) SetSortOrderBy(sortOrderBy []string)
SetSortOrderBy adds the sortOrderBy to the search params
func (*SearchParams) SetTimeout ¶
func (o *SearchParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the search params
func (*SearchParams) WithArchitectures ¶
func (o *SearchParams) WithArchitectures(architectures []string) *SearchParams
WithArchitectures adds the architectures to the search params
func (*SearchParams) WithContext ¶
func (o *SearchParams) WithContext(ctx context.Context) *SearchParams
WithContext adds the context to the search params
func (*SearchParams) WithDefaults ¶
func (o *SearchParams) WithDefaults() *SearchParams
WithDefaults hydrates default values in the search params (not the query body).
All values with no default are reset to their zero value.
func (*SearchParams) WithHTTPClient ¶
func (o *SearchParams) WithHTTPClient(client *http.Client) *SearchParams
WithHTTPClient adds the HTTPClient to the search params
func (*SearchParams) WithPaginationNextPageToken ¶
func (o *SearchParams) WithPaginationNextPageToken(paginationNextPageToken *string) *SearchParams
WithPaginationNextPageToken adds the paginationNextPageToken to the search params
func (*SearchParams) WithPaginationPageSize ¶
func (o *SearchParams) WithPaginationPageSize(paginationPageSize *int64) *SearchParams
WithPaginationPageSize adds the paginationPageSize to the search params
func (*SearchParams) WithPaginationPreviousPageToken ¶
func (o *SearchParams) WithPaginationPreviousPageToken(paginationPreviousPageToken *string) *SearchParams
WithPaginationPreviousPageToken adds the paginationPreviousPageToken to the search params
func (*SearchParams) WithProviders ¶
func (o *SearchParams) WithProviders(providers []string) *SearchParams
WithProviders adds the providers to the search params
func (*SearchParams) WithQ ¶
func (o *SearchParams) WithQ(q *string) *SearchParams
WithQ adds the q to the search params
func (*SearchParams) WithSortOrderBy ¶
func (o *SearchParams) WithSortOrderBy(sortOrderBy []string) *SearchParams
WithSortOrderBy adds the sortOrderBy to the search params
func (*SearchParams) WithTimeout ¶
func (o *SearchParams) WithTimeout(timeout time.Duration) *SearchParams
WithTimeout adds the timeout to the search params
func (*SearchParams) WriteToRequest ¶
func (o *SearchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SearchReader ¶
type SearchReader struct {
// contains filtered or unexported fields
}
SearchReader is a Reader for the Search structure.
func (*SearchReader) ReadResponse ¶
func (o *SearchReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateArchitectureDefault ¶
type UpdateArchitectureDefault struct { Payload *cloud.GoogleRPCStatus // contains filtered or unexported fields }
UpdateArchitectureDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewUpdateArchitectureDefault ¶
func NewUpdateArchitectureDefault(code int) *UpdateArchitectureDefault
NewUpdateArchitectureDefault creates a UpdateArchitectureDefault with default headers values
func (*UpdateArchitectureDefault) Code ¶
func (o *UpdateArchitectureDefault) Code() int
Code gets the status code for the update architecture default response
func (*UpdateArchitectureDefault) Error ¶
func (o *UpdateArchitectureDefault) Error() string
func (*UpdateArchitectureDefault) GetPayload ¶
func (o *UpdateArchitectureDefault) GetPayload() *cloud.GoogleRPCStatus
func (*UpdateArchitectureDefault) IsClientError ¶
func (o *UpdateArchitectureDefault) IsClientError() bool
IsClientError returns true when this update architecture default response has a 4xx status code
func (*UpdateArchitectureDefault) IsCode ¶
func (o *UpdateArchitectureDefault) IsCode(code int) bool
IsCode returns true when this update architecture default response a status code equal to that given
func (*UpdateArchitectureDefault) IsRedirect ¶
func (o *UpdateArchitectureDefault) IsRedirect() bool
IsRedirect returns true when this update architecture default response has a 3xx status code
func (*UpdateArchitectureDefault) IsServerError ¶
func (o *UpdateArchitectureDefault) IsServerError() bool
IsServerError returns true when this update architecture default response has a 5xx status code
func (*UpdateArchitectureDefault) IsSuccess ¶
func (o *UpdateArchitectureDefault) IsSuccess() bool
IsSuccess returns true when this update architecture default response has a 2xx status code
func (*UpdateArchitectureDefault) String ¶
func (o *UpdateArchitectureDefault) String() string
type UpdateArchitectureOK ¶
type UpdateArchitectureOK struct {
Payload *models.HashicorpCloudVagrant20220930UpdateArchitectureResponse
}
UpdateArchitectureOK describes a response with status code 200, with default header values.
A successful response.
func NewUpdateArchitectureOK ¶
func NewUpdateArchitectureOK() *UpdateArchitectureOK
NewUpdateArchitectureOK creates a UpdateArchitectureOK with default headers values
func (*UpdateArchitectureOK) Code ¶
func (o *UpdateArchitectureOK) Code() int
Code gets the status code for the update architecture o k response
func (*UpdateArchitectureOK) Error ¶
func (o *UpdateArchitectureOK) Error() string
func (*UpdateArchitectureOK) GetPayload ¶
func (o *UpdateArchitectureOK) GetPayload() *models.HashicorpCloudVagrant20220930UpdateArchitectureResponse
func (*UpdateArchitectureOK) IsClientError ¶
func (o *UpdateArchitectureOK) IsClientError() bool
IsClientError returns true when this update architecture o k response has a 4xx status code
func (*UpdateArchitectureOK) IsCode ¶
func (o *UpdateArchitectureOK) IsCode(code int) bool
IsCode returns true when this update architecture o k response a status code equal to that given
func (*UpdateArchitectureOK) IsRedirect ¶
func (o *UpdateArchitectureOK) IsRedirect() bool
IsRedirect returns true when this update architecture o k response has a 3xx status code
func (*UpdateArchitectureOK) IsServerError ¶
func (o *UpdateArchitectureOK) IsServerError() bool
IsServerError returns true when this update architecture o k response has a 5xx status code
func (*UpdateArchitectureOK) IsSuccess ¶
func (o *UpdateArchitectureOK) IsSuccess() bool
IsSuccess returns true when this update architecture o k response has a 2xx status code
func (*UpdateArchitectureOK) String ¶
func (o *UpdateArchitectureOK) String() string
type UpdateArchitectureParams ¶
type UpdateArchitectureParams struct { /* Architecture. The type of the Architecture. */ Architecture string /* Box. The name segment of the Box. As an example, this field would represent the "vagrant" in "hashicorp/vagrant". */ Box string /* Data. Details of the Architecture to update. */ Data *models.HashicorpCloudVagrant20220930Architecture /* 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 }
UpdateArchitectureParams contains all the parameters to send to the API endpoint
for the update architecture operation. Typically these are written to a http.Request.
func NewUpdateArchitectureParams ¶
func NewUpdateArchitectureParams() *UpdateArchitectureParams
NewUpdateArchitectureParams creates a new UpdateArchitectureParams 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 NewUpdateArchitectureParamsWithContext ¶
func NewUpdateArchitectureParamsWithContext(ctx context.Context) *UpdateArchitectureParams
NewUpdateArchitectureParamsWithContext creates a new UpdateArchitectureParams object with the ability to set a context for a request.
func NewUpdateArchitectureParamsWithHTTPClient ¶
func NewUpdateArchitectureParamsWithHTTPClient(client *http.Client) *UpdateArchitectureParams
NewUpdateArchitectureParamsWithHTTPClient creates a new UpdateArchitectureParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateArchitectureParamsWithTimeout ¶
func NewUpdateArchitectureParamsWithTimeout(timeout time.Duration) *UpdateArchitectureParams
NewUpdateArchitectureParamsWithTimeout creates a new UpdateArchitectureParams object with the ability to set a timeout on a request.
func (*UpdateArchitectureParams) SetArchitecture ¶
func (o *UpdateArchitectureParams) SetArchitecture(architecture string)
SetArchitecture adds the architecture to the update architecture params
func (*UpdateArchitectureParams) SetBox ¶
func (o *UpdateArchitectureParams) SetBox(box string)
SetBox adds the box to the update architecture params
func (*UpdateArchitectureParams) SetContext ¶
func (o *UpdateArchitectureParams) SetContext(ctx context.Context)
SetContext adds the context to the update architecture params
func (*UpdateArchitectureParams) SetData ¶
func (o *UpdateArchitectureParams) SetData(data *models.HashicorpCloudVagrant20220930Architecture)
SetData adds the data to the update architecture params
func (*UpdateArchitectureParams) SetDefaults ¶
func (o *UpdateArchitectureParams) SetDefaults()
SetDefaults hydrates default values in the update architecture params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateArchitectureParams) SetHTTPClient ¶
func (o *UpdateArchitectureParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update architecture params
func (*UpdateArchitectureParams) SetProvider ¶
func (o *UpdateArchitectureParams) SetProvider(provider string)
SetProvider adds the provider to the update architecture params
func (*UpdateArchitectureParams) SetRegistry ¶
func (o *UpdateArchitectureParams) SetRegistry(registry string)
SetRegistry adds the registry to the update architecture params
func (*UpdateArchitectureParams) SetTimeout ¶
func (o *UpdateArchitectureParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update architecture params
func (*UpdateArchitectureParams) SetVersion ¶
func (o *UpdateArchitectureParams) SetVersion(version string)
SetVersion adds the version to the update architecture params
func (*UpdateArchitectureParams) WithArchitecture ¶
func (o *UpdateArchitectureParams) WithArchitecture(architecture string) *UpdateArchitectureParams
WithArchitecture adds the architecture to the update architecture params
func (*UpdateArchitectureParams) WithBox ¶
func (o *UpdateArchitectureParams) WithBox(box string) *UpdateArchitectureParams
WithBox adds the box to the update architecture params
func (*UpdateArchitectureParams) WithContext ¶
func (o *UpdateArchitectureParams) WithContext(ctx context.Context) *UpdateArchitectureParams
WithContext adds the context to the update architecture params
func (*UpdateArchitectureParams) WithData ¶
func (o *UpdateArchitectureParams) WithData(data *models.HashicorpCloudVagrant20220930Architecture) *UpdateArchitectureParams
WithData adds the data to the update architecture params
func (*UpdateArchitectureParams) WithDefaults ¶
func (o *UpdateArchitectureParams) WithDefaults() *UpdateArchitectureParams
WithDefaults hydrates default values in the update architecture params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateArchitectureParams) WithHTTPClient ¶
func (o *UpdateArchitectureParams) WithHTTPClient(client *http.Client) *UpdateArchitectureParams
WithHTTPClient adds the HTTPClient to the update architecture params
func (*UpdateArchitectureParams) WithProvider ¶
func (o *UpdateArchitectureParams) WithProvider(provider string) *UpdateArchitectureParams
WithProvider adds the provider to the update architecture params
func (*UpdateArchitectureParams) WithRegistry ¶
func (o *UpdateArchitectureParams) WithRegistry(registry string) *UpdateArchitectureParams
WithRegistry adds the registry to the update architecture params
func (*UpdateArchitectureParams) WithTimeout ¶
func (o *UpdateArchitectureParams) WithTimeout(timeout time.Duration) *UpdateArchitectureParams
WithTimeout adds the timeout to the update architecture params
func (*UpdateArchitectureParams) WithVersion ¶
func (o *UpdateArchitectureParams) WithVersion(version string) *UpdateArchitectureParams
WithVersion adds the version to the update architecture params
func (*UpdateArchitectureParams) WriteToRequest ¶
func (o *UpdateArchitectureParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateArchitectureReader ¶
type UpdateArchitectureReader struct {
// contains filtered or unexported fields
}
UpdateArchitectureReader is a Reader for the UpdateArchitecture structure.
func (*UpdateArchitectureReader) ReadResponse ¶
func (o *UpdateArchitectureReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateBoxDefault ¶
type UpdateBoxDefault struct { Payload *cloud.GoogleRPCStatus // contains filtered or unexported fields }
UpdateBoxDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewUpdateBoxDefault ¶
func NewUpdateBoxDefault(code int) *UpdateBoxDefault
NewUpdateBoxDefault creates a UpdateBoxDefault with default headers values
func (*UpdateBoxDefault) Code ¶
func (o *UpdateBoxDefault) Code() int
Code gets the status code for the update box default response
func (*UpdateBoxDefault) Error ¶
func (o *UpdateBoxDefault) Error() string
func (*UpdateBoxDefault) GetPayload ¶
func (o *UpdateBoxDefault) GetPayload() *cloud.GoogleRPCStatus
func (*UpdateBoxDefault) IsClientError ¶
func (o *UpdateBoxDefault) IsClientError() bool
IsClientError returns true when this update box default response has a 4xx status code
func (*UpdateBoxDefault) IsCode ¶
func (o *UpdateBoxDefault) IsCode(code int) bool
IsCode returns true when this update box default response a status code equal to that given
func (*UpdateBoxDefault) IsRedirect ¶
func (o *UpdateBoxDefault) IsRedirect() bool
IsRedirect returns true when this update box default response has a 3xx status code
func (*UpdateBoxDefault) IsServerError ¶
func (o *UpdateBoxDefault) IsServerError() bool
IsServerError returns true when this update box default response has a 5xx status code
func (*UpdateBoxDefault) IsSuccess ¶
func (o *UpdateBoxDefault) IsSuccess() bool
IsSuccess returns true when this update box default response has a 2xx status code
func (*UpdateBoxDefault) String ¶
func (o *UpdateBoxDefault) String() string
type UpdateBoxOK ¶
type UpdateBoxOK struct {
Payload *models.HashicorpCloudVagrant20220930UpdateBoxResponse
}
UpdateBoxOK describes a response with status code 200, with default header values.
A successful response.
func NewUpdateBoxOK ¶
func NewUpdateBoxOK() *UpdateBoxOK
NewUpdateBoxOK creates a UpdateBoxOK with default headers values
func (*UpdateBoxOK) Code ¶
func (o *UpdateBoxOK) Code() int
Code gets the status code for the update box o k response
func (*UpdateBoxOK) Error ¶
func (o *UpdateBoxOK) Error() string
func (*UpdateBoxOK) GetPayload ¶
func (o *UpdateBoxOK) GetPayload() *models.HashicorpCloudVagrant20220930UpdateBoxResponse
func (*UpdateBoxOK) IsClientError ¶
func (o *UpdateBoxOK) IsClientError() bool
IsClientError returns true when this update box o k response has a 4xx status code
func (*UpdateBoxOK) IsCode ¶
func (o *UpdateBoxOK) IsCode(code int) bool
IsCode returns true when this update box o k response a status code equal to that given
func (*UpdateBoxOK) IsRedirect ¶
func (o *UpdateBoxOK) IsRedirect() bool
IsRedirect returns true when this update box o k response has a 3xx status code
func (*UpdateBoxOK) IsServerError ¶
func (o *UpdateBoxOK) IsServerError() bool
IsServerError returns true when this update box o k response has a 5xx status code
func (*UpdateBoxOK) IsSuccess ¶
func (o *UpdateBoxOK) IsSuccess() bool
IsSuccess returns true when this update box o k response has a 2xx status code
func (*UpdateBoxOK) String ¶
func (o *UpdateBoxOK) String() string
type UpdateBoxParams ¶
type UpdateBoxParams struct { /* Box. The name segment of the Box to update. As an example, this field would represent the "vagrant" in "hashicorp/vagrant". */ Box string /* Data. Details of the Box to update. */ Data *models.HashicorpCloudVagrant20220930Box /* Registry. The Registry segment of the Box. As an example, this field would represent the "hashicorp" in "hashicorp/vagrant". */ Registry string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateBoxParams contains all the parameters to send to the API endpoint
for the update box operation. Typically these are written to a http.Request.
func NewUpdateBoxParams ¶
func NewUpdateBoxParams() *UpdateBoxParams
NewUpdateBoxParams creates a new UpdateBoxParams 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 NewUpdateBoxParamsWithContext ¶
func NewUpdateBoxParamsWithContext(ctx context.Context) *UpdateBoxParams
NewUpdateBoxParamsWithContext creates a new UpdateBoxParams object with the ability to set a context for a request.
func NewUpdateBoxParamsWithHTTPClient ¶
func NewUpdateBoxParamsWithHTTPClient(client *http.Client) *UpdateBoxParams
NewUpdateBoxParamsWithHTTPClient creates a new UpdateBoxParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateBoxParamsWithTimeout ¶
func NewUpdateBoxParamsWithTimeout(timeout time.Duration) *UpdateBoxParams
NewUpdateBoxParamsWithTimeout creates a new UpdateBoxParams object with the ability to set a timeout on a request.
func (*UpdateBoxParams) SetBox ¶
func (o *UpdateBoxParams) SetBox(box string)
SetBox adds the box to the update box params
func (*UpdateBoxParams) SetContext ¶
func (o *UpdateBoxParams) SetContext(ctx context.Context)
SetContext adds the context to the update box params
func (*UpdateBoxParams) SetData ¶
func (o *UpdateBoxParams) SetData(data *models.HashicorpCloudVagrant20220930Box)
SetData adds the data to the update box params
func (*UpdateBoxParams) SetDefaults ¶
func (o *UpdateBoxParams) SetDefaults()
SetDefaults hydrates default values in the update box params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateBoxParams) SetHTTPClient ¶
func (o *UpdateBoxParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update box params
func (*UpdateBoxParams) SetRegistry ¶
func (o *UpdateBoxParams) SetRegistry(registry string)
SetRegistry adds the registry to the update box params
func (*UpdateBoxParams) SetTimeout ¶
func (o *UpdateBoxParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update box params
func (*UpdateBoxParams) WithBox ¶
func (o *UpdateBoxParams) WithBox(box string) *UpdateBoxParams
WithBox adds the box to the update box params
func (*UpdateBoxParams) WithContext ¶
func (o *UpdateBoxParams) WithContext(ctx context.Context) *UpdateBoxParams
WithContext adds the context to the update box params
func (*UpdateBoxParams) WithData ¶
func (o *UpdateBoxParams) WithData(data *models.HashicorpCloudVagrant20220930Box) *UpdateBoxParams
WithData adds the data to the update box params
func (*UpdateBoxParams) WithDefaults ¶
func (o *UpdateBoxParams) WithDefaults() *UpdateBoxParams
WithDefaults hydrates default values in the update box params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateBoxParams) WithHTTPClient ¶
func (o *UpdateBoxParams) WithHTTPClient(client *http.Client) *UpdateBoxParams
WithHTTPClient adds the HTTPClient to the update box params
func (*UpdateBoxParams) WithRegistry ¶
func (o *UpdateBoxParams) WithRegistry(registry string) *UpdateBoxParams
WithRegistry adds the registry to the update box params
func (*UpdateBoxParams) WithTimeout ¶
func (o *UpdateBoxParams) WithTimeout(timeout time.Duration) *UpdateBoxParams
WithTimeout adds the timeout to the update box params
func (*UpdateBoxParams) WriteToRequest ¶
func (o *UpdateBoxParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateBoxReader ¶
type UpdateBoxReader struct {
// contains filtered or unexported fields
}
UpdateBoxReader is a Reader for the UpdateBox structure.
func (*UpdateBoxReader) ReadResponse ¶
func (o *UpdateBoxReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateProviderDefault ¶
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 ¶
func NewUpdateProviderDefault(code int) *UpdateProviderDefault
NewUpdateProviderDefault creates a UpdateProviderDefault with default headers values
func (*UpdateProviderDefault) Code ¶
func (o *UpdateProviderDefault) Code() int
Code gets the status code for the update provider default response
func (*UpdateProviderDefault) Error ¶
func (o *UpdateProviderDefault) Error() string
func (*UpdateProviderDefault) GetPayload ¶
func (o *UpdateProviderDefault) GetPayload() *cloud.GoogleRPCStatus
func (*UpdateProviderDefault) IsClientError ¶
func (o *UpdateProviderDefault) IsClientError() bool
IsClientError returns true when this update provider default response has a 4xx status code
func (*UpdateProviderDefault) IsCode ¶
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 ¶
func (o *UpdateProviderDefault) IsRedirect() bool
IsRedirect returns true when this update provider default response has a 3xx status code
func (*UpdateProviderDefault) IsServerError ¶
func (o *UpdateProviderDefault) IsServerError() bool
IsServerError returns true when this update provider default response has a 5xx status code
func (*UpdateProviderDefault) IsSuccess ¶
func (o *UpdateProviderDefault) IsSuccess() bool
IsSuccess returns true when this update provider default response has a 2xx status code
func (*UpdateProviderDefault) String ¶
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 ¶
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 ¶
func (o *UpdateProviderOK) IsClientError() bool
IsClientError returns true when this update provider o k response has a 4xx status code
func (*UpdateProviderOK) IsCode ¶
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 ¶
func (o *UpdateProviderOK) IsRedirect() bool
IsRedirect returns true when this update provider o k response has a 3xx status code
func (*UpdateProviderOK) IsServerError ¶
func (o *UpdateProviderOK) IsServerError() bool
IsServerError returns true when this update provider o k response has a 5xx status code
func (*UpdateProviderOK) IsSuccess ¶
func (o *UpdateProviderOK) IsSuccess() bool
IsSuccess returns true when this update provider o k response has a 2xx status code
func (*UpdateProviderOK) String ¶
func (o *UpdateProviderOK) String() string
type UpdateProviderParams ¶
type UpdateProviderParams struct { /* Box. The name segment of the Box. As an example, this field would represent the "vagrant" in "hashicorp/vagrant". */ Box string /* Data. Details of the Provider to update. */ Data *models.HashicorpCloudVagrant20220930Provider /* 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) 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) SetData ¶
func (o *UpdateProviderParams) SetData(data *models.HashicorpCloudVagrant20220930Provider)
SetData adds the data to the update provider params
func (*UpdateProviderParams) SetDefaults ¶
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) 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) WithData ¶
func (o *UpdateProviderParams) WithData(data *models.HashicorpCloudVagrant20220930Provider) *UpdateProviderParams
WithData adds the data to the update provider params
func (*UpdateProviderParams) WithDefaults ¶
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.
type UpdateRegistryDefault ¶ added in v0.108.0
type UpdateRegistryDefault struct { Payload *cloud.GoogleRPCStatus // contains filtered or unexported fields }
UpdateRegistryDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewUpdateRegistryDefault ¶ added in v0.108.0
func NewUpdateRegistryDefault(code int) *UpdateRegistryDefault
NewUpdateRegistryDefault creates a UpdateRegistryDefault with default headers values
func (*UpdateRegistryDefault) Code ¶ added in v0.108.0
func (o *UpdateRegistryDefault) Code() int
Code gets the status code for the update registry default response
func (*UpdateRegistryDefault) Error ¶ added in v0.108.0
func (o *UpdateRegistryDefault) Error() string
func (*UpdateRegistryDefault) GetPayload ¶ added in v0.108.0
func (o *UpdateRegistryDefault) GetPayload() *cloud.GoogleRPCStatus
func (*UpdateRegistryDefault) IsClientError ¶ added in v0.108.0
func (o *UpdateRegistryDefault) IsClientError() bool
IsClientError returns true when this update registry default response has a 4xx status code
func (*UpdateRegistryDefault) IsCode ¶ added in v0.108.0
func (o *UpdateRegistryDefault) IsCode(code int) bool
IsCode returns true when this update registry default response a status code equal to that given
func (*UpdateRegistryDefault) IsRedirect ¶ added in v0.108.0
func (o *UpdateRegistryDefault) IsRedirect() bool
IsRedirect returns true when this update registry default response has a 3xx status code
func (*UpdateRegistryDefault) IsServerError ¶ added in v0.108.0
func (o *UpdateRegistryDefault) IsServerError() bool
IsServerError returns true when this update registry default response has a 5xx status code
func (*UpdateRegistryDefault) IsSuccess ¶ added in v0.108.0
func (o *UpdateRegistryDefault) IsSuccess() bool
IsSuccess returns true when this update registry default response has a 2xx status code
func (*UpdateRegistryDefault) String ¶ added in v0.108.0
func (o *UpdateRegistryDefault) String() string
type UpdateRegistryOK ¶ added in v0.108.0
type UpdateRegistryOK struct {
Payload *models.HashicorpCloudVagrant20220930UpdateRegistryResponse
}
UpdateRegistryOK describes a response with status code 200, with default header values.
A successful response.
func NewUpdateRegistryOK ¶ added in v0.108.0
func NewUpdateRegistryOK() *UpdateRegistryOK
NewUpdateRegistryOK creates a UpdateRegistryOK with default headers values
func (*UpdateRegistryOK) Code ¶ added in v0.108.0
func (o *UpdateRegistryOK) Code() int
Code gets the status code for the update registry o k response
func (*UpdateRegistryOK) Error ¶ added in v0.108.0
func (o *UpdateRegistryOK) Error() string
func (*UpdateRegistryOK) GetPayload ¶ added in v0.108.0
func (o *UpdateRegistryOK) GetPayload() *models.HashicorpCloudVagrant20220930UpdateRegistryResponse
func (*UpdateRegistryOK) IsClientError ¶ added in v0.108.0
func (o *UpdateRegistryOK) IsClientError() bool
IsClientError returns true when this update registry o k response has a 4xx status code
func (*UpdateRegistryOK) IsCode ¶ added in v0.108.0
func (o *UpdateRegistryOK) IsCode(code int) bool
IsCode returns true when this update registry o k response a status code equal to that given
func (*UpdateRegistryOK) IsRedirect ¶ added in v0.108.0
func (o *UpdateRegistryOK) IsRedirect() bool
IsRedirect returns true when this update registry o k response has a 3xx status code
func (*UpdateRegistryOK) IsServerError ¶ added in v0.108.0
func (o *UpdateRegistryOK) IsServerError() bool
IsServerError returns true when this update registry o k response has a 5xx status code
func (*UpdateRegistryOK) IsSuccess ¶ added in v0.108.0
func (o *UpdateRegistryOK) IsSuccess() bool
IsSuccess returns true when this update registry o k response has a 2xx status code
func (*UpdateRegistryOK) String ¶ added in v0.108.0
func (o *UpdateRegistryOK) String() string
type UpdateRegistryParams ¶ added in v0.108.0
type UpdateRegistryParams struct { /* Data. The updated Registry details. */ Data *models.HashicorpCloudVagrant20220930Registry /* Registry. The name of the Registry to update. */ Registry string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateRegistryParams contains all the parameters to send to the API endpoint
for the update registry operation. Typically these are written to a http.Request.
func NewUpdateRegistryParams ¶ added in v0.108.0
func NewUpdateRegistryParams() *UpdateRegistryParams
NewUpdateRegistryParams creates a new UpdateRegistryParams 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 NewUpdateRegistryParamsWithContext ¶ added in v0.108.0
func NewUpdateRegistryParamsWithContext(ctx context.Context) *UpdateRegistryParams
NewUpdateRegistryParamsWithContext creates a new UpdateRegistryParams object with the ability to set a context for a request.
func NewUpdateRegistryParamsWithHTTPClient ¶ added in v0.108.0
func NewUpdateRegistryParamsWithHTTPClient(client *http.Client) *UpdateRegistryParams
NewUpdateRegistryParamsWithHTTPClient creates a new UpdateRegistryParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateRegistryParamsWithTimeout ¶ added in v0.108.0
func NewUpdateRegistryParamsWithTimeout(timeout time.Duration) *UpdateRegistryParams
NewUpdateRegistryParamsWithTimeout creates a new UpdateRegistryParams object with the ability to set a timeout on a request.
func (*UpdateRegistryParams) SetContext ¶ added in v0.108.0
func (o *UpdateRegistryParams) SetContext(ctx context.Context)
SetContext adds the context to the update registry params
func (*UpdateRegistryParams) SetData ¶ added in v0.108.0
func (o *UpdateRegistryParams) SetData(data *models.HashicorpCloudVagrant20220930Registry)
SetData adds the data to the update registry params
func (*UpdateRegistryParams) SetDefaults ¶ added in v0.108.0
func (o *UpdateRegistryParams) SetDefaults()
SetDefaults hydrates default values in the update registry params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateRegistryParams) SetHTTPClient ¶ added in v0.108.0
func (o *UpdateRegistryParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update registry params
func (*UpdateRegistryParams) SetRegistry ¶ added in v0.108.0
func (o *UpdateRegistryParams) SetRegistry(registry string)
SetRegistry adds the registry to the update registry params
func (*UpdateRegistryParams) SetTimeout ¶ added in v0.108.0
func (o *UpdateRegistryParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update registry params
func (*UpdateRegistryParams) WithContext ¶ added in v0.108.0
func (o *UpdateRegistryParams) WithContext(ctx context.Context) *UpdateRegistryParams
WithContext adds the context to the update registry params
func (*UpdateRegistryParams) WithData ¶ added in v0.108.0
func (o *UpdateRegistryParams) WithData(data *models.HashicorpCloudVagrant20220930Registry) *UpdateRegistryParams
WithData adds the data to the update registry params
func (*UpdateRegistryParams) WithDefaults ¶ added in v0.108.0
func (o *UpdateRegistryParams) WithDefaults() *UpdateRegistryParams
WithDefaults hydrates default values in the update registry params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateRegistryParams) WithHTTPClient ¶ added in v0.108.0
func (o *UpdateRegistryParams) WithHTTPClient(client *http.Client) *UpdateRegistryParams
WithHTTPClient adds the HTTPClient to the update registry params
func (*UpdateRegistryParams) WithRegistry ¶ added in v0.108.0
func (o *UpdateRegistryParams) WithRegistry(registry string) *UpdateRegistryParams
WithRegistry adds the registry to the update registry params
func (*UpdateRegistryParams) WithTimeout ¶ added in v0.108.0
func (o *UpdateRegistryParams) WithTimeout(timeout time.Duration) *UpdateRegistryParams
WithTimeout adds the timeout to the update registry params
func (*UpdateRegistryParams) WriteToRequest ¶ added in v0.108.0
func (o *UpdateRegistryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateRegistryReader ¶ added in v0.108.0
type UpdateRegistryReader struct {
// contains filtered or unexported fields
}
UpdateRegistryReader is a Reader for the UpdateRegistry structure.
func (*UpdateRegistryReader) ReadResponse ¶ added in v0.108.0
func (o *UpdateRegistryReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateVersionDefault ¶
type UpdateVersionDefault struct { Payload *cloud.GoogleRPCStatus // contains filtered or unexported fields }
UpdateVersionDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewUpdateVersionDefault ¶
func NewUpdateVersionDefault(code int) *UpdateVersionDefault
NewUpdateVersionDefault creates a UpdateVersionDefault with default headers values
func (*UpdateVersionDefault) Code ¶
func (o *UpdateVersionDefault) Code() int
Code gets the status code for the update version default response
func (*UpdateVersionDefault) Error ¶
func (o *UpdateVersionDefault) Error() string
func (*UpdateVersionDefault) GetPayload ¶
func (o *UpdateVersionDefault) GetPayload() *cloud.GoogleRPCStatus
func (*UpdateVersionDefault) IsClientError ¶
func (o *UpdateVersionDefault) IsClientError() bool
IsClientError returns true when this update version default response has a 4xx status code
func (*UpdateVersionDefault) IsCode ¶
func (o *UpdateVersionDefault) IsCode(code int) bool
IsCode returns true when this update version default response a status code equal to that given
func (*UpdateVersionDefault) IsRedirect ¶
func (o *UpdateVersionDefault) IsRedirect() bool
IsRedirect returns true when this update version default response has a 3xx status code
func (*UpdateVersionDefault) IsServerError ¶
func (o *UpdateVersionDefault) IsServerError() bool
IsServerError returns true when this update version default response has a 5xx status code
func (*UpdateVersionDefault) IsSuccess ¶
func (o *UpdateVersionDefault) IsSuccess() bool
IsSuccess returns true when this update version default response has a 2xx status code
func (*UpdateVersionDefault) String ¶
func (o *UpdateVersionDefault) String() string
type UpdateVersionOK ¶
type UpdateVersionOK struct {
Payload *models.HashicorpCloudVagrant20220930UpdateVersionResponse
}
UpdateVersionOK describes a response with status code 200, with default header values.
A successful response.
func NewUpdateVersionOK ¶
func NewUpdateVersionOK() *UpdateVersionOK
NewUpdateVersionOK creates a UpdateVersionOK with default headers values
func (*UpdateVersionOK) Code ¶
func (o *UpdateVersionOK) Code() int
Code gets the status code for the update version o k response
func (*UpdateVersionOK) Error ¶
func (o *UpdateVersionOK) Error() string
func (*UpdateVersionOK) GetPayload ¶
func (o *UpdateVersionOK) GetPayload() *models.HashicorpCloudVagrant20220930UpdateVersionResponse
func (*UpdateVersionOK) IsClientError ¶
func (o *UpdateVersionOK) IsClientError() bool
IsClientError returns true when this update version o k response has a 4xx status code
func (*UpdateVersionOK) IsCode ¶
func (o *UpdateVersionOK) IsCode(code int) bool
IsCode returns true when this update version o k response a status code equal to that given
func (*UpdateVersionOK) IsRedirect ¶
func (o *UpdateVersionOK) IsRedirect() bool
IsRedirect returns true when this update version o k response has a 3xx status code
func (*UpdateVersionOK) IsServerError ¶
func (o *UpdateVersionOK) IsServerError() bool
IsServerError returns true when this update version o k response has a 5xx status code
func (*UpdateVersionOK) IsSuccess ¶
func (o *UpdateVersionOK) IsSuccess() bool
IsSuccess returns true when this update version o k response has a 2xx status code
func (*UpdateVersionOK) String ¶
func (o *UpdateVersionOK) String() string
type UpdateVersionParams ¶
type UpdateVersionParams struct { /* Box. The name segment of the Box. As an example, this field would represent the "vagrant" in "hashicorp/vagrant". */ Box string /* Data. Details of the Version to update. */ Data *models.HashicorpCloudVagrant20220930Version /* 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 update. */ Version string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateVersionParams contains all the parameters to send to the API endpoint
for the update version operation. Typically these are written to a http.Request.
func NewUpdateVersionParams ¶
func NewUpdateVersionParams() *UpdateVersionParams
NewUpdateVersionParams creates a new UpdateVersionParams 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 NewUpdateVersionParamsWithContext ¶
func NewUpdateVersionParamsWithContext(ctx context.Context) *UpdateVersionParams
NewUpdateVersionParamsWithContext creates a new UpdateVersionParams object with the ability to set a context for a request.
func NewUpdateVersionParamsWithHTTPClient ¶
func NewUpdateVersionParamsWithHTTPClient(client *http.Client) *UpdateVersionParams
NewUpdateVersionParamsWithHTTPClient creates a new UpdateVersionParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateVersionParamsWithTimeout ¶
func NewUpdateVersionParamsWithTimeout(timeout time.Duration) *UpdateVersionParams
NewUpdateVersionParamsWithTimeout creates a new UpdateVersionParams object with the ability to set a timeout on a request.
func (*UpdateVersionParams) SetBox ¶
func (o *UpdateVersionParams) SetBox(box string)
SetBox adds the box to the update version params
func (*UpdateVersionParams) SetContext ¶
func (o *UpdateVersionParams) SetContext(ctx context.Context)
SetContext adds the context to the update version params
func (*UpdateVersionParams) SetData ¶
func (o *UpdateVersionParams) SetData(data *models.HashicorpCloudVagrant20220930Version)
SetData adds the data to the update version params
func (*UpdateVersionParams) SetDefaults ¶
func (o *UpdateVersionParams) SetDefaults()
SetDefaults hydrates default values in the update version params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateVersionParams) SetHTTPClient ¶
func (o *UpdateVersionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update version params
func (*UpdateVersionParams) SetRegistry ¶
func (o *UpdateVersionParams) SetRegistry(registry string)
SetRegistry adds the registry to the update version params
func (*UpdateVersionParams) SetTimeout ¶
func (o *UpdateVersionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update version params
func (*UpdateVersionParams) SetVersion ¶
func (o *UpdateVersionParams) SetVersion(version string)
SetVersion adds the version to the update version params
func (*UpdateVersionParams) WithBox ¶
func (o *UpdateVersionParams) WithBox(box string) *UpdateVersionParams
WithBox adds the box to the update version params
func (*UpdateVersionParams) WithContext ¶
func (o *UpdateVersionParams) WithContext(ctx context.Context) *UpdateVersionParams
WithContext adds the context to the update version params
func (*UpdateVersionParams) WithData ¶
func (o *UpdateVersionParams) WithData(data *models.HashicorpCloudVagrant20220930Version) *UpdateVersionParams
WithData adds the data to the update version params
func (*UpdateVersionParams) WithDefaults ¶
func (o *UpdateVersionParams) WithDefaults() *UpdateVersionParams
WithDefaults hydrates default values in the update version params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateVersionParams) WithHTTPClient ¶
func (o *UpdateVersionParams) WithHTTPClient(client *http.Client) *UpdateVersionParams
WithHTTPClient adds the HTTPClient to the update version params
func (*UpdateVersionParams) WithRegistry ¶
func (o *UpdateVersionParams) WithRegistry(registry string) *UpdateVersionParams
WithRegistry adds the registry to the update version params
func (*UpdateVersionParams) WithTimeout ¶
func (o *UpdateVersionParams) WithTimeout(timeout time.Duration) *UpdateVersionParams
WithTimeout adds the timeout to the update version params
func (*UpdateVersionParams) WithVersion ¶
func (o *UpdateVersionParams) WithVersion(version string) *UpdateVersionParams
WithVersion adds the version to the update version params
func (*UpdateVersionParams) WriteToRequest ¶
func (o *UpdateVersionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateVersionReader ¶
type UpdateVersionReader struct {
// contains filtered or unexported fields
}
UpdateVersionReader is a Reader for the UpdateVersion structure.
func (*UpdateVersionReader) ReadResponse ¶
func (o *UpdateVersionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UploadBoxDefault ¶
type UploadBoxDefault struct { Payload *cloud.GoogleRPCStatus // contains filtered or unexported fields }
UploadBoxDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewUploadBoxDefault ¶
func NewUploadBoxDefault(code int) *UploadBoxDefault
NewUploadBoxDefault creates a UploadBoxDefault with default headers values
func (*UploadBoxDefault) Code ¶
func (o *UploadBoxDefault) Code() int
Code gets the status code for the upload box default response
func (*UploadBoxDefault) Error ¶
func (o *UploadBoxDefault) Error() string
func (*UploadBoxDefault) GetPayload ¶
func (o *UploadBoxDefault) GetPayload() *cloud.GoogleRPCStatus
func (*UploadBoxDefault) IsClientError ¶
func (o *UploadBoxDefault) IsClientError() bool
IsClientError returns true when this upload box default response has a 4xx status code
func (*UploadBoxDefault) IsCode ¶
func (o *UploadBoxDefault) IsCode(code int) bool
IsCode returns true when this upload box default response a status code equal to that given
func (*UploadBoxDefault) IsRedirect ¶
func (o *UploadBoxDefault) IsRedirect() bool
IsRedirect returns true when this upload box default response has a 3xx status code
func (*UploadBoxDefault) IsServerError ¶
func (o *UploadBoxDefault) IsServerError() bool
IsServerError returns true when this upload box default response has a 5xx status code
func (*UploadBoxDefault) IsSuccess ¶
func (o *UploadBoxDefault) IsSuccess() bool
IsSuccess returns true when this upload box default response has a 2xx status code
func (*UploadBoxDefault) String ¶
func (o *UploadBoxDefault) String() string
type UploadBoxOK ¶
type UploadBoxOK struct {
Payload *models.HashicorpCloudVagrant20220930UploadBoxResponse
}
UploadBoxOK describes a response with status code 200, with default header values.
A successful response.
func NewUploadBoxOK ¶
func NewUploadBoxOK() *UploadBoxOK
NewUploadBoxOK creates a UploadBoxOK with default headers values
func (*UploadBoxOK) Code ¶
func (o *UploadBoxOK) Code() int
Code gets the status code for the upload box o k response
func (*UploadBoxOK) Error ¶
func (o *UploadBoxOK) Error() string
func (*UploadBoxOK) GetPayload ¶
func (o *UploadBoxOK) GetPayload() *models.HashicorpCloudVagrant20220930UploadBoxResponse
func (*UploadBoxOK) IsClientError ¶
func (o *UploadBoxOK) IsClientError() bool
IsClientError returns true when this upload box o k response has a 4xx status code
func (*UploadBoxOK) IsCode ¶
func (o *UploadBoxOK) IsCode(code int) bool
IsCode returns true when this upload box o k response a status code equal to that given
func (*UploadBoxOK) IsRedirect ¶
func (o *UploadBoxOK) IsRedirect() bool
IsRedirect returns true when this upload box o k response has a 3xx status code
func (*UploadBoxOK) IsServerError ¶
func (o *UploadBoxOK) IsServerError() bool
IsServerError returns true when this upload box o k response has a 5xx status code
func (*UploadBoxOK) IsSuccess ¶
func (o *UploadBoxOK) IsSuccess() bool
IsSuccess returns true when this upload box o k response has a 2xx status code
func (*UploadBoxOK) String ¶
func (o *UploadBoxOK) String() string
type UploadBoxParams ¶
type UploadBoxParams struct { /* Architecture. The type of the Architecture. */ Architecture string /* 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 }
UploadBoxParams contains all the parameters to send to the API endpoint
for the upload box operation. Typically these are written to a http.Request.
func NewUploadBoxParams ¶
func NewUploadBoxParams() *UploadBoxParams
NewUploadBoxParams creates a new UploadBoxParams 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 NewUploadBoxParamsWithContext ¶
func NewUploadBoxParamsWithContext(ctx context.Context) *UploadBoxParams
NewUploadBoxParamsWithContext creates a new UploadBoxParams object with the ability to set a context for a request.
func NewUploadBoxParamsWithHTTPClient ¶
func NewUploadBoxParamsWithHTTPClient(client *http.Client) *UploadBoxParams
NewUploadBoxParamsWithHTTPClient creates a new UploadBoxParams object with the ability to set a custom HTTPClient for a request.
func NewUploadBoxParamsWithTimeout ¶
func NewUploadBoxParamsWithTimeout(timeout time.Duration) *UploadBoxParams
NewUploadBoxParamsWithTimeout creates a new UploadBoxParams object with the ability to set a timeout on a request.
func (*UploadBoxParams) SetArchitecture ¶
func (o *UploadBoxParams) SetArchitecture(architecture string)
SetArchitecture adds the architecture to the upload box params
func (*UploadBoxParams) SetBox ¶
func (o *UploadBoxParams) SetBox(box string)
SetBox adds the box to the upload box params
func (*UploadBoxParams) SetContext ¶
func (o *UploadBoxParams) SetContext(ctx context.Context)
SetContext adds the context to the upload box params
func (*UploadBoxParams) SetDefaults ¶
func (o *UploadBoxParams) SetDefaults()
SetDefaults hydrates default values in the upload box params (not the query body).
All values with no default are reset to their zero value.
func (*UploadBoxParams) SetHTTPClient ¶
func (o *UploadBoxParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the upload box params
func (*UploadBoxParams) SetProvider ¶
func (o *UploadBoxParams) SetProvider(provider string)
SetProvider adds the provider to the upload box params
func (*UploadBoxParams) SetRegistry ¶
func (o *UploadBoxParams) SetRegistry(registry string)
SetRegistry adds the registry to the upload box params
func (*UploadBoxParams) SetTimeout ¶
func (o *UploadBoxParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the upload box params
func (*UploadBoxParams) SetVersion ¶
func (o *UploadBoxParams) SetVersion(version string)
SetVersion adds the version to the upload box params
func (*UploadBoxParams) WithArchitecture ¶
func (o *UploadBoxParams) WithArchitecture(architecture string) *UploadBoxParams
WithArchitecture adds the architecture to the upload box params
func (*UploadBoxParams) WithBox ¶
func (o *UploadBoxParams) WithBox(box string) *UploadBoxParams
WithBox adds the box to the upload box params
func (*UploadBoxParams) WithContext ¶
func (o *UploadBoxParams) WithContext(ctx context.Context) *UploadBoxParams
WithContext adds the context to the upload box params
func (*UploadBoxParams) WithDefaults ¶
func (o *UploadBoxParams) WithDefaults() *UploadBoxParams
WithDefaults hydrates default values in the upload box params (not the query body).
All values with no default are reset to their zero value.
func (*UploadBoxParams) WithHTTPClient ¶
func (o *UploadBoxParams) WithHTTPClient(client *http.Client) *UploadBoxParams
WithHTTPClient adds the HTTPClient to the upload box params
func (*UploadBoxParams) WithProvider ¶
func (o *UploadBoxParams) WithProvider(provider string) *UploadBoxParams
WithProvider adds the provider to the upload box params
func (*UploadBoxParams) WithRegistry ¶
func (o *UploadBoxParams) WithRegistry(registry string) *UploadBoxParams
WithRegistry adds the registry to the upload box params
func (*UploadBoxParams) WithTimeout ¶
func (o *UploadBoxParams) WithTimeout(timeout time.Duration) *UploadBoxParams
WithTimeout adds the timeout to the upload box params
func (*UploadBoxParams) WithVersion ¶
func (o *UploadBoxParams) WithVersion(version string) *UploadBoxParams
WithVersion adds the version to the upload box params
func (*UploadBoxParams) WriteToRequest ¶
func (o *UploadBoxParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UploadBoxReader ¶
type UploadBoxReader struct {
// contains filtered or unexported fields
}
UploadBoxReader is a Reader for the UploadBox structure.
func (*UploadBoxReader) ReadResponse ¶
func (o *UploadBoxReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- activate_registry_parameters.go
- activate_registry_responses.go
- complete_direct_upload_box_parameters.go
- complete_direct_upload_box_responses.go
- create_architecture_parameters.go
- create_architecture_responses.go
- create_box_parameters.go
- create_box_responses.go
- create_provider_parameters.go
- create_provider_responses.go
- create_registry_parameters.go
- create_registry_responses.go
- create_version_parameters.go
- create_version_responses.go
- deactivate_registry_parameters.go
- deactivate_registry_responses.go
- delete_architecture_parameters.go
- delete_architecture_responses.go
- delete_box_parameters.go
- delete_box_responses.go
- delete_provider_parameters.go
- delete_provider_responses.go
- delete_registry_parameters.go
- delete_registry_responses.go
- delete_version_parameters.go
- delete_version_responses.go
- direct_upload_box_parameters.go
- direct_upload_box_responses.go
- download_box_parameters.go
- download_box_responses.go
- list_architectures_parameters.go
- list_architectures_responses.go
- list_boxes_parameters.go
- list_boxes_responses.go
- list_providers_parameters.go
- list_providers_responses.go
- list_registries_parameters.go
- list_registries_responses.go
- list_versions_parameters.go
- list_versions_responses.go
- read_architecture_parameters.go
- read_architecture_responses.go
- read_box_parameters.go
- read_box_responses.go
- read_provider_parameters.go
- read_provider_responses.go
- read_registry_parameters.go
- read_registry_responses.go
- read_version_parameters.go
- read_version_responses.go
- registry_service_client.go
- release_version_parameters.go
- release_version_responses.go
- revoke_version_parameters.go
- revoke_version_responses.go
- search_parameters.go
- search_responses.go
- update_architecture_parameters.go
- update_architecture_responses.go
- update_box_parameters.go
- update_box_responses.go
- update_provider_parameters.go
- update_provider_responses.go
- update_registry_parameters.go
- update_registry_responses.go
- update_version_parameters.go
- update_version_responses.go
- upload_box_parameters.go
- upload_box_responses.go