Documentation
¶
Index ¶
- type Client
- func (a *Client) CreateDeploymentTemplateV2(params *CreateDeploymentTemplateV2Params, ...) (*CreateDeploymentTemplateV2Created, error)
- func (a *Client) DeleteDeploymentTemplateV2(params *DeleteDeploymentTemplateV2Params, ...) (*DeleteDeploymentTemplateV2OK, error)
- func (a *Client) GetDeploymentTemplateV2(params *GetDeploymentTemplateV2Params, authInfo runtime.ClientAuthInfoWriter) (*GetDeploymentTemplateV2OK, error)
- func (a *Client) GetDeploymentTemplatesV2(params *GetDeploymentTemplatesV2Params, authInfo runtime.ClientAuthInfoWriter) (*GetDeploymentTemplatesV2OK, error)
- func (a *Client) SetDeploymentTemplateV2(params *SetDeploymentTemplateV2Params, authInfo runtime.ClientAuthInfoWriter) (*SetDeploymentTemplateV2OK, *SetDeploymentTemplateV2Created, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type CreateDeploymentTemplateV2BadRequest
- type CreateDeploymentTemplateV2Created
- type CreateDeploymentTemplateV2Params
- func NewCreateDeploymentTemplateV2Params() *CreateDeploymentTemplateV2Params
- func NewCreateDeploymentTemplateV2ParamsWithContext(ctx context.Context) *CreateDeploymentTemplateV2Params
- func NewCreateDeploymentTemplateV2ParamsWithHTTPClient(client *http.Client) *CreateDeploymentTemplateV2Params
- func NewCreateDeploymentTemplateV2ParamsWithTimeout(timeout time.Duration) *CreateDeploymentTemplateV2Params
- func (o *CreateDeploymentTemplateV2Params) SetBody(body *models.DeploymentTemplateRequestBody)
- func (o *CreateDeploymentTemplateV2Params) SetContext(ctx context.Context)
- func (o *CreateDeploymentTemplateV2Params) SetHTTPClient(client *http.Client)
- func (o *CreateDeploymentTemplateV2Params) SetRegion(region string)
- func (o *CreateDeploymentTemplateV2Params) SetTimeout(timeout time.Duration)
- func (o *CreateDeploymentTemplateV2Params) WithBody(body *models.DeploymentTemplateRequestBody) *CreateDeploymentTemplateV2Params
- func (o *CreateDeploymentTemplateV2Params) WithContext(ctx context.Context) *CreateDeploymentTemplateV2Params
- func (o *CreateDeploymentTemplateV2Params) WithHTTPClient(client *http.Client) *CreateDeploymentTemplateV2Params
- func (o *CreateDeploymentTemplateV2Params) WithRegion(region string) *CreateDeploymentTemplateV2Params
- func (o *CreateDeploymentTemplateV2Params) WithTimeout(timeout time.Duration) *CreateDeploymentTemplateV2Params
- func (o *CreateDeploymentTemplateV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateDeploymentTemplateV2Reader
- type CreateDeploymentTemplateV2RetryWith
- type CreateDeploymentTemplateV2Unauthorized
- type DeleteDeploymentTemplateV2BadRequest
- type DeleteDeploymentTemplateV2NotFound
- type DeleteDeploymentTemplateV2OK
- type DeleteDeploymentTemplateV2Params
- func NewDeleteDeploymentTemplateV2Params() *DeleteDeploymentTemplateV2Params
- func NewDeleteDeploymentTemplateV2ParamsWithContext(ctx context.Context) *DeleteDeploymentTemplateV2Params
- func NewDeleteDeploymentTemplateV2ParamsWithHTTPClient(client *http.Client) *DeleteDeploymentTemplateV2Params
- func NewDeleteDeploymentTemplateV2ParamsWithTimeout(timeout time.Duration) *DeleteDeploymentTemplateV2Params
- func (o *DeleteDeploymentTemplateV2Params) SetContext(ctx context.Context)
- func (o *DeleteDeploymentTemplateV2Params) SetHTTPClient(client *http.Client)
- func (o *DeleteDeploymentTemplateV2Params) SetRegion(region string)
- func (o *DeleteDeploymentTemplateV2Params) SetTemplateID(templateID string)
- func (o *DeleteDeploymentTemplateV2Params) SetTimeout(timeout time.Duration)
- func (o *DeleteDeploymentTemplateV2Params) WithContext(ctx context.Context) *DeleteDeploymentTemplateV2Params
- func (o *DeleteDeploymentTemplateV2Params) WithHTTPClient(client *http.Client) *DeleteDeploymentTemplateV2Params
- func (o *DeleteDeploymentTemplateV2Params) WithRegion(region string) *DeleteDeploymentTemplateV2Params
- func (o *DeleteDeploymentTemplateV2Params) WithTemplateID(templateID string) *DeleteDeploymentTemplateV2Params
- func (o *DeleteDeploymentTemplateV2Params) WithTimeout(timeout time.Duration) *DeleteDeploymentTemplateV2Params
- func (o *DeleteDeploymentTemplateV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteDeploymentTemplateV2Reader
- type DeleteDeploymentTemplateV2RetryWith
- type DeleteDeploymentTemplateV2Unauthorized
- type GetDeploymentTemplateV2BadRequest
- type GetDeploymentTemplateV2NotFound
- type GetDeploymentTemplateV2OK
- type GetDeploymentTemplateV2Params
- func NewGetDeploymentTemplateV2Params() *GetDeploymentTemplateV2Params
- func NewGetDeploymentTemplateV2ParamsWithContext(ctx context.Context) *GetDeploymentTemplateV2Params
- func NewGetDeploymentTemplateV2ParamsWithHTTPClient(client *http.Client) *GetDeploymentTemplateV2Params
- func NewGetDeploymentTemplateV2ParamsWithTimeout(timeout time.Duration) *GetDeploymentTemplateV2Params
- func (o *GetDeploymentTemplateV2Params) SetContext(ctx context.Context)
- func (o *GetDeploymentTemplateV2Params) SetHTTPClient(client *http.Client)
- func (o *GetDeploymentTemplateV2Params) SetRegion(region string)
- func (o *GetDeploymentTemplateV2Params) SetShowInstanceConfigurations(showInstanceConfigurations *bool)
- func (o *GetDeploymentTemplateV2Params) SetStackVersion(stackVersion *string)
- func (o *GetDeploymentTemplateV2Params) SetTemplateID(templateID string)
- func (o *GetDeploymentTemplateV2Params) SetTimeout(timeout time.Duration)
- func (o *GetDeploymentTemplateV2Params) WithContext(ctx context.Context) *GetDeploymentTemplateV2Params
- func (o *GetDeploymentTemplateV2Params) WithHTTPClient(client *http.Client) *GetDeploymentTemplateV2Params
- func (o *GetDeploymentTemplateV2Params) WithRegion(region string) *GetDeploymentTemplateV2Params
- func (o *GetDeploymentTemplateV2Params) WithShowInstanceConfigurations(showInstanceConfigurations *bool) *GetDeploymentTemplateV2Params
- func (o *GetDeploymentTemplateV2Params) WithStackVersion(stackVersion *string) *GetDeploymentTemplateV2Params
- func (o *GetDeploymentTemplateV2Params) WithTemplateID(templateID string) *GetDeploymentTemplateV2Params
- func (o *GetDeploymentTemplateV2Params) WithTimeout(timeout time.Duration) *GetDeploymentTemplateV2Params
- func (o *GetDeploymentTemplateV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetDeploymentTemplateV2Reader
- type GetDeploymentTemplateV2Unauthorized
- type GetDeploymentTemplatesV2BadRequest
- type GetDeploymentTemplatesV2OK
- type GetDeploymentTemplatesV2Params
- func NewGetDeploymentTemplatesV2Params() *GetDeploymentTemplatesV2Params
- func NewGetDeploymentTemplatesV2ParamsWithContext(ctx context.Context) *GetDeploymentTemplatesV2Params
- func NewGetDeploymentTemplatesV2ParamsWithHTTPClient(client *http.Client) *GetDeploymentTemplatesV2Params
- func NewGetDeploymentTemplatesV2ParamsWithTimeout(timeout time.Duration) *GetDeploymentTemplatesV2Params
- func (o *GetDeploymentTemplatesV2Params) SetContext(ctx context.Context)
- func (o *GetDeploymentTemplatesV2Params) SetHTTPClient(client *http.Client)
- func (o *GetDeploymentTemplatesV2Params) SetMetadata(metadata *string)
- func (o *GetDeploymentTemplatesV2Params) SetRegion(region string)
- func (o *GetDeploymentTemplatesV2Params) SetShowHidden(showHidden *bool)
- func (o *GetDeploymentTemplatesV2Params) SetShowInstanceConfigurations(showInstanceConfigurations *bool)
- func (o *GetDeploymentTemplatesV2Params) SetStackVersion(stackVersion *string)
- func (o *GetDeploymentTemplatesV2Params) SetTimeout(timeout time.Duration)
- func (o *GetDeploymentTemplatesV2Params) WithContext(ctx context.Context) *GetDeploymentTemplatesV2Params
- func (o *GetDeploymentTemplatesV2Params) WithHTTPClient(client *http.Client) *GetDeploymentTemplatesV2Params
- func (o *GetDeploymentTemplatesV2Params) WithMetadata(metadata *string) *GetDeploymentTemplatesV2Params
- func (o *GetDeploymentTemplatesV2Params) WithRegion(region string) *GetDeploymentTemplatesV2Params
- func (o *GetDeploymentTemplatesV2Params) WithShowHidden(showHidden *bool) *GetDeploymentTemplatesV2Params
- func (o *GetDeploymentTemplatesV2Params) WithShowInstanceConfigurations(showInstanceConfigurations *bool) *GetDeploymentTemplatesV2Params
- func (o *GetDeploymentTemplatesV2Params) WithStackVersion(stackVersion *string) *GetDeploymentTemplatesV2Params
- func (o *GetDeploymentTemplatesV2Params) WithTimeout(timeout time.Duration) *GetDeploymentTemplatesV2Params
- func (o *GetDeploymentTemplatesV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetDeploymentTemplatesV2Reader
- type GetDeploymentTemplatesV2Unauthorized
- type SetDeploymentTemplateV2BadRequest
- type SetDeploymentTemplateV2Conflict
- type SetDeploymentTemplateV2Created
- type SetDeploymentTemplateV2NotFound
- type SetDeploymentTemplateV2OK
- type SetDeploymentTemplateV2Params
- func NewSetDeploymentTemplateV2Params() *SetDeploymentTemplateV2Params
- func NewSetDeploymentTemplateV2ParamsWithContext(ctx context.Context) *SetDeploymentTemplateV2Params
- func NewSetDeploymentTemplateV2ParamsWithHTTPClient(client *http.Client) *SetDeploymentTemplateV2Params
- func NewSetDeploymentTemplateV2ParamsWithTimeout(timeout time.Duration) *SetDeploymentTemplateV2Params
- func (o *SetDeploymentTemplateV2Params) SetBody(body *models.DeploymentTemplateRequestBody)
- func (o *SetDeploymentTemplateV2Params) SetContext(ctx context.Context)
- func (o *SetDeploymentTemplateV2Params) SetCreateOnly(createOnly *bool)
- func (o *SetDeploymentTemplateV2Params) SetHTTPClient(client *http.Client)
- func (o *SetDeploymentTemplateV2Params) SetRegion(region string)
- func (o *SetDeploymentTemplateV2Params) SetTemplateID(templateID string)
- func (o *SetDeploymentTemplateV2Params) SetTimeout(timeout time.Duration)
- func (o *SetDeploymentTemplateV2Params) SetVersion(version *int64)
- func (o *SetDeploymentTemplateV2Params) WithBody(body *models.DeploymentTemplateRequestBody) *SetDeploymentTemplateV2Params
- func (o *SetDeploymentTemplateV2Params) WithContext(ctx context.Context) *SetDeploymentTemplateV2Params
- func (o *SetDeploymentTemplateV2Params) WithCreateOnly(createOnly *bool) *SetDeploymentTemplateV2Params
- func (o *SetDeploymentTemplateV2Params) WithHTTPClient(client *http.Client) *SetDeploymentTemplateV2Params
- func (o *SetDeploymentTemplateV2Params) WithRegion(region string) *SetDeploymentTemplateV2Params
- func (o *SetDeploymentTemplateV2Params) WithTemplateID(templateID string) *SetDeploymentTemplateV2Params
- func (o *SetDeploymentTemplateV2Params) WithTimeout(timeout time.Duration) *SetDeploymentTemplateV2Params
- func (o *SetDeploymentTemplateV2Params) WithVersion(version *int64) *SetDeploymentTemplateV2Params
- func (o *SetDeploymentTemplateV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SetDeploymentTemplateV2Reader
- type SetDeploymentTemplateV2RetryWith
- type SetDeploymentTemplateV2Unauthorized
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 deployment templates API
func (*Client) CreateDeploymentTemplateV2 ¶
func (a *Client) CreateDeploymentTemplateV2(params *CreateDeploymentTemplateV2Params, authInfo runtime.ClientAuthInfoWriter) (*CreateDeploymentTemplateV2Created, error)
CreateDeploymentTemplateV2 creates deployment template
Creates a deployment template.
func (*Client) DeleteDeploymentTemplateV2 ¶
func (a *Client) DeleteDeploymentTemplateV2(params *DeleteDeploymentTemplateV2Params, authInfo runtime.ClientAuthInfoWriter) (*DeleteDeploymentTemplateV2OK, error)
DeleteDeploymentTemplateV2 deletes deployment template
Deletes a deployment template by id.
func (*Client) GetDeploymentTemplateV2 ¶
func (a *Client) GetDeploymentTemplateV2(params *GetDeploymentTemplateV2Params, authInfo runtime.ClientAuthInfoWriter) (*GetDeploymentTemplateV2OK, error)
GetDeploymentTemplateV2 gets deployment template
Retrieves a deployment template by id.
func (*Client) GetDeploymentTemplatesV2 ¶
func (a *Client) GetDeploymentTemplatesV2(params *GetDeploymentTemplatesV2Params, authInfo runtime.ClientAuthInfoWriter) (*GetDeploymentTemplatesV2OK, error)
GetDeploymentTemplatesV2 gets deployment templates
Retrieves all deployment templates.
func (*Client) SetDeploymentTemplateV2 ¶
func (a *Client) SetDeploymentTemplateV2(params *SetDeploymentTemplateV2Params, authInfo runtime.ClientAuthInfoWriter) (*SetDeploymentTemplateV2OK, *SetDeploymentTemplateV2Created, error)
SetDeploymentTemplateV2 sets deployment template
Creates or updates a deployment template.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface {
CreateDeploymentTemplateV2(params *CreateDeploymentTemplateV2Params, authInfo runtime.ClientAuthInfoWriter) (*CreateDeploymentTemplateV2Created, error)
DeleteDeploymentTemplateV2(params *DeleteDeploymentTemplateV2Params, authInfo runtime.ClientAuthInfoWriter) (*DeleteDeploymentTemplateV2OK, error)
GetDeploymentTemplateV2(params *GetDeploymentTemplateV2Params, authInfo runtime.ClientAuthInfoWriter) (*GetDeploymentTemplateV2OK, error)
GetDeploymentTemplatesV2(params *GetDeploymentTemplatesV2Params, authInfo runtime.ClientAuthInfoWriter) (*GetDeploymentTemplatesV2OK, error)
SetDeploymentTemplateV2(params *SetDeploymentTemplateV2Params, authInfo runtime.ClientAuthInfoWriter) (*SetDeploymentTemplateV2OK, *SetDeploymentTemplateV2Created, 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 deployment templates API client.
type CreateDeploymentTemplateV2BadRequest ¶
type CreateDeploymentTemplateV2BadRequest struct {
/*The error codes associated with the response
*/
XCloudErrorCodes string
Payload *models.BasicFailedReply
}
CreateDeploymentTemplateV2BadRequest handles this case with default header values.
The requested region is not supported. (code: `templates.region_not_found`)
func NewCreateDeploymentTemplateV2BadRequest ¶
func NewCreateDeploymentTemplateV2BadRequest() *CreateDeploymentTemplateV2BadRequest
NewCreateDeploymentTemplateV2BadRequest creates a CreateDeploymentTemplateV2BadRequest with default headers values
func (*CreateDeploymentTemplateV2BadRequest) Error ¶
func (o *CreateDeploymentTemplateV2BadRequest) Error() string
func (*CreateDeploymentTemplateV2BadRequest) GetPayload ¶
func (o *CreateDeploymentTemplateV2BadRequest) GetPayload() *models.BasicFailedReply
type CreateDeploymentTemplateV2Created ¶
type CreateDeploymentTemplateV2Created struct {
Payload *models.IDResponse
}
CreateDeploymentTemplateV2Created handles this case with default header values.
The deployment definition was valid and the template has been created.
func NewCreateDeploymentTemplateV2Created ¶
func NewCreateDeploymentTemplateV2Created() *CreateDeploymentTemplateV2Created
NewCreateDeploymentTemplateV2Created creates a CreateDeploymentTemplateV2Created with default headers values
func (*CreateDeploymentTemplateV2Created) Error ¶
func (o *CreateDeploymentTemplateV2Created) Error() string
func (*CreateDeploymentTemplateV2Created) GetPayload ¶
func (o *CreateDeploymentTemplateV2Created) GetPayload() *models.IDResponse
type CreateDeploymentTemplateV2Params ¶
type CreateDeploymentTemplateV2Params struct {
/*Body
The deployment template definition.
*/
Body *models.DeploymentTemplateRequestBody
/*Region
Region of the deployment template
*/
Region string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
CreateDeploymentTemplateV2Params contains all the parameters to send to the API endpoint for the create deployment template v2 operation typically these are written to a http.Request
func NewCreateDeploymentTemplateV2Params ¶
func NewCreateDeploymentTemplateV2Params() *CreateDeploymentTemplateV2Params
NewCreateDeploymentTemplateV2Params creates a new CreateDeploymentTemplateV2Params object with the default values initialized.
func NewCreateDeploymentTemplateV2ParamsWithContext ¶
func NewCreateDeploymentTemplateV2ParamsWithContext(ctx context.Context) *CreateDeploymentTemplateV2Params
NewCreateDeploymentTemplateV2ParamsWithContext creates a new CreateDeploymentTemplateV2Params object with the default values initialized, and the ability to set a context for a request
func NewCreateDeploymentTemplateV2ParamsWithHTTPClient ¶
func NewCreateDeploymentTemplateV2ParamsWithHTTPClient(client *http.Client) *CreateDeploymentTemplateV2Params
NewCreateDeploymentTemplateV2ParamsWithHTTPClient creates a new CreateDeploymentTemplateV2Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCreateDeploymentTemplateV2ParamsWithTimeout ¶
func NewCreateDeploymentTemplateV2ParamsWithTimeout(timeout time.Duration) *CreateDeploymentTemplateV2Params
NewCreateDeploymentTemplateV2ParamsWithTimeout creates a new CreateDeploymentTemplateV2Params object with the default values initialized, and the ability to set a timeout on a request
func (*CreateDeploymentTemplateV2Params) SetBody ¶
func (o *CreateDeploymentTemplateV2Params) SetBody(body *models.DeploymentTemplateRequestBody)
SetBody adds the body to the create deployment template v2 params
func (*CreateDeploymentTemplateV2Params) SetContext ¶
func (o *CreateDeploymentTemplateV2Params) SetContext(ctx context.Context)
SetContext adds the context to the create deployment template v2 params
func (*CreateDeploymentTemplateV2Params) SetHTTPClient ¶
func (o *CreateDeploymentTemplateV2Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create deployment template v2 params
func (*CreateDeploymentTemplateV2Params) SetRegion ¶
func (o *CreateDeploymentTemplateV2Params) SetRegion(region string)
SetRegion adds the region to the create deployment template v2 params
func (*CreateDeploymentTemplateV2Params) SetTimeout ¶
func (o *CreateDeploymentTemplateV2Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create deployment template v2 params
func (*CreateDeploymentTemplateV2Params) WithBody ¶
func (o *CreateDeploymentTemplateV2Params) WithBody(body *models.DeploymentTemplateRequestBody) *CreateDeploymentTemplateV2Params
WithBody adds the body to the create deployment template v2 params
func (*CreateDeploymentTemplateV2Params) WithContext ¶
func (o *CreateDeploymentTemplateV2Params) WithContext(ctx context.Context) *CreateDeploymentTemplateV2Params
WithContext adds the context to the create deployment template v2 params
func (*CreateDeploymentTemplateV2Params) WithHTTPClient ¶
func (o *CreateDeploymentTemplateV2Params) WithHTTPClient(client *http.Client) *CreateDeploymentTemplateV2Params
WithHTTPClient adds the HTTPClient to the create deployment template v2 params
func (*CreateDeploymentTemplateV2Params) WithRegion ¶
func (o *CreateDeploymentTemplateV2Params) WithRegion(region string) *CreateDeploymentTemplateV2Params
WithRegion adds the region to the create deployment template v2 params
func (*CreateDeploymentTemplateV2Params) WithTimeout ¶
func (o *CreateDeploymentTemplateV2Params) WithTimeout(timeout time.Duration) *CreateDeploymentTemplateV2Params
WithTimeout adds the timeout to the create deployment template v2 params
func (*CreateDeploymentTemplateV2Params) WriteToRequest ¶
func (o *CreateDeploymentTemplateV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateDeploymentTemplateV2Reader ¶
type CreateDeploymentTemplateV2Reader struct {
// contains filtered or unexported fields
}
CreateDeploymentTemplateV2Reader is a Reader for the CreateDeploymentTemplateV2 structure.
func (*CreateDeploymentTemplateV2Reader) ReadResponse ¶
func (o *CreateDeploymentTemplateV2Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateDeploymentTemplateV2RetryWith ¶
type CreateDeploymentTemplateV2RetryWith struct {
/*The error codes associated with the response
*/
XCloudErrorCodes string
Payload *models.BasicFailedReply
}
CreateDeploymentTemplateV2RetryWith handles this case with default header values.
Elevated permissions are required. (code: `root.unauthorized.rbac.elevated_permissions_required`)
func NewCreateDeploymentTemplateV2RetryWith ¶
func NewCreateDeploymentTemplateV2RetryWith() *CreateDeploymentTemplateV2RetryWith
NewCreateDeploymentTemplateV2RetryWith creates a CreateDeploymentTemplateV2RetryWith with default headers values
func (*CreateDeploymentTemplateV2RetryWith) Error ¶
func (o *CreateDeploymentTemplateV2RetryWith) Error() string
func (*CreateDeploymentTemplateV2RetryWith) GetPayload ¶
func (o *CreateDeploymentTemplateV2RetryWith) GetPayload() *models.BasicFailedReply
type CreateDeploymentTemplateV2Unauthorized ¶
type CreateDeploymentTemplateV2Unauthorized struct {
XCloudErrorCodes string
}
CreateDeploymentTemplateV2Unauthorized handles this case with default header values.
The user is not authorized to access requested region. (code: `templates.region_not_allowed`)
func NewCreateDeploymentTemplateV2Unauthorized ¶
func NewCreateDeploymentTemplateV2Unauthorized() *CreateDeploymentTemplateV2Unauthorized
NewCreateDeploymentTemplateV2Unauthorized creates a CreateDeploymentTemplateV2Unauthorized with default headers values
func (*CreateDeploymentTemplateV2Unauthorized) Error ¶
func (o *CreateDeploymentTemplateV2Unauthorized) Error() string
func (*CreateDeploymentTemplateV2Unauthorized) GetPayload ¶
func (o *CreateDeploymentTemplateV2Unauthorized) GetPayload() *models.BasicFailedReply
type DeleteDeploymentTemplateV2BadRequest ¶
type DeleteDeploymentTemplateV2BadRequest struct {
/*The error codes associated with the response
*/
XCloudErrorCodes string
Payload *models.BasicFailedReply
}
DeleteDeploymentTemplateV2BadRequest handles this case with default header values.
The requested region is not supported. (code: `templates.region_not_found`)
func NewDeleteDeploymentTemplateV2BadRequest ¶
func NewDeleteDeploymentTemplateV2BadRequest() *DeleteDeploymentTemplateV2BadRequest
NewDeleteDeploymentTemplateV2BadRequest creates a DeleteDeploymentTemplateV2BadRequest with default headers values
func (*DeleteDeploymentTemplateV2BadRequest) Error ¶
func (o *DeleteDeploymentTemplateV2BadRequest) Error() string
func (*DeleteDeploymentTemplateV2BadRequest) GetPayload ¶
func (o *DeleteDeploymentTemplateV2BadRequest) GetPayload() *models.BasicFailedReply
type DeleteDeploymentTemplateV2NotFound ¶
type DeleteDeploymentTemplateV2NotFound struct {
/*The error codes associated with the response
*/
XCloudErrorCodes string
Payload *models.BasicFailedReply
}
DeleteDeploymentTemplateV2NotFound handles this case with default header values.
The deployment template specified by {template_id} cannot be found. (code: `templates.template_not_found`)
func NewDeleteDeploymentTemplateV2NotFound ¶
func NewDeleteDeploymentTemplateV2NotFound() *DeleteDeploymentTemplateV2NotFound
NewDeleteDeploymentTemplateV2NotFound creates a DeleteDeploymentTemplateV2NotFound with default headers values
func (*DeleteDeploymentTemplateV2NotFound) Error ¶
func (o *DeleteDeploymentTemplateV2NotFound) Error() string
func (*DeleteDeploymentTemplateV2NotFound) GetPayload ¶
func (o *DeleteDeploymentTemplateV2NotFound) GetPayload() *models.BasicFailedReply
type DeleteDeploymentTemplateV2OK ¶
type DeleteDeploymentTemplateV2OK struct {
Payload models.EmptyResponse
}
DeleteDeploymentTemplateV2OK handles this case with default header values.
The deployment template was successfully deleted.
func NewDeleteDeploymentTemplateV2OK ¶
func NewDeleteDeploymentTemplateV2OK() *DeleteDeploymentTemplateV2OK
NewDeleteDeploymentTemplateV2OK creates a DeleteDeploymentTemplateV2OK with default headers values
func (*DeleteDeploymentTemplateV2OK) Error ¶
func (o *DeleteDeploymentTemplateV2OK) Error() string
func (*DeleteDeploymentTemplateV2OK) GetPayload ¶
func (o *DeleteDeploymentTemplateV2OK) GetPayload() models.EmptyResponse
type DeleteDeploymentTemplateV2Params ¶
type DeleteDeploymentTemplateV2Params struct {
/*Region
Region of the deployment template
*/
Region string
/*TemplateID
The identifier for the deployment template.
*/
TemplateID string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
DeleteDeploymentTemplateV2Params contains all the parameters to send to the API endpoint for the delete deployment template v2 operation typically these are written to a http.Request
func NewDeleteDeploymentTemplateV2Params ¶
func NewDeleteDeploymentTemplateV2Params() *DeleteDeploymentTemplateV2Params
NewDeleteDeploymentTemplateV2Params creates a new DeleteDeploymentTemplateV2Params object with the default values initialized.
func NewDeleteDeploymentTemplateV2ParamsWithContext ¶
func NewDeleteDeploymentTemplateV2ParamsWithContext(ctx context.Context) *DeleteDeploymentTemplateV2Params
NewDeleteDeploymentTemplateV2ParamsWithContext creates a new DeleteDeploymentTemplateV2Params object with the default values initialized, and the ability to set a context for a request
func NewDeleteDeploymentTemplateV2ParamsWithHTTPClient ¶
func NewDeleteDeploymentTemplateV2ParamsWithHTTPClient(client *http.Client) *DeleteDeploymentTemplateV2Params
NewDeleteDeploymentTemplateV2ParamsWithHTTPClient creates a new DeleteDeploymentTemplateV2Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteDeploymentTemplateV2ParamsWithTimeout ¶
func NewDeleteDeploymentTemplateV2ParamsWithTimeout(timeout time.Duration) *DeleteDeploymentTemplateV2Params
NewDeleteDeploymentTemplateV2ParamsWithTimeout creates a new DeleteDeploymentTemplateV2Params object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteDeploymentTemplateV2Params) SetContext ¶
func (o *DeleteDeploymentTemplateV2Params) SetContext(ctx context.Context)
SetContext adds the context to the delete deployment template v2 params
func (*DeleteDeploymentTemplateV2Params) SetHTTPClient ¶
func (o *DeleteDeploymentTemplateV2Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete deployment template v2 params
func (*DeleteDeploymentTemplateV2Params) SetRegion ¶
func (o *DeleteDeploymentTemplateV2Params) SetRegion(region string)
SetRegion adds the region to the delete deployment template v2 params
func (*DeleteDeploymentTemplateV2Params) SetTemplateID ¶
func (o *DeleteDeploymentTemplateV2Params) SetTemplateID(templateID string)
SetTemplateID adds the templateId to the delete deployment template v2 params
func (*DeleteDeploymentTemplateV2Params) SetTimeout ¶
func (o *DeleteDeploymentTemplateV2Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete deployment template v2 params
func (*DeleteDeploymentTemplateV2Params) WithContext ¶
func (o *DeleteDeploymentTemplateV2Params) WithContext(ctx context.Context) *DeleteDeploymentTemplateV2Params
WithContext adds the context to the delete deployment template v2 params
func (*DeleteDeploymentTemplateV2Params) WithHTTPClient ¶
func (o *DeleteDeploymentTemplateV2Params) WithHTTPClient(client *http.Client) *DeleteDeploymentTemplateV2Params
WithHTTPClient adds the HTTPClient to the delete deployment template v2 params
func (*DeleteDeploymentTemplateV2Params) WithRegion ¶
func (o *DeleteDeploymentTemplateV2Params) WithRegion(region string) *DeleteDeploymentTemplateV2Params
WithRegion adds the region to the delete deployment template v2 params
func (*DeleteDeploymentTemplateV2Params) WithTemplateID ¶
func (o *DeleteDeploymentTemplateV2Params) WithTemplateID(templateID string) *DeleteDeploymentTemplateV2Params
WithTemplateID adds the templateID to the delete deployment template v2 params
func (*DeleteDeploymentTemplateV2Params) WithTimeout ¶
func (o *DeleteDeploymentTemplateV2Params) WithTimeout(timeout time.Duration) *DeleteDeploymentTemplateV2Params
WithTimeout adds the timeout to the delete deployment template v2 params
func (*DeleteDeploymentTemplateV2Params) WriteToRequest ¶
func (o *DeleteDeploymentTemplateV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteDeploymentTemplateV2Reader ¶
type DeleteDeploymentTemplateV2Reader struct {
// contains filtered or unexported fields
}
DeleteDeploymentTemplateV2Reader is a Reader for the DeleteDeploymentTemplateV2 structure.
func (*DeleteDeploymentTemplateV2Reader) ReadResponse ¶
func (o *DeleteDeploymentTemplateV2Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteDeploymentTemplateV2RetryWith ¶
type DeleteDeploymentTemplateV2RetryWith struct {
/*The error codes associated with the response
*/
XCloudErrorCodes string
Payload *models.BasicFailedReply
}
DeleteDeploymentTemplateV2RetryWith handles this case with default header values.
Elevated permissions are required. (code: `root.unauthorized.rbac.elevated_permissions_required`)
func NewDeleteDeploymentTemplateV2RetryWith ¶
func NewDeleteDeploymentTemplateV2RetryWith() *DeleteDeploymentTemplateV2RetryWith
NewDeleteDeploymentTemplateV2RetryWith creates a DeleteDeploymentTemplateV2RetryWith with default headers values
func (*DeleteDeploymentTemplateV2RetryWith) Error ¶
func (o *DeleteDeploymentTemplateV2RetryWith) Error() string
func (*DeleteDeploymentTemplateV2RetryWith) GetPayload ¶
func (o *DeleteDeploymentTemplateV2RetryWith) GetPayload() *models.BasicFailedReply
type DeleteDeploymentTemplateV2Unauthorized ¶
type DeleteDeploymentTemplateV2Unauthorized struct {
XCloudErrorCodes string
}
DeleteDeploymentTemplateV2Unauthorized handles this case with default header values.
The user is not authorized to access requested region. (code: `templates.region_not_allowed`)
func NewDeleteDeploymentTemplateV2Unauthorized ¶
func NewDeleteDeploymentTemplateV2Unauthorized() *DeleteDeploymentTemplateV2Unauthorized
NewDeleteDeploymentTemplateV2Unauthorized creates a DeleteDeploymentTemplateV2Unauthorized with default headers values
func (*DeleteDeploymentTemplateV2Unauthorized) Error ¶
func (o *DeleteDeploymentTemplateV2Unauthorized) Error() string
func (*DeleteDeploymentTemplateV2Unauthorized) GetPayload ¶
func (o *DeleteDeploymentTemplateV2Unauthorized) GetPayload() *models.BasicFailedReply
type GetDeploymentTemplateV2BadRequest ¶
type GetDeploymentTemplateV2BadRequest struct {
/*The error codes associated with the response
*/
XCloudErrorCodes string
Payload *models.BasicFailedReply
}
GetDeploymentTemplateV2BadRequest handles this case with default header values.
The requested region is not supported. (code: `templates.region_not_found`)
func NewGetDeploymentTemplateV2BadRequest ¶
func NewGetDeploymentTemplateV2BadRequest() *GetDeploymentTemplateV2BadRequest
NewGetDeploymentTemplateV2BadRequest creates a GetDeploymentTemplateV2BadRequest with default headers values
func (*GetDeploymentTemplateV2BadRequest) Error ¶
func (o *GetDeploymentTemplateV2BadRequest) Error() string
func (*GetDeploymentTemplateV2BadRequest) GetPayload ¶
func (o *GetDeploymentTemplateV2BadRequest) GetPayload() *models.BasicFailedReply
type GetDeploymentTemplateV2NotFound ¶
type GetDeploymentTemplateV2NotFound struct {
/*The error codes associated with the response
*/
XCloudErrorCodes string
Payload *models.BasicFailedReply
}
GetDeploymentTemplateV2NotFound handles this case with default header values.
The deployment template specified by {template_id} cannot be found. (code: `templates.template_not_found`)
func NewGetDeploymentTemplateV2NotFound ¶
func NewGetDeploymentTemplateV2NotFound() *GetDeploymentTemplateV2NotFound
NewGetDeploymentTemplateV2NotFound creates a GetDeploymentTemplateV2NotFound with default headers values
func (*GetDeploymentTemplateV2NotFound) Error ¶
func (o *GetDeploymentTemplateV2NotFound) Error() string
func (*GetDeploymentTemplateV2NotFound) GetPayload ¶
func (o *GetDeploymentTemplateV2NotFound) GetPayload() *models.BasicFailedReply
type GetDeploymentTemplateV2OK ¶
type GetDeploymentTemplateV2OK struct {
Payload *models.DeploymentTemplateInfoV2
}
GetDeploymentTemplateV2OK handles this case with default header values.
The deployment template was found and returned successfully.
func NewGetDeploymentTemplateV2OK ¶
func NewGetDeploymentTemplateV2OK() *GetDeploymentTemplateV2OK
NewGetDeploymentTemplateV2OK creates a GetDeploymentTemplateV2OK with default headers values
func (*GetDeploymentTemplateV2OK) Error ¶
func (o *GetDeploymentTemplateV2OK) Error() string
func (*GetDeploymentTemplateV2OK) GetPayload ¶
func (o *GetDeploymentTemplateV2OK) GetPayload() *models.DeploymentTemplateInfoV2
type GetDeploymentTemplateV2Params ¶
type GetDeploymentTemplateV2Params struct {
/*Region
Region of the deployment template
*/
Region string
/*ShowInstanceConfigurations
If true, will return details for each instance configuration referenced by the template.
*/
ShowInstanceConfigurations *bool
/*StackVersion
If present, it will cause the returned deployment template to be adapted to return only the elements allowed in that version.
*/
StackVersion *string
/*TemplateID
The identifier for the deployment template.
*/
TemplateID string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetDeploymentTemplateV2Params contains all the parameters to send to the API endpoint for the get deployment template v2 operation typically these are written to a http.Request
func NewGetDeploymentTemplateV2Params ¶
func NewGetDeploymentTemplateV2Params() *GetDeploymentTemplateV2Params
NewGetDeploymentTemplateV2Params creates a new GetDeploymentTemplateV2Params object with the default values initialized.
func NewGetDeploymentTemplateV2ParamsWithContext ¶
func NewGetDeploymentTemplateV2ParamsWithContext(ctx context.Context) *GetDeploymentTemplateV2Params
NewGetDeploymentTemplateV2ParamsWithContext creates a new GetDeploymentTemplateV2Params object with the default values initialized, and the ability to set a context for a request
func NewGetDeploymentTemplateV2ParamsWithHTTPClient ¶
func NewGetDeploymentTemplateV2ParamsWithHTTPClient(client *http.Client) *GetDeploymentTemplateV2Params
NewGetDeploymentTemplateV2ParamsWithHTTPClient creates a new GetDeploymentTemplateV2Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetDeploymentTemplateV2ParamsWithTimeout ¶
func NewGetDeploymentTemplateV2ParamsWithTimeout(timeout time.Duration) *GetDeploymentTemplateV2Params
NewGetDeploymentTemplateV2ParamsWithTimeout creates a new GetDeploymentTemplateV2Params object with the default values initialized, and the ability to set a timeout on a request
func (*GetDeploymentTemplateV2Params) SetContext ¶
func (o *GetDeploymentTemplateV2Params) SetContext(ctx context.Context)
SetContext adds the context to the get deployment template v2 params
func (*GetDeploymentTemplateV2Params) SetHTTPClient ¶
func (o *GetDeploymentTemplateV2Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get deployment template v2 params
func (*GetDeploymentTemplateV2Params) SetRegion ¶
func (o *GetDeploymentTemplateV2Params) SetRegion(region string)
SetRegion adds the region to the get deployment template v2 params
func (*GetDeploymentTemplateV2Params) SetShowInstanceConfigurations ¶
func (o *GetDeploymentTemplateV2Params) SetShowInstanceConfigurations(showInstanceConfigurations *bool)
SetShowInstanceConfigurations adds the showInstanceConfigurations to the get deployment template v2 params
func (*GetDeploymentTemplateV2Params) SetStackVersion ¶
func (o *GetDeploymentTemplateV2Params) SetStackVersion(stackVersion *string)
SetStackVersion adds the stackVersion to the get deployment template v2 params
func (*GetDeploymentTemplateV2Params) SetTemplateID ¶
func (o *GetDeploymentTemplateV2Params) SetTemplateID(templateID string)
SetTemplateID adds the templateId to the get deployment template v2 params
func (*GetDeploymentTemplateV2Params) SetTimeout ¶
func (o *GetDeploymentTemplateV2Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get deployment template v2 params
func (*GetDeploymentTemplateV2Params) WithContext ¶
func (o *GetDeploymentTemplateV2Params) WithContext(ctx context.Context) *GetDeploymentTemplateV2Params
WithContext adds the context to the get deployment template v2 params
func (*GetDeploymentTemplateV2Params) WithHTTPClient ¶
func (o *GetDeploymentTemplateV2Params) WithHTTPClient(client *http.Client) *GetDeploymentTemplateV2Params
WithHTTPClient adds the HTTPClient to the get deployment template v2 params
func (*GetDeploymentTemplateV2Params) WithRegion ¶
func (o *GetDeploymentTemplateV2Params) WithRegion(region string) *GetDeploymentTemplateV2Params
WithRegion adds the region to the get deployment template v2 params
func (*GetDeploymentTemplateV2Params) WithShowInstanceConfigurations ¶
func (o *GetDeploymentTemplateV2Params) WithShowInstanceConfigurations(showInstanceConfigurations *bool) *GetDeploymentTemplateV2Params
WithShowInstanceConfigurations adds the showInstanceConfigurations to the get deployment template v2 params
func (*GetDeploymentTemplateV2Params) WithStackVersion ¶
func (o *GetDeploymentTemplateV2Params) WithStackVersion(stackVersion *string) *GetDeploymentTemplateV2Params
WithStackVersion adds the stackVersion to the get deployment template v2 params
func (*GetDeploymentTemplateV2Params) WithTemplateID ¶
func (o *GetDeploymentTemplateV2Params) WithTemplateID(templateID string) *GetDeploymentTemplateV2Params
WithTemplateID adds the templateID to the get deployment template v2 params
func (*GetDeploymentTemplateV2Params) WithTimeout ¶
func (o *GetDeploymentTemplateV2Params) WithTimeout(timeout time.Duration) *GetDeploymentTemplateV2Params
WithTimeout adds the timeout to the get deployment template v2 params
func (*GetDeploymentTemplateV2Params) WriteToRequest ¶
func (o *GetDeploymentTemplateV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetDeploymentTemplateV2Reader ¶
type GetDeploymentTemplateV2Reader struct {
// contains filtered or unexported fields
}
GetDeploymentTemplateV2Reader is a Reader for the GetDeploymentTemplateV2 structure.
func (*GetDeploymentTemplateV2Reader) ReadResponse ¶
func (o *GetDeploymentTemplateV2Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetDeploymentTemplateV2Unauthorized ¶
type GetDeploymentTemplateV2Unauthorized struct {
XCloudErrorCodes string
}
GetDeploymentTemplateV2Unauthorized handles this case with default header values.
The user is not authorized to access requested region. (code: `templates.region_not_allowed`)
func NewGetDeploymentTemplateV2Unauthorized ¶
func NewGetDeploymentTemplateV2Unauthorized() *GetDeploymentTemplateV2Unauthorized
NewGetDeploymentTemplateV2Unauthorized creates a GetDeploymentTemplateV2Unauthorized with default headers values
func (*GetDeploymentTemplateV2Unauthorized) Error ¶
func (o *GetDeploymentTemplateV2Unauthorized) Error() string
func (*GetDeploymentTemplateV2Unauthorized) GetPayload ¶
func (o *GetDeploymentTemplateV2Unauthorized) GetPayload() *models.BasicFailedReply
type GetDeploymentTemplatesV2BadRequest ¶
type GetDeploymentTemplatesV2BadRequest struct {
/*The error codes associated with the response
*/
XCloudErrorCodes string
Payload *models.BasicFailedReply
}
GetDeploymentTemplatesV2BadRequest handles this case with default header values.
The requested region was not found. (code: `templates.region_not_found`)
func NewGetDeploymentTemplatesV2BadRequest ¶
func NewGetDeploymentTemplatesV2BadRequest() *GetDeploymentTemplatesV2BadRequest
NewGetDeploymentTemplatesV2BadRequest creates a GetDeploymentTemplatesV2BadRequest with default headers values
func (*GetDeploymentTemplatesV2BadRequest) Error ¶
func (o *GetDeploymentTemplatesV2BadRequest) Error() string
func (*GetDeploymentTemplatesV2BadRequest) GetPayload ¶
func (o *GetDeploymentTemplatesV2BadRequest) GetPayload() *models.BasicFailedReply
type GetDeploymentTemplatesV2OK ¶
type GetDeploymentTemplatesV2OK struct {
Payload []*models.DeploymentTemplateInfoV2
}
GetDeploymentTemplatesV2OK handles this case with default header values.
The deployment templates were returned successfully.
func NewGetDeploymentTemplatesV2OK ¶
func NewGetDeploymentTemplatesV2OK() *GetDeploymentTemplatesV2OK
NewGetDeploymentTemplatesV2OK creates a GetDeploymentTemplatesV2OK with default headers values
func (*GetDeploymentTemplatesV2OK) Error ¶
func (o *GetDeploymentTemplatesV2OK) Error() string
func (*GetDeploymentTemplatesV2OK) GetPayload ¶
func (o *GetDeploymentTemplatesV2OK) GetPayload() []*models.DeploymentTemplateInfoV2
type GetDeploymentTemplatesV2Params ¶
type GetDeploymentTemplatesV2Params struct {
/*Metadata
An optional key/value pair in the form of (key:value) that will act as a filter and exclude any templates that do not have a matching metadata item associated.
*/
Metadata *string
/*Region
Region of the deployment templates
*/
Region string
/*ShowHidden
If true, templates flagged as hidden will be returned.
*/
ShowHidden *bool
/*ShowInstanceConfigurations
If true, will return details for each instance configuration referenced by the template.
*/
ShowInstanceConfigurations *bool
/*StackVersion
If present, it will cause the returned deployment templates to be adapted to return only the elements allowed in that version.
*/
StackVersion *string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetDeploymentTemplatesV2Params contains all the parameters to send to the API endpoint for the get deployment templates v2 operation typically these are written to a http.Request
func NewGetDeploymentTemplatesV2Params ¶
func NewGetDeploymentTemplatesV2Params() *GetDeploymentTemplatesV2Params
NewGetDeploymentTemplatesV2Params creates a new GetDeploymentTemplatesV2Params object with the default values initialized.
func NewGetDeploymentTemplatesV2ParamsWithContext ¶
func NewGetDeploymentTemplatesV2ParamsWithContext(ctx context.Context) *GetDeploymentTemplatesV2Params
NewGetDeploymentTemplatesV2ParamsWithContext creates a new GetDeploymentTemplatesV2Params object with the default values initialized, and the ability to set a context for a request
func NewGetDeploymentTemplatesV2ParamsWithHTTPClient ¶
func NewGetDeploymentTemplatesV2ParamsWithHTTPClient(client *http.Client) *GetDeploymentTemplatesV2Params
NewGetDeploymentTemplatesV2ParamsWithHTTPClient creates a new GetDeploymentTemplatesV2Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetDeploymentTemplatesV2ParamsWithTimeout ¶
func NewGetDeploymentTemplatesV2ParamsWithTimeout(timeout time.Duration) *GetDeploymentTemplatesV2Params
NewGetDeploymentTemplatesV2ParamsWithTimeout creates a new GetDeploymentTemplatesV2Params object with the default values initialized, and the ability to set a timeout on a request
func (*GetDeploymentTemplatesV2Params) SetContext ¶
func (o *GetDeploymentTemplatesV2Params) SetContext(ctx context.Context)
SetContext adds the context to the get deployment templates v2 params
func (*GetDeploymentTemplatesV2Params) SetHTTPClient ¶
func (o *GetDeploymentTemplatesV2Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get deployment templates v2 params
func (*GetDeploymentTemplatesV2Params) SetMetadata ¶
func (o *GetDeploymentTemplatesV2Params) SetMetadata(metadata *string)
SetMetadata adds the metadata to the get deployment templates v2 params
func (*GetDeploymentTemplatesV2Params) SetRegion ¶
func (o *GetDeploymentTemplatesV2Params) SetRegion(region string)
SetRegion adds the region to the get deployment templates v2 params
func (*GetDeploymentTemplatesV2Params) SetShowHidden ¶
func (o *GetDeploymentTemplatesV2Params) SetShowHidden(showHidden *bool)
SetShowHidden adds the showHidden to the get deployment templates v2 params
func (*GetDeploymentTemplatesV2Params) SetShowInstanceConfigurations ¶
func (o *GetDeploymentTemplatesV2Params) SetShowInstanceConfigurations(showInstanceConfigurations *bool)
SetShowInstanceConfigurations adds the showInstanceConfigurations to the get deployment templates v2 params
func (*GetDeploymentTemplatesV2Params) SetStackVersion ¶
func (o *GetDeploymentTemplatesV2Params) SetStackVersion(stackVersion *string)
SetStackVersion adds the stackVersion to the get deployment templates v2 params
func (*GetDeploymentTemplatesV2Params) SetTimeout ¶
func (o *GetDeploymentTemplatesV2Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get deployment templates v2 params
func (*GetDeploymentTemplatesV2Params) WithContext ¶
func (o *GetDeploymentTemplatesV2Params) WithContext(ctx context.Context) *GetDeploymentTemplatesV2Params
WithContext adds the context to the get deployment templates v2 params
func (*GetDeploymentTemplatesV2Params) WithHTTPClient ¶
func (o *GetDeploymentTemplatesV2Params) WithHTTPClient(client *http.Client) *GetDeploymentTemplatesV2Params
WithHTTPClient adds the HTTPClient to the get deployment templates v2 params
func (*GetDeploymentTemplatesV2Params) WithMetadata ¶
func (o *GetDeploymentTemplatesV2Params) WithMetadata(metadata *string) *GetDeploymentTemplatesV2Params
WithMetadata adds the metadata to the get deployment templates v2 params
func (*GetDeploymentTemplatesV2Params) WithRegion ¶
func (o *GetDeploymentTemplatesV2Params) WithRegion(region string) *GetDeploymentTemplatesV2Params
WithRegion adds the region to the get deployment templates v2 params
func (*GetDeploymentTemplatesV2Params) WithShowHidden ¶
func (o *GetDeploymentTemplatesV2Params) WithShowHidden(showHidden *bool) *GetDeploymentTemplatesV2Params
WithShowHidden adds the showHidden to the get deployment templates v2 params
func (*GetDeploymentTemplatesV2Params) WithShowInstanceConfigurations ¶
func (o *GetDeploymentTemplatesV2Params) WithShowInstanceConfigurations(showInstanceConfigurations *bool) *GetDeploymentTemplatesV2Params
WithShowInstanceConfigurations adds the showInstanceConfigurations to the get deployment templates v2 params
func (*GetDeploymentTemplatesV2Params) WithStackVersion ¶
func (o *GetDeploymentTemplatesV2Params) WithStackVersion(stackVersion *string) *GetDeploymentTemplatesV2Params
WithStackVersion adds the stackVersion to the get deployment templates v2 params
func (*GetDeploymentTemplatesV2Params) WithTimeout ¶
func (o *GetDeploymentTemplatesV2Params) WithTimeout(timeout time.Duration) *GetDeploymentTemplatesV2Params
WithTimeout adds the timeout to the get deployment templates v2 params
func (*GetDeploymentTemplatesV2Params) WriteToRequest ¶
func (o *GetDeploymentTemplatesV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetDeploymentTemplatesV2Reader ¶
type GetDeploymentTemplatesV2Reader struct {
// contains filtered or unexported fields
}
GetDeploymentTemplatesV2Reader is a Reader for the GetDeploymentTemplatesV2 structure.
func (*GetDeploymentTemplatesV2Reader) ReadResponse ¶
func (o *GetDeploymentTemplatesV2Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetDeploymentTemplatesV2Unauthorized ¶
type GetDeploymentTemplatesV2Unauthorized struct {
XCloudErrorCodes string
}
GetDeploymentTemplatesV2Unauthorized handles this case with default header values.
The user is not authorized to access requested region. (code: `templates.region_not_allowed`)
func NewGetDeploymentTemplatesV2Unauthorized ¶
func NewGetDeploymentTemplatesV2Unauthorized() *GetDeploymentTemplatesV2Unauthorized
NewGetDeploymentTemplatesV2Unauthorized creates a GetDeploymentTemplatesV2Unauthorized with default headers values
func (*GetDeploymentTemplatesV2Unauthorized) Error ¶
func (o *GetDeploymentTemplatesV2Unauthorized) Error() string
func (*GetDeploymentTemplatesV2Unauthorized) GetPayload ¶
func (o *GetDeploymentTemplatesV2Unauthorized) GetPayload() *models.BasicFailedReply
type SetDeploymentTemplateV2BadRequest ¶
type SetDeploymentTemplateV2BadRequest struct {
/*The error codes associated with the response
*/
XCloudErrorCodes string
Payload *models.BasicFailedReply
}
SetDeploymentTemplateV2BadRequest handles this case with default header values.
The requested region is not supported. (code: `templates.region_not_found`)
func NewSetDeploymentTemplateV2BadRequest ¶
func NewSetDeploymentTemplateV2BadRequest() *SetDeploymentTemplateV2BadRequest
NewSetDeploymentTemplateV2BadRequest creates a SetDeploymentTemplateV2BadRequest with default headers values
func (*SetDeploymentTemplateV2BadRequest) Error ¶
func (o *SetDeploymentTemplateV2BadRequest) Error() string
func (*SetDeploymentTemplateV2BadRequest) GetPayload ¶
func (o *SetDeploymentTemplateV2BadRequest) GetPayload() *models.BasicFailedReply
type SetDeploymentTemplateV2Conflict ¶
type SetDeploymentTemplateV2Conflict struct {
/*The error codes associated with the response
*/
XCloudErrorCodes string
Payload *models.BasicFailedReply
}
SetDeploymentTemplateV2Conflict handles this case with default header values.
The version supplied in the request conflicted with the version found on the server. (code: `templates.version_conflict`)
func NewSetDeploymentTemplateV2Conflict ¶
func NewSetDeploymentTemplateV2Conflict() *SetDeploymentTemplateV2Conflict
NewSetDeploymentTemplateV2Conflict creates a SetDeploymentTemplateV2Conflict with default headers values
func (*SetDeploymentTemplateV2Conflict) Error ¶
func (o *SetDeploymentTemplateV2Conflict) Error() string
func (*SetDeploymentTemplateV2Conflict) GetPayload ¶
func (o *SetDeploymentTemplateV2Conflict) GetPayload() *models.BasicFailedReply
type SetDeploymentTemplateV2Created ¶
type SetDeploymentTemplateV2Created struct {
Payload *models.IDResponse
}
SetDeploymentTemplateV2Created handles this case with default header values.
The deployment definition was valid and the template was created.
func NewSetDeploymentTemplateV2Created ¶
func NewSetDeploymentTemplateV2Created() *SetDeploymentTemplateV2Created
NewSetDeploymentTemplateV2Created creates a SetDeploymentTemplateV2Created with default headers values
func (*SetDeploymentTemplateV2Created) Error ¶
func (o *SetDeploymentTemplateV2Created) Error() string
func (*SetDeploymentTemplateV2Created) GetPayload ¶
func (o *SetDeploymentTemplateV2Created) GetPayload() *models.IDResponse
type SetDeploymentTemplateV2NotFound ¶
type SetDeploymentTemplateV2NotFound struct {
/*The error codes associated with the response
*/
XCloudErrorCodes string
Payload *models.BasicFailedReply
}
SetDeploymentTemplateV2NotFound handles this case with default header values.
The deployment template specified by {template_id} cannot be found. (code: `templates.template_not_found`)
func NewSetDeploymentTemplateV2NotFound ¶
func NewSetDeploymentTemplateV2NotFound() *SetDeploymentTemplateV2NotFound
NewSetDeploymentTemplateV2NotFound creates a SetDeploymentTemplateV2NotFound with default headers values
func (*SetDeploymentTemplateV2NotFound) Error ¶
func (o *SetDeploymentTemplateV2NotFound) Error() string
func (*SetDeploymentTemplateV2NotFound) GetPayload ¶
func (o *SetDeploymentTemplateV2NotFound) GetPayload() *models.BasicFailedReply
type SetDeploymentTemplateV2OK ¶
type SetDeploymentTemplateV2OK struct {
Payload *models.IDResponse
}
SetDeploymentTemplateV2OK handles this case with default header values.
The deployment definition was valid and the template has been updated.
func NewSetDeploymentTemplateV2OK ¶
func NewSetDeploymentTemplateV2OK() *SetDeploymentTemplateV2OK
NewSetDeploymentTemplateV2OK creates a SetDeploymentTemplateV2OK with default headers values
func (*SetDeploymentTemplateV2OK) Error ¶
func (o *SetDeploymentTemplateV2OK) Error() string
func (*SetDeploymentTemplateV2OK) GetPayload ¶
func (o *SetDeploymentTemplateV2OK) GetPayload() *models.IDResponse
type SetDeploymentTemplateV2Params ¶
type SetDeploymentTemplateV2Params struct {
/*Body
The deployment template definition.
*/
Body *models.DeploymentTemplateRequestBody
/*CreateOnly
If true, will fail if the deployment template already exists at the given id
*/
CreateOnly *bool
/*Region
Region of the deployment template
*/
Region string
/*TemplateID
The identifier for the deployment template.
*/
TemplateID string
/*Version
If specified, checks for conflicts against the version of the template (returned in 'x-cloud-resource-version' of the GET request)
*/
Version *int64
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
SetDeploymentTemplateV2Params contains all the parameters to send to the API endpoint for the set deployment template v2 operation typically these are written to a http.Request
func NewSetDeploymentTemplateV2Params ¶
func NewSetDeploymentTemplateV2Params() *SetDeploymentTemplateV2Params
NewSetDeploymentTemplateV2Params creates a new SetDeploymentTemplateV2Params object with the default values initialized.
func NewSetDeploymentTemplateV2ParamsWithContext ¶
func NewSetDeploymentTemplateV2ParamsWithContext(ctx context.Context) *SetDeploymentTemplateV2Params
NewSetDeploymentTemplateV2ParamsWithContext creates a new SetDeploymentTemplateV2Params object with the default values initialized, and the ability to set a context for a request
func NewSetDeploymentTemplateV2ParamsWithHTTPClient ¶
func NewSetDeploymentTemplateV2ParamsWithHTTPClient(client *http.Client) *SetDeploymentTemplateV2Params
NewSetDeploymentTemplateV2ParamsWithHTTPClient creates a new SetDeploymentTemplateV2Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewSetDeploymentTemplateV2ParamsWithTimeout ¶
func NewSetDeploymentTemplateV2ParamsWithTimeout(timeout time.Duration) *SetDeploymentTemplateV2Params
NewSetDeploymentTemplateV2ParamsWithTimeout creates a new SetDeploymentTemplateV2Params object with the default values initialized, and the ability to set a timeout on a request
func (*SetDeploymentTemplateV2Params) SetBody ¶
func (o *SetDeploymentTemplateV2Params) SetBody(body *models.DeploymentTemplateRequestBody)
SetBody adds the body to the set deployment template v2 params
func (*SetDeploymentTemplateV2Params) SetContext ¶
func (o *SetDeploymentTemplateV2Params) SetContext(ctx context.Context)
SetContext adds the context to the set deployment template v2 params
func (*SetDeploymentTemplateV2Params) SetCreateOnly ¶
func (o *SetDeploymentTemplateV2Params) SetCreateOnly(createOnly *bool)
SetCreateOnly adds the createOnly to the set deployment template v2 params
func (*SetDeploymentTemplateV2Params) SetHTTPClient ¶
func (o *SetDeploymentTemplateV2Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the set deployment template v2 params
func (*SetDeploymentTemplateV2Params) SetRegion ¶
func (o *SetDeploymentTemplateV2Params) SetRegion(region string)
SetRegion adds the region to the set deployment template v2 params
func (*SetDeploymentTemplateV2Params) SetTemplateID ¶
func (o *SetDeploymentTemplateV2Params) SetTemplateID(templateID string)
SetTemplateID adds the templateId to the set deployment template v2 params
func (*SetDeploymentTemplateV2Params) SetTimeout ¶
func (o *SetDeploymentTemplateV2Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the set deployment template v2 params
func (*SetDeploymentTemplateV2Params) SetVersion ¶
func (o *SetDeploymentTemplateV2Params) SetVersion(version *int64)
SetVersion adds the version to the set deployment template v2 params
func (*SetDeploymentTemplateV2Params) WithBody ¶
func (o *SetDeploymentTemplateV2Params) WithBody(body *models.DeploymentTemplateRequestBody) *SetDeploymentTemplateV2Params
WithBody adds the body to the set deployment template v2 params
func (*SetDeploymentTemplateV2Params) WithContext ¶
func (o *SetDeploymentTemplateV2Params) WithContext(ctx context.Context) *SetDeploymentTemplateV2Params
WithContext adds the context to the set deployment template v2 params
func (*SetDeploymentTemplateV2Params) WithCreateOnly ¶
func (o *SetDeploymentTemplateV2Params) WithCreateOnly(createOnly *bool) *SetDeploymentTemplateV2Params
WithCreateOnly adds the createOnly to the set deployment template v2 params
func (*SetDeploymentTemplateV2Params) WithHTTPClient ¶
func (o *SetDeploymentTemplateV2Params) WithHTTPClient(client *http.Client) *SetDeploymentTemplateV2Params
WithHTTPClient adds the HTTPClient to the set deployment template v2 params
func (*SetDeploymentTemplateV2Params) WithRegion ¶
func (o *SetDeploymentTemplateV2Params) WithRegion(region string) *SetDeploymentTemplateV2Params
WithRegion adds the region to the set deployment template v2 params
func (*SetDeploymentTemplateV2Params) WithTemplateID ¶
func (o *SetDeploymentTemplateV2Params) WithTemplateID(templateID string) *SetDeploymentTemplateV2Params
WithTemplateID adds the templateID to the set deployment template v2 params
func (*SetDeploymentTemplateV2Params) WithTimeout ¶
func (o *SetDeploymentTemplateV2Params) WithTimeout(timeout time.Duration) *SetDeploymentTemplateV2Params
WithTimeout adds the timeout to the set deployment template v2 params
func (*SetDeploymentTemplateV2Params) WithVersion ¶
func (o *SetDeploymentTemplateV2Params) WithVersion(version *int64) *SetDeploymentTemplateV2Params
WithVersion adds the version to the set deployment template v2 params
func (*SetDeploymentTemplateV2Params) WriteToRequest ¶
func (o *SetDeploymentTemplateV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SetDeploymentTemplateV2Reader ¶
type SetDeploymentTemplateV2Reader struct {
// contains filtered or unexported fields
}
SetDeploymentTemplateV2Reader is a Reader for the SetDeploymentTemplateV2 structure.
func (*SetDeploymentTemplateV2Reader) ReadResponse ¶
func (o *SetDeploymentTemplateV2Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SetDeploymentTemplateV2RetryWith ¶
type SetDeploymentTemplateV2RetryWith struct {
/*The error codes associated with the response
*/
XCloudErrorCodes string
Payload *models.BasicFailedReply
}
SetDeploymentTemplateV2RetryWith handles this case with default header values.
Elevated permissions are required. (code: `root.unauthorized.rbac.elevated_permissions_required`)
func NewSetDeploymentTemplateV2RetryWith ¶
func NewSetDeploymentTemplateV2RetryWith() *SetDeploymentTemplateV2RetryWith
NewSetDeploymentTemplateV2RetryWith creates a SetDeploymentTemplateV2RetryWith with default headers values
func (*SetDeploymentTemplateV2RetryWith) Error ¶
func (o *SetDeploymentTemplateV2RetryWith) Error() string
func (*SetDeploymentTemplateV2RetryWith) GetPayload ¶
func (o *SetDeploymentTemplateV2RetryWith) GetPayload() *models.BasicFailedReply
type SetDeploymentTemplateV2Unauthorized ¶
type SetDeploymentTemplateV2Unauthorized struct {
XCloudErrorCodes string
}
SetDeploymentTemplateV2Unauthorized handles this case with default header values.
The user is not authorized to access requested region. (code: `templates.region_not_allowed`)
func NewSetDeploymentTemplateV2Unauthorized ¶
func NewSetDeploymentTemplateV2Unauthorized() *SetDeploymentTemplateV2Unauthorized
NewSetDeploymentTemplateV2Unauthorized creates a SetDeploymentTemplateV2Unauthorized with default headers values
func (*SetDeploymentTemplateV2Unauthorized) Error ¶
func (o *SetDeploymentTemplateV2Unauthorized) Error() string
func (*SetDeploymentTemplateV2Unauthorized) GetPayload ¶
func (o *SetDeploymentTemplateV2Unauthorized) GetPayload() *models.BasicFailedReply
Source Files
¶
- create_deployment_template_v2_parameters.go
- create_deployment_template_v2_responses.go
- delete_deployment_template_v2_parameters.go
- delete_deployment_template_v2_responses.go
- deployment_templates_client.go
- get_deployment_template_v2_parameters.go
- get_deployment_template_v2_responses.go
- get_deployment_templates_v2_parameters.go
- get_deployment_templates_v2_responses.go
- set_deployment_template_v2_parameters.go
- set_deployment_template_v2_responses.go