Documentation ¶
Index ¶
- type Client
- func (a *Client) CompleteDirectUploadBox(params *CompleteDirectUploadBoxParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CompleteDirectUploadBoxOK, error)
- func (a *Client) CompleteUploadBox(params *CompleteUploadBoxParams, opts ...ClientOption) (*CompleteUploadBoxOK, error)
- func (a *Client) CreateArchitecture(params *CreateArchitectureParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateArchitectureOK, error)
- func (a *Client) DeleteArchitecture(params *DeleteArchitectureParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteArchitectureOK, 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) ReadArchitecture(params *ReadArchitectureParams, opts ...ClientOption) (*ReadArchitectureOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateArchitecture(params *UpdateArchitectureParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateArchitectureOK, 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.HashicorpCloudVagrant20220930CompleteUploadBoxResponse
- 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) SetBytes(bytes *string)
- func (o *CompleteDirectUploadBoxParams) SetContext(ctx context.Context)
- func (o *CompleteDirectUploadBoxParams) SetDefaults()
- func (o *CompleteDirectUploadBoxParams) SetHTTPClient(client *http.Client)
- func (o *CompleteDirectUploadBoxParams) SetKey(key *string)
- func (o *CompleteDirectUploadBoxParams) SetObject(object string)
- func (o *CompleteDirectUploadBoxParams) SetProvider(provider string)
- func (o *CompleteDirectUploadBoxParams) SetRegistry(registry string)
- func (o *CompleteDirectUploadBoxParams) SetSuccess(success *bool)
- 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) WithBytes(bytes *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) WithKey(key *string) *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) WithSuccess(success *bool) *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 CompleteUploadBoxBody
- type CompleteUploadBoxDefault
- func (o *CompleteUploadBoxDefault) Code() int
- func (o *CompleteUploadBoxDefault) Error() string
- func (o *CompleteUploadBoxDefault) GetPayload() *cloud.GoogleRPCStatus
- func (o *CompleteUploadBoxDefault) IsClientError() bool
- func (o *CompleteUploadBoxDefault) IsCode(code int) bool
- func (o *CompleteUploadBoxDefault) IsRedirect() bool
- func (o *CompleteUploadBoxDefault) IsServerError() bool
- func (o *CompleteUploadBoxDefault) IsSuccess() bool
- func (o *CompleteUploadBoxDefault) String() string
- type CompleteUploadBoxOK
- func (o *CompleteUploadBoxOK) Code() int
- func (o *CompleteUploadBoxOK) Error() string
- func (o *CompleteUploadBoxOK) GetPayload() models.HashicorpCloudVagrant20220930CompleteUploadBoxResponse
- func (o *CompleteUploadBoxOK) IsClientError() bool
- func (o *CompleteUploadBoxOK) IsCode(code int) bool
- func (o *CompleteUploadBoxOK) IsRedirect() bool
- func (o *CompleteUploadBoxOK) IsServerError() bool
- func (o *CompleteUploadBoxOK) IsSuccess() bool
- func (o *CompleteUploadBoxOK) String() string
- type CompleteUploadBoxParams
- func NewCompleteUploadBoxParams() *CompleteUploadBoxParams
- func NewCompleteUploadBoxParamsWithContext(ctx context.Context) *CompleteUploadBoxParams
- func NewCompleteUploadBoxParamsWithHTTPClient(client *http.Client) *CompleteUploadBoxParams
- func NewCompleteUploadBoxParamsWithTimeout(timeout time.Duration) *CompleteUploadBoxParams
- func (o *CompleteUploadBoxParams) SetArchitecture(architecture string)
- func (o *CompleteUploadBoxParams) SetBody(body CompleteUploadBoxBody)
- func (o *CompleteUploadBoxParams) SetBox(box string)
- func (o *CompleteUploadBoxParams) SetContext(ctx context.Context)
- func (o *CompleteUploadBoxParams) SetDefaults()
- func (o *CompleteUploadBoxParams) SetHTTPClient(client *http.Client)
- func (o *CompleteUploadBoxParams) SetProvider(provider string)
- func (o *CompleteUploadBoxParams) SetRegistry(registry string)
- func (o *CompleteUploadBoxParams) SetTimeout(timeout time.Duration)
- func (o *CompleteUploadBoxParams) SetVersion(version string)
- func (o *CompleteUploadBoxParams) WithArchitecture(architecture string) *CompleteUploadBoxParams
- func (o *CompleteUploadBoxParams) WithBody(body CompleteUploadBoxBody) *CompleteUploadBoxParams
- func (o *CompleteUploadBoxParams) WithBox(box string) *CompleteUploadBoxParams
- func (o *CompleteUploadBoxParams) WithContext(ctx context.Context) *CompleteUploadBoxParams
- func (o *CompleteUploadBoxParams) WithDefaults() *CompleteUploadBoxParams
- func (o *CompleteUploadBoxParams) WithHTTPClient(client *http.Client) *CompleteUploadBoxParams
- func (o *CompleteUploadBoxParams) WithProvider(provider string) *CompleteUploadBoxParams
- func (o *CompleteUploadBoxParams) WithRegistry(registry string) *CompleteUploadBoxParams
- func (o *CompleteUploadBoxParams) WithTimeout(timeout time.Duration) *CompleteUploadBoxParams
- func (o *CompleteUploadBoxParams) WithVersion(version string) *CompleteUploadBoxParams
- func (o *CompleteUploadBoxParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CompleteUploadBoxReader
- type CreateArchitectureBody
- func (o *CreateArchitectureBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateArchitectureBody) MarshalBinary() ([]byte, error)
- func (o *CreateArchitectureBody) UnmarshalBinary(b []byte) error
- func (o *CreateArchitectureBody) Validate(formats strfmt.Registry) error
- 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) SetBody(body CreateArchitectureBody)
- func (o *CreateArchitectureParams) SetBox(box string)
- func (o *CreateArchitectureParams) SetContext(ctx context.Context)
- 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) WithBody(body CreateArchitectureBody) *CreateArchitectureParams
- func (o *CreateArchitectureParams) WithBox(box string) *CreateArchitectureParams
- func (o *CreateArchitectureParams) WithContext(ctx context.Context) *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 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 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.HashicorpCloudVagrant20220930UploadBoxResponse
- 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 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 UpdateArchitectureBody
- func (o *UpdateArchitectureBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateArchitectureBody) MarshalBinary() ([]byte, error)
- func (o *UpdateArchitectureBody) UnmarshalBinary(b []byte) error
- func (o *UpdateArchitectureBody) Validate(formats strfmt.Registry) error
- 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) SetBody(body UpdateArchitectureBody)
- func (o *UpdateArchitectureParams) SetBox(box string)
- func (o *UpdateArchitectureParams) SetContext(ctx context.Context)
- 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) WithBody(body UpdateArchitectureBody) *UpdateArchitectureParams
- func (o *UpdateArchitectureParams) WithBox(box string) *UpdateArchitectureParams
- func (o *UpdateArchitectureParams) WithContext(ctx context.Context) *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 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 Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for architecture service API
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) CompleteUploadBox ¶
func (a *Client) CompleteUploadBox(params *CompleteUploadBoxParams, opts ...ClientOption) (*CompleteUploadBoxOK, error)
CompleteUploadBox completes upload box is a callback endpoint used to signal that an 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) 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) 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) ReadArchitecture ¶
func (a *Client) ReadArchitecture(params *ReadArchitectureParams, opts ...ClientOption) (*ReadArchitectureOK, error)
ReadArchitecture reads architecture fetches a architecture for the specified provider
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) 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 { CompleteDirectUploadBox(params *CompleteDirectUploadBoxParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CompleteDirectUploadBoxOK, error) CompleteUploadBox(params *CompleteUploadBoxParams, opts ...ClientOption) (*CompleteUploadBoxOK, error) CreateArchitecture(params *CreateArchitectureParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateArchitectureOK, error) DeleteArchitecture(params *DeleteArchitectureParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteArchitectureOK, 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) ReadArchitecture(params *ReadArchitectureParams, opts ...ClientOption) (*ReadArchitectureOK, error) UpdateArchitecture(params *UpdateArchitectureParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateArchitectureOK, 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 architecture 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.HashicorpCloudVagrant20220930CompleteUploadBoxResponse
}
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.HashicorpCloudVagrant20220930CompleteUploadBoxResponse
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 /* Bytes. Size of the artifact uploaded. Format: uint64 */ Bytes *string /* Key. Storage key of the upload. */ Key *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 /* Success. Success status of the upload. */ Success *bool /* 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) SetBytes ¶
func (o *CompleteDirectUploadBoxParams) SetBytes(bytes *string)
SetBytes adds the bytes 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) SetKey ¶
func (o *CompleteDirectUploadBoxParams) SetKey(key *string)
SetKey adds the key 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) SetSuccess ¶
func (o *CompleteDirectUploadBoxParams) SetSuccess(success *bool)
SetSuccess adds the success 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) WithBytes ¶
func (o *CompleteDirectUploadBoxParams) WithBytes(bytes *string) *CompleteDirectUploadBoxParams
WithBytes adds the bytes 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) WithKey ¶
func (o *CompleteDirectUploadBoxParams) WithKey(key *string) *CompleteDirectUploadBoxParams
WithKey adds the key 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) WithSuccess ¶
func (o *CompleteDirectUploadBoxParams) WithSuccess(success *bool) *CompleteDirectUploadBoxParams
WithSuccess adds the success 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 CompleteUploadBoxBody ¶
type CompleteUploadBoxBody struct { // Size of the artifact uploaded. Bytes string `json:"bytes,omitempty"` // Storage key of the upload. Key string `json:"key,omitempty"` // Object identifier. Object string `json:"object,omitempty"` // Success status of the upload. Success bool `json:"success,omitempty"` }
CompleteUploadBoxBody complete upload box body swagger:model CompleteUploadBoxBody
func (*CompleteUploadBoxBody) ContextValidate ¶
ContextValidate validates this complete upload box body based on context it is used
func (*CompleteUploadBoxBody) MarshalBinary ¶
func (o *CompleteUploadBoxBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CompleteUploadBoxBody) UnmarshalBinary ¶
func (o *CompleteUploadBoxBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CompleteUploadBoxDefault ¶
type CompleteUploadBoxDefault struct { Payload *cloud.GoogleRPCStatus // contains filtered or unexported fields }
CompleteUploadBoxDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewCompleteUploadBoxDefault ¶
func NewCompleteUploadBoxDefault(code int) *CompleteUploadBoxDefault
NewCompleteUploadBoxDefault creates a CompleteUploadBoxDefault with default headers values
func (*CompleteUploadBoxDefault) Code ¶
func (o *CompleteUploadBoxDefault) Code() int
Code gets the status code for the complete upload box default response
func (*CompleteUploadBoxDefault) Error ¶
func (o *CompleteUploadBoxDefault) Error() string
func (*CompleteUploadBoxDefault) GetPayload ¶
func (o *CompleteUploadBoxDefault) GetPayload() *cloud.GoogleRPCStatus
func (*CompleteUploadBoxDefault) IsClientError ¶
func (o *CompleteUploadBoxDefault) IsClientError() bool
IsClientError returns true when this complete upload box default response has a 4xx status code
func (*CompleteUploadBoxDefault) IsCode ¶
func (o *CompleteUploadBoxDefault) IsCode(code int) bool
IsCode returns true when this complete upload box default response a status code equal to that given
func (*CompleteUploadBoxDefault) IsRedirect ¶
func (o *CompleteUploadBoxDefault) IsRedirect() bool
IsRedirect returns true when this complete upload box default response has a 3xx status code
func (*CompleteUploadBoxDefault) IsServerError ¶
func (o *CompleteUploadBoxDefault) IsServerError() bool
IsServerError returns true when this complete upload box default response has a 5xx status code
func (*CompleteUploadBoxDefault) IsSuccess ¶
func (o *CompleteUploadBoxDefault) IsSuccess() bool
IsSuccess returns true when this complete upload box default response has a 2xx status code
func (*CompleteUploadBoxDefault) String ¶
func (o *CompleteUploadBoxDefault) String() string
type CompleteUploadBoxOK ¶
type CompleteUploadBoxOK struct {
Payload models.HashicorpCloudVagrant20220930CompleteUploadBoxResponse
}
CompleteUploadBoxOK describes a response with status code 200, with default header values.
A successful response.
func NewCompleteUploadBoxOK ¶
func NewCompleteUploadBoxOK() *CompleteUploadBoxOK
NewCompleteUploadBoxOK creates a CompleteUploadBoxOK with default headers values
func (*CompleteUploadBoxOK) Code ¶
func (o *CompleteUploadBoxOK) Code() int
Code gets the status code for the complete upload box o k response
func (*CompleteUploadBoxOK) Error ¶
func (o *CompleteUploadBoxOK) Error() string
func (*CompleteUploadBoxOK) GetPayload ¶
func (o *CompleteUploadBoxOK) GetPayload() models.HashicorpCloudVagrant20220930CompleteUploadBoxResponse
func (*CompleteUploadBoxOK) IsClientError ¶
func (o *CompleteUploadBoxOK) IsClientError() bool
IsClientError returns true when this complete upload box o k response has a 4xx status code
func (*CompleteUploadBoxOK) IsCode ¶
func (o *CompleteUploadBoxOK) IsCode(code int) bool
IsCode returns true when this complete upload box o k response a status code equal to that given
func (*CompleteUploadBoxOK) IsRedirect ¶
func (o *CompleteUploadBoxOK) IsRedirect() bool
IsRedirect returns true when this complete upload box o k response has a 3xx status code
func (*CompleteUploadBoxOK) IsServerError ¶
func (o *CompleteUploadBoxOK) IsServerError() bool
IsServerError returns true when this complete upload box o k response has a 5xx status code
func (*CompleteUploadBoxOK) IsSuccess ¶
func (o *CompleteUploadBoxOK) IsSuccess() bool
IsSuccess returns true when this complete upload box o k response has a 2xx status code
func (*CompleteUploadBoxOK) String ¶
func (o *CompleteUploadBoxOK) String() string
type CompleteUploadBoxParams ¶
type CompleteUploadBoxParams struct { /* Architecture. The name of the Architecture. */ Architecture string // Body. Body CompleteUploadBoxBody /* 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 }
CompleteUploadBoxParams contains all the parameters to send to the API endpoint
for the complete upload box operation. Typically these are written to a http.Request.
func NewCompleteUploadBoxParams ¶
func NewCompleteUploadBoxParams() *CompleteUploadBoxParams
NewCompleteUploadBoxParams creates a new CompleteUploadBoxParams 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 NewCompleteUploadBoxParamsWithContext ¶
func NewCompleteUploadBoxParamsWithContext(ctx context.Context) *CompleteUploadBoxParams
NewCompleteUploadBoxParamsWithContext creates a new CompleteUploadBoxParams object with the ability to set a context for a request.
func NewCompleteUploadBoxParamsWithHTTPClient ¶
func NewCompleteUploadBoxParamsWithHTTPClient(client *http.Client) *CompleteUploadBoxParams
NewCompleteUploadBoxParamsWithHTTPClient creates a new CompleteUploadBoxParams object with the ability to set a custom HTTPClient for a request.
func NewCompleteUploadBoxParamsWithTimeout ¶
func NewCompleteUploadBoxParamsWithTimeout(timeout time.Duration) *CompleteUploadBoxParams
NewCompleteUploadBoxParamsWithTimeout creates a new CompleteUploadBoxParams object with the ability to set a timeout on a request.
func (*CompleteUploadBoxParams) SetArchitecture ¶
func (o *CompleteUploadBoxParams) SetArchitecture(architecture string)
SetArchitecture adds the architecture to the complete upload box params
func (*CompleteUploadBoxParams) SetBody ¶
func (o *CompleteUploadBoxParams) SetBody(body CompleteUploadBoxBody)
SetBody adds the body to the complete upload box params
func (*CompleteUploadBoxParams) SetBox ¶
func (o *CompleteUploadBoxParams) SetBox(box string)
SetBox adds the box to the complete upload box params
func (*CompleteUploadBoxParams) SetContext ¶
func (o *CompleteUploadBoxParams) SetContext(ctx context.Context)
SetContext adds the context to the complete upload box params
func (*CompleteUploadBoxParams) SetDefaults ¶
func (o *CompleteUploadBoxParams) SetDefaults()
SetDefaults hydrates default values in the complete upload box params (not the query body).
All values with no default are reset to their zero value.
func (*CompleteUploadBoxParams) SetHTTPClient ¶
func (o *CompleteUploadBoxParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the complete upload box params
func (*CompleteUploadBoxParams) SetProvider ¶
func (o *CompleteUploadBoxParams) SetProvider(provider string)
SetProvider adds the provider to the complete upload box params
func (*CompleteUploadBoxParams) SetRegistry ¶
func (o *CompleteUploadBoxParams) SetRegistry(registry string)
SetRegistry adds the registry to the complete upload box params
func (*CompleteUploadBoxParams) SetTimeout ¶
func (o *CompleteUploadBoxParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the complete upload box params
func (*CompleteUploadBoxParams) SetVersion ¶
func (o *CompleteUploadBoxParams) SetVersion(version string)
SetVersion adds the version to the complete upload box params
func (*CompleteUploadBoxParams) WithArchitecture ¶
func (o *CompleteUploadBoxParams) WithArchitecture(architecture string) *CompleteUploadBoxParams
WithArchitecture adds the architecture to the complete upload box params
func (*CompleteUploadBoxParams) WithBody ¶
func (o *CompleteUploadBoxParams) WithBody(body CompleteUploadBoxBody) *CompleteUploadBoxParams
WithBody adds the body to the complete upload box params
func (*CompleteUploadBoxParams) WithBox ¶
func (o *CompleteUploadBoxParams) WithBox(box string) *CompleteUploadBoxParams
WithBox adds the box to the complete upload box params
func (*CompleteUploadBoxParams) WithContext ¶
func (o *CompleteUploadBoxParams) WithContext(ctx context.Context) *CompleteUploadBoxParams
WithContext adds the context to the complete upload box params
func (*CompleteUploadBoxParams) WithDefaults ¶
func (o *CompleteUploadBoxParams) WithDefaults() *CompleteUploadBoxParams
WithDefaults hydrates default values in the complete upload box params (not the query body).
All values with no default are reset to their zero value.
func (*CompleteUploadBoxParams) WithHTTPClient ¶
func (o *CompleteUploadBoxParams) WithHTTPClient(client *http.Client) *CompleteUploadBoxParams
WithHTTPClient adds the HTTPClient to the complete upload box params
func (*CompleteUploadBoxParams) WithProvider ¶
func (o *CompleteUploadBoxParams) WithProvider(provider string) *CompleteUploadBoxParams
WithProvider adds the provider to the complete upload box params
func (*CompleteUploadBoxParams) WithRegistry ¶
func (o *CompleteUploadBoxParams) WithRegistry(registry string) *CompleteUploadBoxParams
WithRegistry adds the registry to the complete upload box params
func (*CompleteUploadBoxParams) WithTimeout ¶
func (o *CompleteUploadBoxParams) WithTimeout(timeout time.Duration) *CompleteUploadBoxParams
WithTimeout adds the timeout to the complete upload box params
func (*CompleteUploadBoxParams) WithVersion ¶
func (o *CompleteUploadBoxParams) WithVersion(version string) *CompleteUploadBoxParams
WithVersion adds the version to the complete upload box params
func (*CompleteUploadBoxParams) WriteToRequest ¶
func (o *CompleteUploadBoxParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CompleteUploadBoxReader ¶
type CompleteUploadBoxReader struct {
// contains filtered or unexported fields
}
CompleteUploadBoxReader is a Reader for the CompleteUploadBox structure.
func (*CompleteUploadBoxReader) ReadResponse ¶
func (o *CompleteUploadBoxReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateArchitectureBody ¶
type CreateArchitectureBody struct { // Details of the Architecture to create. Data *models.HashicorpCloudVagrant20220930Architecture `json:"data,omitempty"` }
CreateArchitectureBody create architecture body swagger:model CreateArchitectureBody
func (*CreateArchitectureBody) ContextValidate ¶
func (o *CreateArchitectureBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this create architecture body based on the context it is used
func (*CreateArchitectureBody) MarshalBinary ¶
func (o *CreateArchitectureBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateArchitectureBody) UnmarshalBinary ¶
func (o *CreateArchitectureBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 { // Body. Body CreateArchitectureBody /* 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 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) SetBody ¶
func (o *CreateArchitectureParams) SetBody(body CreateArchitectureBody)
SetBody adds the body to the create architecture params
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) 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) WithBody ¶
func (o *CreateArchitectureParams) WithBody(body CreateArchitectureBody) *CreateArchitectureParams
WithBody adds the body 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) 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 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 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.HashicorpCloudVagrant20220930UploadBoxResponse
}
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.HashicorpCloudVagrant20220930UploadBoxResponse
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 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 UpdateArchitectureBody ¶
type UpdateArchitectureBody struct { // Details of the Architecture to update. Note that some fields are ignored on // input and should not be set. Data *models.HashicorpCloudVagrant20220930Architecture `json:"data,omitempty"` }
UpdateArchitectureBody update architecture body swagger:model UpdateArchitectureBody
func (*UpdateArchitectureBody) ContextValidate ¶
func (o *UpdateArchitectureBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this update architecture body based on the context it is used
func (*UpdateArchitectureBody) MarshalBinary ¶
func (o *UpdateArchitectureBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateArchitectureBody) UnmarshalBinary ¶
func (o *UpdateArchitectureBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 // Body. Body UpdateArchitectureBody /* 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 }
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) SetBody ¶
func (o *UpdateArchitectureParams) SetBody(body UpdateArchitectureBody)
SetBody adds the body 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) 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) WithBody ¶
func (o *UpdateArchitectureParams) WithBody(body UpdateArchitectureBody) *UpdateArchitectureParams
WithBody adds the body 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) 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 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 ¶
- architecture_service_client.go
- complete_direct_upload_box_parameters.go
- complete_direct_upload_box_responses.go
- complete_upload_box_parameters.go
- complete_upload_box_responses.go
- create_architecture_parameters.go
- create_architecture_responses.go
- delete_architecture_parameters.go
- delete_architecture_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
- read_architecture_parameters.go
- read_architecture_responses.go
- update_architecture_parameters.go
- update_architecture_responses.go
- upload_box_parameters.go
- upload_box_responses.go