Documentation ¶
Index ¶
- type ActivateRegistryOK
- func (o *ActivateRegistryOK) Error() string
- func (o *ActivateRegistryOK) GetPayload() models.HashicorpCloudVagrantActivateRegistryResponse
- func (o *ActivateRegistryOK) IsClientError() bool
- func (o *ActivateRegistryOK) IsCode(code int) bool
- func (o *ActivateRegistryOK) IsRedirect() bool
- func (o *ActivateRegistryOK) IsServerError() bool
- func (o *ActivateRegistryOK) IsSuccess() bool
- func (o *ActivateRegistryOK) String() string
- type ActivateRegistryParams
- func NewActivateRegistryParams() *ActivateRegistryParams
- func NewActivateRegistryParamsWithContext(ctx context.Context) *ActivateRegistryParams
- func NewActivateRegistryParamsWithHTTPClient(client *http.Client) *ActivateRegistryParams
- func NewActivateRegistryParamsWithTimeout(timeout time.Duration) *ActivateRegistryParams
- func (o *ActivateRegistryParams) SetBody(body *models.HashicorpCloudVagrantActivateRegistryRequest)
- func (o *ActivateRegistryParams) SetContext(ctx context.Context)
- func (o *ActivateRegistryParams) SetDefaults()
- func (o *ActivateRegistryParams) SetHTTPClient(client *http.Client)
- func (o *ActivateRegistryParams) SetRegistry(registry string)
- func (o *ActivateRegistryParams) SetTimeout(timeout time.Duration)
- func (o *ActivateRegistryParams) WithBody(body *models.HashicorpCloudVagrantActivateRegistryRequest) *ActivateRegistryParams
- func (o *ActivateRegistryParams) WithContext(ctx context.Context) *ActivateRegistryParams
- func (o *ActivateRegistryParams) WithDefaults() *ActivateRegistryParams
- func (o *ActivateRegistryParams) WithHTTPClient(client *http.Client) *ActivateRegistryParams
- func (o *ActivateRegistryParams) WithRegistry(registry string) *ActivateRegistryParams
- func (o *ActivateRegistryParams) WithTimeout(timeout time.Duration) *ActivateRegistryParams
- func (o *ActivateRegistryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ActivateRegistryReader
- type Client
- func (a *Client) ActivateRegistry(params *ActivateRegistryParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ActivateRegistryOK, error)
- func (a *Client) CreateRegistry(params *CreateRegistryParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateRegistryOK, error)
- func (a *Client) DeactivateRegistry(params *DeactivateRegistryParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeactivateRegistryOK, error)
- func (a *Client) DeleteRegistry(params *DeleteRegistryParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteRegistryOK, error)
- func (a *Client) ListRegistries(params *ListRegistriesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListRegistriesOK, error)
- func (a *Client) ReadRegistry(params *ReadRegistryParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ReadRegistryOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type CreateRegistryOK
- func (o *CreateRegistryOK) Error() string
- func (o *CreateRegistryOK) GetPayload() *models.HashicorpCloudVagrantCreateRegistryResponse
- func (o *CreateRegistryOK) IsClientError() bool
- func (o *CreateRegistryOK) IsCode(code int) bool
- func (o *CreateRegistryOK) IsRedirect() bool
- func (o *CreateRegistryOK) IsServerError() bool
- func (o *CreateRegistryOK) IsSuccess() bool
- func (o *CreateRegistryOK) String() string
- type CreateRegistryParams
- func NewCreateRegistryParams() *CreateRegistryParams
- func NewCreateRegistryParamsWithContext(ctx context.Context) *CreateRegistryParams
- func NewCreateRegistryParamsWithHTTPClient(client *http.Client) *CreateRegistryParams
- func NewCreateRegistryParamsWithTimeout(timeout time.Duration) *CreateRegistryParams
- func (o *CreateRegistryParams) SetBody(body *models.HashicorpCloudVagrantCreateRegistryRequest)
- func (o *CreateRegistryParams) SetContext(ctx context.Context)
- func (o *CreateRegistryParams) SetDefaults()
- func (o *CreateRegistryParams) SetHTTPClient(client *http.Client)
- func (o *CreateRegistryParams) SetTimeout(timeout time.Duration)
- func (o *CreateRegistryParams) WithBody(body *models.HashicorpCloudVagrantCreateRegistryRequest) *CreateRegistryParams
- func (o *CreateRegistryParams) WithContext(ctx context.Context) *CreateRegistryParams
- func (o *CreateRegistryParams) WithDefaults() *CreateRegistryParams
- func (o *CreateRegistryParams) WithHTTPClient(client *http.Client) *CreateRegistryParams
- func (o *CreateRegistryParams) WithTimeout(timeout time.Duration) *CreateRegistryParams
- func (o *CreateRegistryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateRegistryReader
- type DeactivateRegistryOK
- func (o *DeactivateRegistryOK) Error() string
- func (o *DeactivateRegistryOK) GetPayload() models.HashicorpCloudVagrantDeactivateRegistryResponse
- func (o *DeactivateRegistryOK) IsClientError() bool
- func (o *DeactivateRegistryOK) IsCode(code int) bool
- func (o *DeactivateRegistryOK) IsRedirect() bool
- func (o *DeactivateRegistryOK) IsServerError() bool
- func (o *DeactivateRegistryOK) IsSuccess() bool
- func (o *DeactivateRegistryOK) String() string
- type DeactivateRegistryParams
- func NewDeactivateRegistryParams() *DeactivateRegistryParams
- func NewDeactivateRegistryParamsWithContext(ctx context.Context) *DeactivateRegistryParams
- func NewDeactivateRegistryParamsWithHTTPClient(client *http.Client) *DeactivateRegistryParams
- func NewDeactivateRegistryParamsWithTimeout(timeout time.Duration) *DeactivateRegistryParams
- func (o *DeactivateRegistryParams) SetBody(body *models.HashicorpCloudVagrantDeactivateRegistryRequest)
- func (o *DeactivateRegistryParams) SetContext(ctx context.Context)
- func (o *DeactivateRegistryParams) SetDefaults()
- func (o *DeactivateRegistryParams) SetHTTPClient(client *http.Client)
- func (o *DeactivateRegistryParams) SetRegistry(registry string)
- func (o *DeactivateRegistryParams) SetTimeout(timeout time.Duration)
- func (o *DeactivateRegistryParams) WithBody(body *models.HashicorpCloudVagrantDeactivateRegistryRequest) *DeactivateRegistryParams
- func (o *DeactivateRegistryParams) WithContext(ctx context.Context) *DeactivateRegistryParams
- func (o *DeactivateRegistryParams) WithDefaults() *DeactivateRegistryParams
- func (o *DeactivateRegistryParams) WithHTTPClient(client *http.Client) *DeactivateRegistryParams
- func (o *DeactivateRegistryParams) WithRegistry(registry string) *DeactivateRegistryParams
- func (o *DeactivateRegistryParams) WithTimeout(timeout time.Duration) *DeactivateRegistryParams
- func (o *DeactivateRegistryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeactivateRegistryReader
- type DeleteRegistryOK
- func (o *DeleteRegistryOK) Error() string
- func (o *DeleteRegistryOK) GetPayload() models.HashicorpCloudVagrantDeleteRegistryResponse
- func (o *DeleteRegistryOK) IsClientError() bool
- func (o *DeleteRegistryOK) IsCode(code int) bool
- func (o *DeleteRegistryOK) IsRedirect() bool
- func (o *DeleteRegistryOK) IsServerError() bool
- func (o *DeleteRegistryOK) IsSuccess() bool
- func (o *DeleteRegistryOK) String() string
- type DeleteRegistryParams
- func NewDeleteRegistryParams() *DeleteRegistryParams
- func NewDeleteRegistryParamsWithContext(ctx context.Context) *DeleteRegistryParams
- func NewDeleteRegistryParamsWithHTTPClient(client *http.Client) *DeleteRegistryParams
- func NewDeleteRegistryParamsWithTimeout(timeout time.Duration) *DeleteRegistryParams
- func (o *DeleteRegistryParams) SetContext(ctx context.Context)
- func (o *DeleteRegistryParams) SetDefaults()
- func (o *DeleteRegistryParams) SetHTTPClient(client *http.Client)
- func (o *DeleteRegistryParams) SetRegistry(registry string)
- func (o *DeleteRegistryParams) SetTimeout(timeout time.Duration)
- func (o *DeleteRegistryParams) WithContext(ctx context.Context) *DeleteRegistryParams
- func (o *DeleteRegistryParams) WithDefaults() *DeleteRegistryParams
- func (o *DeleteRegistryParams) WithHTTPClient(client *http.Client) *DeleteRegistryParams
- func (o *DeleteRegistryParams) WithRegistry(registry string) *DeleteRegistryParams
- func (o *DeleteRegistryParams) WithTimeout(timeout time.Duration) *DeleteRegistryParams
- func (o *DeleteRegistryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteRegistryReader
- type ListRegistriesOK
- func (o *ListRegistriesOK) Error() string
- func (o *ListRegistriesOK) GetPayload() *models.HashicorpCloudVagrantListRegistriesResponse
- func (o *ListRegistriesOK) IsClientError() bool
- func (o *ListRegistriesOK) IsCode(code int) bool
- func (o *ListRegistriesOK) IsRedirect() bool
- func (o *ListRegistriesOK) IsServerError() bool
- func (o *ListRegistriesOK) IsSuccess() bool
- func (o *ListRegistriesOK) String() string
- type ListRegistriesParams
- func NewListRegistriesParams() *ListRegistriesParams
- func NewListRegistriesParamsWithContext(ctx context.Context) *ListRegistriesParams
- func NewListRegistriesParamsWithHTTPClient(client *http.Client) *ListRegistriesParams
- func NewListRegistriesParamsWithTimeout(timeout time.Duration) *ListRegistriesParams
- func (o *ListRegistriesParams) SetContext(ctx context.Context)
- func (o *ListRegistriesParams) SetDefaults()
- func (o *ListRegistriesParams) SetHTTPClient(client *http.Client)
- func (o *ListRegistriesParams) SetLocationOrganizationID(locationOrganizationID *string)
- func (o *ListRegistriesParams) SetLocationProjectID(locationProjectID *string)
- func (o *ListRegistriesParams) SetLocationRegionProvider(locationRegionProvider *string)
- func (o *ListRegistriesParams) SetLocationRegionRegion(locationRegionRegion *string)
- func (o *ListRegistriesParams) SetPaginationNextPageToken(paginationNextPageToken *string)
- func (o *ListRegistriesParams) SetPaginationPageSize(paginationPageSize *int64)
- func (o *ListRegistriesParams) SetPaginationPreviousPageToken(paginationPreviousPageToken *string)
- func (o *ListRegistriesParams) SetTimeout(timeout time.Duration)
- func (o *ListRegistriesParams) WithContext(ctx context.Context) *ListRegistriesParams
- func (o *ListRegistriesParams) WithDefaults() *ListRegistriesParams
- func (o *ListRegistriesParams) WithHTTPClient(client *http.Client) *ListRegistriesParams
- func (o *ListRegistriesParams) WithLocationOrganizationID(locationOrganizationID *string) *ListRegistriesParams
- func (o *ListRegistriesParams) WithLocationProjectID(locationProjectID *string) *ListRegistriesParams
- func (o *ListRegistriesParams) WithLocationRegionProvider(locationRegionProvider *string) *ListRegistriesParams
- func (o *ListRegistriesParams) WithLocationRegionRegion(locationRegionRegion *string) *ListRegistriesParams
- func (o *ListRegistriesParams) WithPaginationNextPageToken(paginationNextPageToken *string) *ListRegistriesParams
- func (o *ListRegistriesParams) WithPaginationPageSize(paginationPageSize *int64) *ListRegistriesParams
- func (o *ListRegistriesParams) WithPaginationPreviousPageToken(paginationPreviousPageToken *string) *ListRegistriesParams
- func (o *ListRegistriesParams) WithTimeout(timeout time.Duration) *ListRegistriesParams
- func (o *ListRegistriesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListRegistriesReader
- type ReadRegistryOK
- func (o *ReadRegistryOK) Error() string
- func (o *ReadRegistryOK) GetPayload() *models.HashicorpCloudVagrantReadRegistryResponse
- func (o *ReadRegistryOK) IsClientError() bool
- func (o *ReadRegistryOK) IsCode(code int) bool
- func (o *ReadRegistryOK) IsRedirect() bool
- func (o *ReadRegistryOK) IsServerError() bool
- func (o *ReadRegistryOK) IsSuccess() bool
- func (o *ReadRegistryOK) String() string
- type ReadRegistryParams
- func (o *ReadRegistryParams) SetContext(ctx context.Context)
- func (o *ReadRegistryParams) SetDefaults()
- func (o *ReadRegistryParams) SetHTTPClient(client *http.Client)
- func (o *ReadRegistryParams) SetRegistry(registry string)
- func (o *ReadRegistryParams) SetTimeout(timeout time.Duration)
- func (o *ReadRegistryParams) WithContext(ctx context.Context) *ReadRegistryParams
- func (o *ReadRegistryParams) WithDefaults() *ReadRegistryParams
- func (o *ReadRegistryParams) WithHTTPClient(client *http.Client) *ReadRegistryParams
- func (o *ReadRegistryParams) WithRegistry(registry string) *ReadRegistryParams
- func (o *ReadRegistryParams) WithTimeout(timeout time.Duration) *ReadRegistryParams
- func (o *ReadRegistryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ReadRegistryReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActivateRegistryOK ¶
type ActivateRegistryOK struct {
Payload models.HashicorpCloudVagrantActivateRegistryResponse
}
ActivateRegistryOK describes a response with status code 200, with default header values.
A successful response.
func NewActivateRegistryOK ¶
func NewActivateRegistryOK() *ActivateRegistryOK
NewActivateRegistryOK creates a ActivateRegistryOK with default headers values
func (*ActivateRegistryOK) Error ¶
func (o *ActivateRegistryOK) Error() string
func (*ActivateRegistryOK) GetPayload ¶
func (o *ActivateRegistryOK) GetPayload() models.HashicorpCloudVagrantActivateRegistryResponse
func (*ActivateRegistryOK) IsClientError ¶ added in v0.23.0
func (o *ActivateRegistryOK) IsClientError() bool
IsClientError returns true when this activate registry o k response has a 4xx status code
func (*ActivateRegistryOK) IsCode ¶ added in v0.23.0
func (o *ActivateRegistryOK) IsCode(code int) bool
IsCode returns true when this activate registry o k response a status code equal to that given
func (*ActivateRegistryOK) IsRedirect ¶ added in v0.23.0
func (o *ActivateRegistryOK) IsRedirect() bool
IsRedirect returns true when this activate registry o k response has a 3xx status code
func (*ActivateRegistryOK) IsServerError ¶ added in v0.23.0
func (o *ActivateRegistryOK) IsServerError() bool
IsServerError returns true when this activate registry o k response has a 5xx status code
func (*ActivateRegistryOK) IsSuccess ¶ added in v0.23.0
func (o *ActivateRegistryOK) IsSuccess() bool
IsSuccess returns true when this activate registry o k response has a 2xx status code
func (*ActivateRegistryOK) String ¶ added in v0.23.0
func (o *ActivateRegistryOK) String() string
type ActivateRegistryParams ¶
type ActivateRegistryParams struct { // Body. Body *models.HashicorpCloudVagrantActivateRegistryRequest /* Registry. The name of the Registry to activate. */ Registry string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ActivateRegistryParams contains all the parameters to send to the API endpoint
for the activate registry operation. Typically these are written to a http.Request.
func NewActivateRegistryParams ¶
func NewActivateRegistryParams() *ActivateRegistryParams
NewActivateRegistryParams creates a new ActivateRegistryParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewActivateRegistryParamsWithContext ¶
func NewActivateRegistryParamsWithContext(ctx context.Context) *ActivateRegistryParams
NewActivateRegistryParamsWithContext creates a new ActivateRegistryParams object with the ability to set a context for a request.
func NewActivateRegistryParamsWithHTTPClient ¶
func NewActivateRegistryParamsWithHTTPClient(client *http.Client) *ActivateRegistryParams
NewActivateRegistryParamsWithHTTPClient creates a new ActivateRegistryParams object with the ability to set a custom HTTPClient for a request.
func NewActivateRegistryParamsWithTimeout ¶
func NewActivateRegistryParamsWithTimeout(timeout time.Duration) *ActivateRegistryParams
NewActivateRegistryParamsWithTimeout creates a new ActivateRegistryParams object with the ability to set a timeout on a request.
func (*ActivateRegistryParams) SetBody ¶
func (o *ActivateRegistryParams) SetBody(body *models.HashicorpCloudVagrantActivateRegistryRequest)
SetBody adds the body to the activate registry params
func (*ActivateRegistryParams) SetContext ¶
func (o *ActivateRegistryParams) SetContext(ctx context.Context)
SetContext adds the context to the activate registry params
func (*ActivateRegistryParams) SetDefaults ¶ added in v0.23.0
func (o *ActivateRegistryParams) SetDefaults()
SetDefaults hydrates default values in the activate registry params (not the query body).
All values with no default are reset to their zero value.
func (*ActivateRegistryParams) SetHTTPClient ¶
func (o *ActivateRegistryParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the activate registry params
func (*ActivateRegistryParams) SetRegistry ¶
func (o *ActivateRegistryParams) SetRegistry(registry string)
SetRegistry adds the registry to the activate registry params
func (*ActivateRegistryParams) SetTimeout ¶
func (o *ActivateRegistryParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the activate registry params
func (*ActivateRegistryParams) WithBody ¶
func (o *ActivateRegistryParams) WithBody(body *models.HashicorpCloudVagrantActivateRegistryRequest) *ActivateRegistryParams
WithBody adds the body to the activate registry params
func (*ActivateRegistryParams) WithContext ¶
func (o *ActivateRegistryParams) WithContext(ctx context.Context) *ActivateRegistryParams
WithContext adds the context to the activate registry params
func (*ActivateRegistryParams) WithDefaults ¶ added in v0.23.0
func (o *ActivateRegistryParams) WithDefaults() *ActivateRegistryParams
WithDefaults hydrates default values in the activate registry params (not the query body).
All values with no default are reset to their zero value.
func (*ActivateRegistryParams) WithHTTPClient ¶
func (o *ActivateRegistryParams) WithHTTPClient(client *http.Client) *ActivateRegistryParams
WithHTTPClient adds the HTTPClient to the activate registry params
func (*ActivateRegistryParams) WithRegistry ¶
func (o *ActivateRegistryParams) WithRegistry(registry string) *ActivateRegistryParams
WithRegistry adds the registry to the activate registry params
func (*ActivateRegistryParams) WithTimeout ¶
func (o *ActivateRegistryParams) WithTimeout(timeout time.Duration) *ActivateRegistryParams
WithTimeout adds the timeout to the activate registry params
func (*ActivateRegistryParams) WriteToRequest ¶
func (o *ActivateRegistryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ActivateRegistryReader ¶
type ActivateRegistryReader struct {
// contains filtered or unexported fields
}
ActivateRegistryReader is a Reader for the ActivateRegistry structure.
func (*ActivateRegistryReader) ReadResponse ¶
func (o *ActivateRegistryReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for registry service API
func (*Client) ActivateRegistry ¶
func (a *Client) ActivateRegistry(params *ActivateRegistryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ActivateRegistryOK, error)
ActivateRegistry activates registry activates a vagrant box registry at the location specified the registry must already exist and must be currently disabled Activation will re-enable a Registry, allowing requests and
accruing charges as normal.
func (*Client) CreateRegistry ¶
func (a *Client) CreateRegistry(params *CreateRegistryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateRegistryOK, error)
CreateRegistry creates registry creates a vagrant box registry at the location specified
func (*Client) DeactivateRegistry ¶
func (a *Client) DeactivateRegistry(params *DeactivateRegistryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeactivateRegistryOK, error)
DeactivateRegistry deactivates registry deactivates a vagrant box registry at the location specified the registry must already exist and must be currently enabled Deactivation will disable a Registry but not delete its data.
All requests to the Registry will return not-found errors. This can be used to temporarily block access to a Registry to prevent access-related charges to the Registry.
func (*Client) DeleteRegistry ¶
func (a *Client) DeleteRegistry(params *DeleteRegistryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteRegistryOK, error)
DeleteRegistry deletes registry deletes a vagrant box registry at the location specified Deletion removes the Registry and all of its Box, Version, and
Provider data, including any Hosted Providers and their respective data. This operation is permanent and cannot be undone.
func (*Client) ListRegistries ¶
func (a *Client) ListRegistries(params *ListRegistriesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListRegistriesOK, error)
ListRegistries lists registries lists available vagrant box registries the query can be scoped to a particular organization or project
func (*Client) ReadRegistry ¶
func (a *Client) ReadRegistry(params *ReadRegistryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ReadRegistryOK, error)
ReadRegistry reads registry reads a vagrant box registry by its name
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶ added in v0.23.0
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { ActivateRegistry(params *ActivateRegistryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ActivateRegistryOK, error) CreateRegistry(params *CreateRegistryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateRegistryOK, error) DeactivateRegistry(params *DeactivateRegistryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeactivateRegistryOK, error) DeleteRegistry(params *DeleteRegistryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteRegistryOK, error) ListRegistries(params *ListRegistriesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListRegistriesOK, error) ReadRegistry(params *ReadRegistryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ReadRegistryOK, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new registry service API client.
type CreateRegistryOK ¶
type CreateRegistryOK struct {
Payload *models.HashicorpCloudVagrantCreateRegistryResponse
}
CreateRegistryOK describes a response with status code 200, with default header values.
A successful response.
func NewCreateRegistryOK ¶
func NewCreateRegistryOK() *CreateRegistryOK
NewCreateRegistryOK creates a CreateRegistryOK with default headers values
func (*CreateRegistryOK) Error ¶
func (o *CreateRegistryOK) Error() string
func (*CreateRegistryOK) GetPayload ¶
func (o *CreateRegistryOK) GetPayload() *models.HashicorpCloudVagrantCreateRegistryResponse
func (*CreateRegistryOK) IsClientError ¶ added in v0.23.0
func (o *CreateRegistryOK) IsClientError() bool
IsClientError returns true when this create registry o k response has a 4xx status code
func (*CreateRegistryOK) IsCode ¶ added in v0.23.0
func (o *CreateRegistryOK) IsCode(code int) bool
IsCode returns true when this create registry o k response a status code equal to that given
func (*CreateRegistryOK) IsRedirect ¶ added in v0.23.0
func (o *CreateRegistryOK) IsRedirect() bool
IsRedirect returns true when this create registry o k response has a 3xx status code
func (*CreateRegistryOK) IsServerError ¶ added in v0.23.0
func (o *CreateRegistryOK) IsServerError() bool
IsServerError returns true when this create registry o k response has a 5xx status code
func (*CreateRegistryOK) IsSuccess ¶ added in v0.23.0
func (o *CreateRegistryOK) IsSuccess() bool
IsSuccess returns true when this create registry o k response has a 2xx status code
func (*CreateRegistryOK) String ¶ added in v0.23.0
func (o *CreateRegistryOK) String() string
type CreateRegistryParams ¶
type CreateRegistryParams struct { // Body. Body *models.HashicorpCloudVagrantCreateRegistryRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateRegistryParams contains all the parameters to send to the API endpoint
for the create registry operation. Typically these are written to a http.Request.
func NewCreateRegistryParams ¶
func NewCreateRegistryParams() *CreateRegistryParams
NewCreateRegistryParams creates a new CreateRegistryParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewCreateRegistryParamsWithContext ¶
func NewCreateRegistryParamsWithContext(ctx context.Context) *CreateRegistryParams
NewCreateRegistryParamsWithContext creates a new CreateRegistryParams object with the ability to set a context for a request.
func NewCreateRegistryParamsWithHTTPClient ¶
func NewCreateRegistryParamsWithHTTPClient(client *http.Client) *CreateRegistryParams
NewCreateRegistryParamsWithHTTPClient creates a new CreateRegistryParams object with the ability to set a custom HTTPClient for a request.
func NewCreateRegistryParamsWithTimeout ¶
func NewCreateRegistryParamsWithTimeout(timeout time.Duration) *CreateRegistryParams
NewCreateRegistryParamsWithTimeout creates a new CreateRegistryParams object with the ability to set a timeout on a request.
func (*CreateRegistryParams) SetBody ¶
func (o *CreateRegistryParams) SetBody(body *models.HashicorpCloudVagrantCreateRegistryRequest)
SetBody adds the body to the create registry params
func (*CreateRegistryParams) SetContext ¶
func (o *CreateRegistryParams) SetContext(ctx context.Context)
SetContext adds the context to the create registry params
func (*CreateRegistryParams) SetDefaults ¶ added in v0.23.0
func (o *CreateRegistryParams) SetDefaults()
SetDefaults hydrates default values in the create registry params (not the query body).
All values with no default are reset to their zero value.
func (*CreateRegistryParams) SetHTTPClient ¶
func (o *CreateRegistryParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create registry params
func (*CreateRegistryParams) SetTimeout ¶
func (o *CreateRegistryParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create registry params
func (*CreateRegistryParams) WithBody ¶
func (o *CreateRegistryParams) WithBody(body *models.HashicorpCloudVagrantCreateRegistryRequest) *CreateRegistryParams
WithBody adds the body to the create registry params
func (*CreateRegistryParams) WithContext ¶
func (o *CreateRegistryParams) WithContext(ctx context.Context) *CreateRegistryParams
WithContext adds the context to the create registry params
func (*CreateRegistryParams) WithDefaults ¶ added in v0.23.0
func (o *CreateRegistryParams) WithDefaults() *CreateRegistryParams
WithDefaults hydrates default values in the create registry params (not the query body).
All values with no default are reset to their zero value.
func (*CreateRegistryParams) WithHTTPClient ¶
func (o *CreateRegistryParams) WithHTTPClient(client *http.Client) *CreateRegistryParams
WithHTTPClient adds the HTTPClient to the create registry params
func (*CreateRegistryParams) WithTimeout ¶
func (o *CreateRegistryParams) WithTimeout(timeout time.Duration) *CreateRegistryParams
WithTimeout adds the timeout to the create registry params
func (*CreateRegistryParams) WriteToRequest ¶
func (o *CreateRegistryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateRegistryReader ¶
type CreateRegistryReader struct {
// contains filtered or unexported fields
}
CreateRegistryReader is a Reader for the CreateRegistry structure.
func (*CreateRegistryReader) ReadResponse ¶
func (o *CreateRegistryReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeactivateRegistryOK ¶
type DeactivateRegistryOK struct {
Payload models.HashicorpCloudVagrantDeactivateRegistryResponse
}
DeactivateRegistryOK describes a response with status code 200, with default header values.
A successful response.
func NewDeactivateRegistryOK ¶
func NewDeactivateRegistryOK() *DeactivateRegistryOK
NewDeactivateRegistryOK creates a DeactivateRegistryOK with default headers values
func (*DeactivateRegistryOK) Error ¶
func (o *DeactivateRegistryOK) Error() string
func (*DeactivateRegistryOK) GetPayload ¶
func (o *DeactivateRegistryOK) GetPayload() models.HashicorpCloudVagrantDeactivateRegistryResponse
func (*DeactivateRegistryOK) IsClientError ¶ added in v0.23.0
func (o *DeactivateRegistryOK) IsClientError() bool
IsClientError returns true when this deactivate registry o k response has a 4xx status code
func (*DeactivateRegistryOK) IsCode ¶ added in v0.23.0
func (o *DeactivateRegistryOK) IsCode(code int) bool
IsCode returns true when this deactivate registry o k response a status code equal to that given
func (*DeactivateRegistryOK) IsRedirect ¶ added in v0.23.0
func (o *DeactivateRegistryOK) IsRedirect() bool
IsRedirect returns true when this deactivate registry o k response has a 3xx status code
func (*DeactivateRegistryOK) IsServerError ¶ added in v0.23.0
func (o *DeactivateRegistryOK) IsServerError() bool
IsServerError returns true when this deactivate registry o k response has a 5xx status code
func (*DeactivateRegistryOK) IsSuccess ¶ added in v0.23.0
func (o *DeactivateRegistryOK) IsSuccess() bool
IsSuccess returns true when this deactivate registry o k response has a 2xx status code
func (*DeactivateRegistryOK) String ¶ added in v0.23.0
func (o *DeactivateRegistryOK) String() string
type DeactivateRegistryParams ¶
type DeactivateRegistryParams struct { // Body. Body *models.HashicorpCloudVagrantDeactivateRegistryRequest /* Registry. The name of the Registry to deactivate. */ Registry string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeactivateRegistryParams contains all the parameters to send to the API endpoint
for the deactivate registry operation. Typically these are written to a http.Request.
func NewDeactivateRegistryParams ¶
func NewDeactivateRegistryParams() *DeactivateRegistryParams
NewDeactivateRegistryParams creates a new DeactivateRegistryParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDeactivateRegistryParamsWithContext ¶
func NewDeactivateRegistryParamsWithContext(ctx context.Context) *DeactivateRegistryParams
NewDeactivateRegistryParamsWithContext creates a new DeactivateRegistryParams object with the ability to set a context for a request.
func NewDeactivateRegistryParamsWithHTTPClient ¶
func NewDeactivateRegistryParamsWithHTTPClient(client *http.Client) *DeactivateRegistryParams
NewDeactivateRegistryParamsWithHTTPClient creates a new DeactivateRegistryParams object with the ability to set a custom HTTPClient for a request.
func NewDeactivateRegistryParamsWithTimeout ¶
func NewDeactivateRegistryParamsWithTimeout(timeout time.Duration) *DeactivateRegistryParams
NewDeactivateRegistryParamsWithTimeout creates a new DeactivateRegistryParams object with the ability to set a timeout on a request.
func (*DeactivateRegistryParams) SetBody ¶
func (o *DeactivateRegistryParams) SetBody(body *models.HashicorpCloudVagrantDeactivateRegistryRequest)
SetBody adds the body to the deactivate registry params
func (*DeactivateRegistryParams) SetContext ¶
func (o *DeactivateRegistryParams) SetContext(ctx context.Context)
SetContext adds the context to the deactivate registry params
func (*DeactivateRegistryParams) SetDefaults ¶ added in v0.23.0
func (o *DeactivateRegistryParams) SetDefaults()
SetDefaults hydrates default values in the deactivate registry params (not the query body).
All values with no default are reset to their zero value.
func (*DeactivateRegistryParams) SetHTTPClient ¶
func (o *DeactivateRegistryParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the deactivate registry params
func (*DeactivateRegistryParams) SetRegistry ¶
func (o *DeactivateRegistryParams) SetRegistry(registry string)
SetRegistry adds the registry to the deactivate registry params
func (*DeactivateRegistryParams) SetTimeout ¶
func (o *DeactivateRegistryParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the deactivate registry params
func (*DeactivateRegistryParams) WithBody ¶
func (o *DeactivateRegistryParams) WithBody(body *models.HashicorpCloudVagrantDeactivateRegistryRequest) *DeactivateRegistryParams
WithBody adds the body to the deactivate registry params
func (*DeactivateRegistryParams) WithContext ¶
func (o *DeactivateRegistryParams) WithContext(ctx context.Context) *DeactivateRegistryParams
WithContext adds the context to the deactivate registry params
func (*DeactivateRegistryParams) WithDefaults ¶ added in v0.23.0
func (o *DeactivateRegistryParams) WithDefaults() *DeactivateRegistryParams
WithDefaults hydrates default values in the deactivate registry params (not the query body).
All values with no default are reset to their zero value.
func (*DeactivateRegistryParams) WithHTTPClient ¶
func (o *DeactivateRegistryParams) WithHTTPClient(client *http.Client) *DeactivateRegistryParams
WithHTTPClient adds the HTTPClient to the deactivate registry params
func (*DeactivateRegistryParams) WithRegistry ¶
func (o *DeactivateRegistryParams) WithRegistry(registry string) *DeactivateRegistryParams
WithRegistry adds the registry to the deactivate registry params
func (*DeactivateRegistryParams) WithTimeout ¶
func (o *DeactivateRegistryParams) WithTimeout(timeout time.Duration) *DeactivateRegistryParams
WithTimeout adds the timeout to the deactivate registry params
func (*DeactivateRegistryParams) WriteToRequest ¶
func (o *DeactivateRegistryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeactivateRegistryReader ¶
type DeactivateRegistryReader struct {
// contains filtered or unexported fields
}
DeactivateRegistryReader is a Reader for the DeactivateRegistry structure.
func (*DeactivateRegistryReader) ReadResponse ¶
func (o *DeactivateRegistryReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteRegistryOK ¶
type DeleteRegistryOK struct {
Payload models.HashicorpCloudVagrantDeleteRegistryResponse
}
DeleteRegistryOK describes a response with status code 200, with default header values.
A successful response.
func NewDeleteRegistryOK ¶
func NewDeleteRegistryOK() *DeleteRegistryOK
NewDeleteRegistryOK creates a DeleteRegistryOK with default headers values
func (*DeleteRegistryOK) Error ¶
func (o *DeleteRegistryOK) Error() string
func (*DeleteRegistryOK) GetPayload ¶
func (o *DeleteRegistryOK) GetPayload() models.HashicorpCloudVagrantDeleteRegistryResponse
func (*DeleteRegistryOK) IsClientError ¶ added in v0.23.0
func (o *DeleteRegistryOK) IsClientError() bool
IsClientError returns true when this delete registry o k response has a 4xx status code
func (*DeleteRegistryOK) IsCode ¶ added in v0.23.0
func (o *DeleteRegistryOK) IsCode(code int) bool
IsCode returns true when this delete registry o k response a status code equal to that given
func (*DeleteRegistryOK) IsRedirect ¶ added in v0.23.0
func (o *DeleteRegistryOK) IsRedirect() bool
IsRedirect returns true when this delete registry o k response has a 3xx status code
func (*DeleteRegistryOK) IsServerError ¶ added in v0.23.0
func (o *DeleteRegistryOK) IsServerError() bool
IsServerError returns true when this delete registry o k response has a 5xx status code
func (*DeleteRegistryOK) IsSuccess ¶ added in v0.23.0
func (o *DeleteRegistryOK) IsSuccess() bool
IsSuccess returns true when this delete registry o k response has a 2xx status code
func (*DeleteRegistryOK) String ¶ added in v0.23.0
func (o *DeleteRegistryOK) String() string
type DeleteRegistryParams ¶
type DeleteRegistryParams struct { /* Registry. The name of the Registry to delete. */ Registry string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteRegistryParams contains all the parameters to send to the API endpoint
for the delete registry operation. Typically these are written to a http.Request.
func NewDeleteRegistryParams ¶
func NewDeleteRegistryParams() *DeleteRegistryParams
NewDeleteRegistryParams creates a new DeleteRegistryParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDeleteRegistryParamsWithContext ¶
func NewDeleteRegistryParamsWithContext(ctx context.Context) *DeleteRegistryParams
NewDeleteRegistryParamsWithContext creates a new DeleteRegistryParams object with the ability to set a context for a request.
func NewDeleteRegistryParamsWithHTTPClient ¶
func NewDeleteRegistryParamsWithHTTPClient(client *http.Client) *DeleteRegistryParams
NewDeleteRegistryParamsWithHTTPClient creates a new DeleteRegistryParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteRegistryParamsWithTimeout ¶
func NewDeleteRegistryParamsWithTimeout(timeout time.Duration) *DeleteRegistryParams
NewDeleteRegistryParamsWithTimeout creates a new DeleteRegistryParams object with the ability to set a timeout on a request.
func (*DeleteRegistryParams) SetContext ¶
func (o *DeleteRegistryParams) SetContext(ctx context.Context)
SetContext adds the context to the delete registry params
func (*DeleteRegistryParams) SetDefaults ¶ added in v0.23.0
func (o *DeleteRegistryParams) SetDefaults()
SetDefaults hydrates default values in the delete registry params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteRegistryParams) SetHTTPClient ¶
func (o *DeleteRegistryParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete registry params
func (*DeleteRegistryParams) SetRegistry ¶
func (o *DeleteRegistryParams) SetRegistry(registry string)
SetRegistry adds the registry to the delete registry params
func (*DeleteRegistryParams) SetTimeout ¶
func (o *DeleteRegistryParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete registry params
func (*DeleteRegistryParams) WithContext ¶
func (o *DeleteRegistryParams) WithContext(ctx context.Context) *DeleteRegistryParams
WithContext adds the context to the delete registry params
func (*DeleteRegistryParams) WithDefaults ¶ added in v0.23.0
func (o *DeleteRegistryParams) WithDefaults() *DeleteRegistryParams
WithDefaults hydrates default values in the delete registry params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteRegistryParams) WithHTTPClient ¶
func (o *DeleteRegistryParams) WithHTTPClient(client *http.Client) *DeleteRegistryParams
WithHTTPClient adds the HTTPClient to the delete registry params
func (*DeleteRegistryParams) WithRegistry ¶
func (o *DeleteRegistryParams) WithRegistry(registry string) *DeleteRegistryParams
WithRegistry adds the registry to the delete registry params
func (*DeleteRegistryParams) WithTimeout ¶
func (o *DeleteRegistryParams) WithTimeout(timeout time.Duration) *DeleteRegistryParams
WithTimeout adds the timeout to the delete registry params
func (*DeleteRegistryParams) WriteToRequest ¶
func (o *DeleteRegistryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteRegistryReader ¶
type DeleteRegistryReader struct {
// contains filtered or unexported fields
}
DeleteRegistryReader is a Reader for the DeleteRegistry structure.
func (*DeleteRegistryReader) ReadResponse ¶
func (o *DeleteRegistryReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListRegistriesOK ¶
type ListRegistriesOK struct {
Payload *models.HashicorpCloudVagrantListRegistriesResponse
}
ListRegistriesOK describes a response with status code 200, with default header values.
A successful response.
func NewListRegistriesOK ¶
func NewListRegistriesOK() *ListRegistriesOK
NewListRegistriesOK creates a ListRegistriesOK with default headers values
func (*ListRegistriesOK) Error ¶
func (o *ListRegistriesOK) Error() string
func (*ListRegistriesOK) GetPayload ¶
func (o *ListRegistriesOK) GetPayload() *models.HashicorpCloudVagrantListRegistriesResponse
func (*ListRegistriesOK) IsClientError ¶ added in v0.23.0
func (o *ListRegistriesOK) IsClientError() bool
IsClientError returns true when this list registries o k response has a 4xx status code
func (*ListRegistriesOK) IsCode ¶ added in v0.23.0
func (o *ListRegistriesOK) IsCode(code int) bool
IsCode returns true when this list registries o k response a status code equal to that given
func (*ListRegistriesOK) IsRedirect ¶ added in v0.23.0
func (o *ListRegistriesOK) IsRedirect() bool
IsRedirect returns true when this list registries o k response has a 3xx status code
func (*ListRegistriesOK) IsServerError ¶ added in v0.23.0
func (o *ListRegistriesOK) IsServerError() bool
IsServerError returns true when this list registries o k response has a 5xx status code
func (*ListRegistriesOK) IsSuccess ¶ added in v0.23.0
func (o *ListRegistriesOK) IsSuccess() bool
IsSuccess returns true when this list registries o k response has a 2xx status code
func (*ListRegistriesOK) String ¶ added in v0.23.0
func (o *ListRegistriesOK) String() string
type ListRegistriesParams ¶
type ListRegistriesParams struct { /* LocationOrganizationID. organization_id is the id of the organization. */ LocationOrganizationID *string /* LocationProjectID. project_id is the projects id. */ LocationProjectID *string /* LocationRegionProvider. provider is the named cloud provider ("aws", "gcp", "azure"). */ LocationRegionProvider *string /* LocationRegionRegion. region is the cloud region ("us-west1", "us-east1"). */ LocationRegionRegion *string /* PaginationNextPageToken. Specifies a page token to use to retrieve the next page. Set this to the `next_page_token` returned by previous list requests to get the next page of results. If set, `previous_page_token` must not be set. */ PaginationNextPageToken *string /* PaginationPageSize. The max number of results per page that should be returned. If the number of available results is larger than `page_size`, a `next_page_token` is returned which can be used to get the next page of results in subsequent requests. A value of zero will cause `page_size` to be defaulted. Format: int64 */ PaginationPageSize *int64 /* PaginationPreviousPageToken. Specifies a page token to use to retrieve the previous page. Set this to the `previous_page_token` returned by previous list requests to get the previous page of results. If set, `next_page_token` must not be set. */ PaginationPreviousPageToken *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListRegistriesParams contains all the parameters to send to the API endpoint
for the list registries operation. Typically these are written to a http.Request.
func NewListRegistriesParams ¶
func NewListRegistriesParams() *ListRegistriesParams
NewListRegistriesParams creates a new ListRegistriesParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewListRegistriesParamsWithContext ¶
func NewListRegistriesParamsWithContext(ctx context.Context) *ListRegistriesParams
NewListRegistriesParamsWithContext creates a new ListRegistriesParams object with the ability to set a context for a request.
func NewListRegistriesParamsWithHTTPClient ¶
func NewListRegistriesParamsWithHTTPClient(client *http.Client) *ListRegistriesParams
NewListRegistriesParamsWithHTTPClient creates a new ListRegistriesParams object with the ability to set a custom HTTPClient for a request.
func NewListRegistriesParamsWithTimeout ¶
func NewListRegistriesParamsWithTimeout(timeout time.Duration) *ListRegistriesParams
NewListRegistriesParamsWithTimeout creates a new ListRegistriesParams object with the ability to set a timeout on a request.
func (*ListRegistriesParams) SetContext ¶
func (o *ListRegistriesParams) SetContext(ctx context.Context)
SetContext adds the context to the list registries params
func (*ListRegistriesParams) SetDefaults ¶ added in v0.23.0
func (o *ListRegistriesParams) SetDefaults()
SetDefaults hydrates default values in the list registries params (not the query body).
All values with no default are reset to their zero value.
func (*ListRegistriesParams) SetHTTPClient ¶
func (o *ListRegistriesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list registries params
func (*ListRegistriesParams) SetLocationOrganizationID ¶
func (o *ListRegistriesParams) SetLocationOrganizationID(locationOrganizationID *string)
SetLocationOrganizationID adds the locationOrganizationId to the list registries params
func (*ListRegistriesParams) SetLocationProjectID ¶
func (o *ListRegistriesParams) SetLocationProjectID(locationProjectID *string)
SetLocationProjectID adds the locationProjectId to the list registries params
func (*ListRegistriesParams) SetLocationRegionProvider ¶
func (o *ListRegistriesParams) SetLocationRegionProvider(locationRegionProvider *string)
SetLocationRegionProvider adds the locationRegionProvider to the list registries params
func (*ListRegistriesParams) SetLocationRegionRegion ¶
func (o *ListRegistriesParams) SetLocationRegionRegion(locationRegionRegion *string)
SetLocationRegionRegion adds the locationRegionRegion to the list registries params
func (*ListRegistriesParams) SetPaginationNextPageToken ¶
func (o *ListRegistriesParams) SetPaginationNextPageToken(paginationNextPageToken *string)
SetPaginationNextPageToken adds the paginationNextPageToken to the list registries params
func (*ListRegistriesParams) SetPaginationPageSize ¶
func (o *ListRegistriesParams) SetPaginationPageSize(paginationPageSize *int64)
SetPaginationPageSize adds the paginationPageSize to the list registries params
func (*ListRegistriesParams) SetPaginationPreviousPageToken ¶
func (o *ListRegistriesParams) SetPaginationPreviousPageToken(paginationPreviousPageToken *string)
SetPaginationPreviousPageToken adds the paginationPreviousPageToken to the list registries params
func (*ListRegistriesParams) SetTimeout ¶
func (o *ListRegistriesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list registries params
func (*ListRegistriesParams) WithContext ¶
func (o *ListRegistriesParams) WithContext(ctx context.Context) *ListRegistriesParams
WithContext adds the context to the list registries params
func (*ListRegistriesParams) WithDefaults ¶ added in v0.23.0
func (o *ListRegistriesParams) WithDefaults() *ListRegistriesParams
WithDefaults hydrates default values in the list registries params (not the query body).
All values with no default are reset to their zero value.
func (*ListRegistriesParams) WithHTTPClient ¶
func (o *ListRegistriesParams) WithHTTPClient(client *http.Client) *ListRegistriesParams
WithHTTPClient adds the HTTPClient to the list registries params
func (*ListRegistriesParams) WithLocationOrganizationID ¶
func (o *ListRegistriesParams) WithLocationOrganizationID(locationOrganizationID *string) *ListRegistriesParams
WithLocationOrganizationID adds the locationOrganizationID to the list registries params
func (*ListRegistriesParams) WithLocationProjectID ¶
func (o *ListRegistriesParams) WithLocationProjectID(locationProjectID *string) *ListRegistriesParams
WithLocationProjectID adds the locationProjectID to the list registries params
func (*ListRegistriesParams) WithLocationRegionProvider ¶
func (o *ListRegistriesParams) WithLocationRegionProvider(locationRegionProvider *string) *ListRegistriesParams
WithLocationRegionProvider adds the locationRegionProvider to the list registries params
func (*ListRegistriesParams) WithLocationRegionRegion ¶
func (o *ListRegistriesParams) WithLocationRegionRegion(locationRegionRegion *string) *ListRegistriesParams
WithLocationRegionRegion adds the locationRegionRegion to the list registries params
func (*ListRegistriesParams) WithPaginationNextPageToken ¶
func (o *ListRegistriesParams) WithPaginationNextPageToken(paginationNextPageToken *string) *ListRegistriesParams
WithPaginationNextPageToken adds the paginationNextPageToken to the list registries params
func (*ListRegistriesParams) WithPaginationPageSize ¶
func (o *ListRegistriesParams) WithPaginationPageSize(paginationPageSize *int64) *ListRegistriesParams
WithPaginationPageSize adds the paginationPageSize to the list registries params
func (*ListRegistriesParams) WithPaginationPreviousPageToken ¶
func (o *ListRegistriesParams) WithPaginationPreviousPageToken(paginationPreviousPageToken *string) *ListRegistriesParams
WithPaginationPreviousPageToken adds the paginationPreviousPageToken to the list registries params
func (*ListRegistriesParams) WithTimeout ¶
func (o *ListRegistriesParams) WithTimeout(timeout time.Duration) *ListRegistriesParams
WithTimeout adds the timeout to the list registries params
func (*ListRegistriesParams) WriteToRequest ¶
func (o *ListRegistriesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListRegistriesReader ¶
type ListRegistriesReader struct {
// contains filtered or unexported fields
}
ListRegistriesReader is a Reader for the ListRegistries structure.
func (*ListRegistriesReader) ReadResponse ¶
func (o *ListRegistriesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ReadRegistryOK ¶
type ReadRegistryOK struct {
Payload *models.HashicorpCloudVagrantReadRegistryResponse
}
ReadRegistryOK describes a response with status code 200, with default header values.
A successful response.
func NewReadRegistryOK ¶
func NewReadRegistryOK() *ReadRegistryOK
NewReadRegistryOK creates a ReadRegistryOK with default headers values
func (*ReadRegistryOK) Error ¶
func (o *ReadRegistryOK) Error() string
func (*ReadRegistryOK) GetPayload ¶
func (o *ReadRegistryOK) GetPayload() *models.HashicorpCloudVagrantReadRegistryResponse
func (*ReadRegistryOK) IsClientError ¶ added in v0.23.0
func (o *ReadRegistryOK) IsClientError() bool
IsClientError returns true when this read registry o k response has a 4xx status code
func (*ReadRegistryOK) IsCode ¶ added in v0.23.0
func (o *ReadRegistryOK) IsCode(code int) bool
IsCode returns true when this read registry o k response a status code equal to that given
func (*ReadRegistryOK) IsRedirect ¶ added in v0.23.0
func (o *ReadRegistryOK) IsRedirect() bool
IsRedirect returns true when this read registry o k response has a 3xx status code
func (*ReadRegistryOK) IsServerError ¶ added in v0.23.0
func (o *ReadRegistryOK) IsServerError() bool
IsServerError returns true when this read registry o k response has a 5xx status code
func (*ReadRegistryOK) IsSuccess ¶ added in v0.23.0
func (o *ReadRegistryOK) IsSuccess() bool
IsSuccess returns true when this read registry o k response has a 2xx status code
func (*ReadRegistryOK) String ¶ added in v0.23.0
func (o *ReadRegistryOK) String() string
type ReadRegistryParams ¶
type ReadRegistryParams struct { /* Registry. The name of the Registry to look up. */ Registry string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ReadRegistryParams contains all the parameters to send to the API endpoint
for the read registry operation. Typically these are written to a http.Request.
func NewReadRegistryParams ¶
func NewReadRegistryParams() *ReadRegistryParams
NewReadRegistryParams creates a new ReadRegistryParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewReadRegistryParamsWithContext ¶
func NewReadRegistryParamsWithContext(ctx context.Context) *ReadRegistryParams
NewReadRegistryParamsWithContext creates a new ReadRegistryParams object with the ability to set a context for a request.
func NewReadRegistryParamsWithHTTPClient ¶
func NewReadRegistryParamsWithHTTPClient(client *http.Client) *ReadRegistryParams
NewReadRegistryParamsWithHTTPClient creates a new ReadRegistryParams object with the ability to set a custom HTTPClient for a request.
func NewReadRegistryParamsWithTimeout ¶
func NewReadRegistryParamsWithTimeout(timeout time.Duration) *ReadRegistryParams
NewReadRegistryParamsWithTimeout creates a new ReadRegistryParams object with the ability to set a timeout on a request.
func (*ReadRegistryParams) SetContext ¶
func (o *ReadRegistryParams) SetContext(ctx context.Context)
SetContext adds the context to the read registry params
func (*ReadRegistryParams) SetDefaults ¶ added in v0.23.0
func (o *ReadRegistryParams) SetDefaults()
SetDefaults hydrates default values in the read registry params (not the query body).
All values with no default are reset to their zero value.
func (*ReadRegistryParams) SetHTTPClient ¶
func (o *ReadRegistryParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the read registry params
func (*ReadRegistryParams) SetRegistry ¶
func (o *ReadRegistryParams) SetRegistry(registry string)
SetRegistry adds the registry to the read registry params
func (*ReadRegistryParams) SetTimeout ¶
func (o *ReadRegistryParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the read registry params
func (*ReadRegistryParams) WithContext ¶
func (o *ReadRegistryParams) WithContext(ctx context.Context) *ReadRegistryParams
WithContext adds the context to the read registry params
func (*ReadRegistryParams) WithDefaults ¶ added in v0.23.0
func (o *ReadRegistryParams) WithDefaults() *ReadRegistryParams
WithDefaults hydrates default values in the read registry params (not the query body).
All values with no default are reset to their zero value.
func (*ReadRegistryParams) WithHTTPClient ¶
func (o *ReadRegistryParams) WithHTTPClient(client *http.Client) *ReadRegistryParams
WithHTTPClient adds the HTTPClient to the read registry params
func (*ReadRegistryParams) WithRegistry ¶
func (o *ReadRegistryParams) WithRegistry(registry string) *ReadRegistryParams
WithRegistry adds the registry to the read registry params
func (*ReadRegistryParams) WithTimeout ¶
func (o *ReadRegistryParams) WithTimeout(timeout time.Duration) *ReadRegistryParams
WithTimeout adds the timeout to the read registry params
func (*ReadRegistryParams) WriteToRequest ¶
func (o *ReadRegistryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ReadRegistryReader ¶
type ReadRegistryReader struct {
// contains filtered or unexported fields
}
ReadRegistryReader is a Reader for the ReadRegistry structure.
func (*ReadRegistryReader) ReadResponse ¶
func (o *ReadRegistryReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- activate_registry_parameters.go
- activate_registry_responses.go
- create_registry_parameters.go
- create_registry_responses.go
- deactivate_registry_parameters.go
- deactivate_registry_responses.go
- delete_registry_parameters.go
- delete_registry_responses.go
- list_registries_parameters.go
- list_registries_responses.go
- read_registry_parameters.go
- read_registry_responses.go
- registry_service_client.go