Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateDeploymentTemplate(params *CreateDeploymentTemplateParams, authInfo runtime.ClientAuthInfoWriter) (*CreateDeploymentTemplateCreated, error)
- func (a *Client) DeleteDeploymentTemplate(params *DeleteDeploymentTemplateParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteDeploymentTemplateOK, error)
- func (a *Client) GetDeploymentTemplate(params *GetDeploymentTemplateParams, authInfo runtime.ClientAuthInfoWriter) (*GetDeploymentTemplateOK, error)
- func (a *Client) GetDeploymentTemplates(params *GetDeploymentTemplatesParams, authInfo runtime.ClientAuthInfoWriter) (*GetDeploymentTemplatesOK, error)
- func (a *Client) SetDeploymentTemplate(params *SetDeploymentTemplateParams, authInfo runtime.ClientAuthInfoWriter) (*SetDeploymentTemplateOK, *SetDeploymentTemplateCreated, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type CreateDeploymentTemplateBadRequest
- type CreateDeploymentTemplateCreated
- type CreateDeploymentTemplateParams
- func NewCreateDeploymentTemplateParams() *CreateDeploymentTemplateParams
- func NewCreateDeploymentTemplateParamsWithContext(ctx context.Context) *CreateDeploymentTemplateParams
- func NewCreateDeploymentTemplateParamsWithHTTPClient(client *http.Client) *CreateDeploymentTemplateParams
- func NewCreateDeploymentTemplateParamsWithTimeout(timeout time.Duration) *CreateDeploymentTemplateParams
- func (o *CreateDeploymentTemplateParams) SetBody(body *models.DeploymentTemplateInfo)
- func (o *CreateDeploymentTemplateParams) SetContext(ctx context.Context)
- func (o *CreateDeploymentTemplateParams) SetHTTPClient(client *http.Client)
- func (o *CreateDeploymentTemplateParams) SetTimeout(timeout time.Duration)
- func (o *CreateDeploymentTemplateParams) WithBody(body *models.DeploymentTemplateInfo) *CreateDeploymentTemplateParams
- func (o *CreateDeploymentTemplateParams) WithContext(ctx context.Context) *CreateDeploymentTemplateParams
- func (o *CreateDeploymentTemplateParams) WithHTTPClient(client *http.Client) *CreateDeploymentTemplateParams
- func (o *CreateDeploymentTemplateParams) WithTimeout(timeout time.Duration) *CreateDeploymentTemplateParams
- func (o *CreateDeploymentTemplateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateDeploymentTemplateReader
- type CreateDeploymentTemplateRetryWith
- type DeleteDeploymentTemplateNotFound
- type DeleteDeploymentTemplateOK
- type DeleteDeploymentTemplateParams
- func NewDeleteDeploymentTemplateParams() *DeleteDeploymentTemplateParams
- func NewDeleteDeploymentTemplateParamsWithContext(ctx context.Context) *DeleteDeploymentTemplateParams
- func NewDeleteDeploymentTemplateParamsWithHTTPClient(client *http.Client) *DeleteDeploymentTemplateParams
- func NewDeleteDeploymentTemplateParamsWithTimeout(timeout time.Duration) *DeleteDeploymentTemplateParams
- func (o *DeleteDeploymentTemplateParams) SetContext(ctx context.Context)
- func (o *DeleteDeploymentTemplateParams) SetHTTPClient(client *http.Client)
- func (o *DeleteDeploymentTemplateParams) SetTemplateID(templateID string)
- func (o *DeleteDeploymentTemplateParams) SetTimeout(timeout time.Duration)
- func (o *DeleteDeploymentTemplateParams) WithContext(ctx context.Context) *DeleteDeploymentTemplateParams
- func (o *DeleteDeploymentTemplateParams) WithHTTPClient(client *http.Client) *DeleteDeploymentTemplateParams
- func (o *DeleteDeploymentTemplateParams) WithTemplateID(templateID string) *DeleteDeploymentTemplateParams
- func (o *DeleteDeploymentTemplateParams) WithTimeout(timeout time.Duration) *DeleteDeploymentTemplateParams
- func (o *DeleteDeploymentTemplateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteDeploymentTemplateReader
- type DeleteDeploymentTemplateRetryWith
- type GetDeploymentTemplateNotFound
- type GetDeploymentTemplateOK
- type GetDeploymentTemplateParams
- func NewGetDeploymentTemplateParams() *GetDeploymentTemplateParams
- func NewGetDeploymentTemplateParamsWithContext(ctx context.Context) *GetDeploymentTemplateParams
- func NewGetDeploymentTemplateParamsWithHTTPClient(client *http.Client) *GetDeploymentTemplateParams
- func NewGetDeploymentTemplateParamsWithTimeout(timeout time.Duration) *GetDeploymentTemplateParams
- func (o *GetDeploymentTemplateParams) SetContext(ctx context.Context)
- func (o *GetDeploymentTemplateParams) SetHTTPClient(client *http.Client)
- func (o *GetDeploymentTemplateParams) SetShowInstanceConfigurations(showInstanceConfigurations *bool)
- func (o *GetDeploymentTemplateParams) SetStackVersion(stackVersion *string)
- func (o *GetDeploymentTemplateParams) SetTemplateID(templateID string)
- func (o *GetDeploymentTemplateParams) SetTimeout(timeout time.Duration)
- func (o *GetDeploymentTemplateParams) WithContext(ctx context.Context) *GetDeploymentTemplateParams
- func (o *GetDeploymentTemplateParams) WithHTTPClient(client *http.Client) *GetDeploymentTemplateParams
- func (o *GetDeploymentTemplateParams) WithShowInstanceConfigurations(showInstanceConfigurations *bool) *GetDeploymentTemplateParams
- func (o *GetDeploymentTemplateParams) WithStackVersion(stackVersion *string) *GetDeploymentTemplateParams
- func (o *GetDeploymentTemplateParams) WithTemplateID(templateID string) *GetDeploymentTemplateParams
- func (o *GetDeploymentTemplateParams) WithTimeout(timeout time.Duration) *GetDeploymentTemplateParams
- func (o *GetDeploymentTemplateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetDeploymentTemplateReader
- type GetDeploymentTemplatesOK
- type GetDeploymentTemplatesParams
- func NewGetDeploymentTemplatesParams() *GetDeploymentTemplatesParams
- func NewGetDeploymentTemplatesParamsWithContext(ctx context.Context) *GetDeploymentTemplatesParams
- func NewGetDeploymentTemplatesParamsWithHTTPClient(client *http.Client) *GetDeploymentTemplatesParams
- func NewGetDeploymentTemplatesParamsWithTimeout(timeout time.Duration) *GetDeploymentTemplatesParams
- func (o *GetDeploymentTemplatesParams) SetContext(ctx context.Context)
- func (o *GetDeploymentTemplatesParams) SetHTTPClient(client *http.Client)
- func (o *GetDeploymentTemplatesParams) SetMetadata(metadata *string)
- func (o *GetDeploymentTemplatesParams) SetShowHidden(showHidden *bool)
- func (o *GetDeploymentTemplatesParams) SetShowInstanceConfigurations(showInstanceConfigurations *bool)
- func (o *GetDeploymentTemplatesParams) SetStackVersion(stackVersion *string)
- func (o *GetDeploymentTemplatesParams) SetTimeout(timeout time.Duration)
- func (o *GetDeploymentTemplatesParams) WithContext(ctx context.Context) *GetDeploymentTemplatesParams
- func (o *GetDeploymentTemplatesParams) WithHTTPClient(client *http.Client) *GetDeploymentTemplatesParams
- func (o *GetDeploymentTemplatesParams) WithMetadata(metadata *string) *GetDeploymentTemplatesParams
- func (o *GetDeploymentTemplatesParams) WithShowHidden(showHidden *bool) *GetDeploymentTemplatesParams
- func (o *GetDeploymentTemplatesParams) WithShowInstanceConfigurations(showInstanceConfigurations *bool) *GetDeploymentTemplatesParams
- func (o *GetDeploymentTemplatesParams) WithStackVersion(stackVersion *string) *GetDeploymentTemplatesParams
- func (o *GetDeploymentTemplatesParams) WithTimeout(timeout time.Duration) *GetDeploymentTemplatesParams
- func (o *GetDeploymentTemplatesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetDeploymentTemplatesReader
- type SetDeploymentTemplateBadRequest
- type SetDeploymentTemplateConflict
- type SetDeploymentTemplateCreated
- type SetDeploymentTemplateNotFound
- type SetDeploymentTemplateOK
- type SetDeploymentTemplateParams
- func NewSetDeploymentTemplateParams() *SetDeploymentTemplateParams
- func NewSetDeploymentTemplateParamsWithContext(ctx context.Context) *SetDeploymentTemplateParams
- func NewSetDeploymentTemplateParamsWithHTTPClient(client *http.Client) *SetDeploymentTemplateParams
- func NewSetDeploymentTemplateParamsWithTimeout(timeout time.Duration) *SetDeploymentTemplateParams
- func (o *SetDeploymentTemplateParams) SetBody(body *models.DeploymentTemplateInfo)
- func (o *SetDeploymentTemplateParams) SetContext(ctx context.Context)
- func (o *SetDeploymentTemplateParams) SetCreateOnly(createOnly *bool)
- func (o *SetDeploymentTemplateParams) SetHTTPClient(client *http.Client)
- func (o *SetDeploymentTemplateParams) SetTemplateID(templateID string)
- func (o *SetDeploymentTemplateParams) SetTimeout(timeout time.Duration)
- func (o *SetDeploymentTemplateParams) SetVersion(version *int64)
- func (o *SetDeploymentTemplateParams) WithBody(body *models.DeploymentTemplateInfo) *SetDeploymentTemplateParams
- func (o *SetDeploymentTemplateParams) WithContext(ctx context.Context) *SetDeploymentTemplateParams
- func (o *SetDeploymentTemplateParams) WithCreateOnly(createOnly *bool) *SetDeploymentTemplateParams
- func (o *SetDeploymentTemplateParams) WithHTTPClient(client *http.Client) *SetDeploymentTemplateParams
- func (o *SetDeploymentTemplateParams) WithTemplateID(templateID string) *SetDeploymentTemplateParams
- func (o *SetDeploymentTemplateParams) WithTimeout(timeout time.Duration) *SetDeploymentTemplateParams
- func (o *SetDeploymentTemplateParams) WithVersion(version *int64) *SetDeploymentTemplateParams
- func (o *SetDeploymentTemplateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SetDeploymentTemplateReader
- type SetDeploymentTemplateRetryWith
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 platform configuration templates API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new platform configuration templates API client.
func (*Client) CreateDeploymentTemplate ¶
func (a *Client) CreateDeploymentTemplate(params *CreateDeploymentTemplateParams, authInfo runtime.ClientAuthInfoWriter) (*CreateDeploymentTemplateCreated, error)
CreateDeploymentTemplate creates deployment template
Creates a deployment template.
func (*Client) DeleteDeploymentTemplate ¶
func (a *Client) DeleteDeploymentTemplate(params *DeleteDeploymentTemplateParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteDeploymentTemplateOK, error)
DeleteDeploymentTemplate deletes deployment template
Deletes a deployment template by id.
func (*Client) GetDeploymentTemplate ¶
func (a *Client) GetDeploymentTemplate(params *GetDeploymentTemplateParams, authInfo runtime.ClientAuthInfoWriter) (*GetDeploymentTemplateOK, error)
GetDeploymentTemplate gets deployment template
Retrieves a deployment template by id.
func (*Client) GetDeploymentTemplates ¶
func (a *Client) GetDeploymentTemplates(params *GetDeploymentTemplatesParams, authInfo runtime.ClientAuthInfoWriter) (*GetDeploymentTemplatesOK, error)
GetDeploymentTemplates gets deployment templates
Retrieves all deployment templates.
func (*Client) SetDeploymentTemplate ¶
func (a *Client) SetDeploymentTemplate(params *SetDeploymentTemplateParams, authInfo runtime.ClientAuthInfoWriter) (*SetDeploymentTemplateOK, *SetDeploymentTemplateCreated, error)
SetDeploymentTemplate 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 CreateDeploymentTemplateBadRequest ¶
type CreateDeploymentTemplateBadRequest struct { /*The error codes associated with the response */ XCloudErrorCodes string Payload *models.BasicFailedReply }
CreateDeploymentTemplateBadRequest handles this case with default header values.
The template definition contained errors. (code: `templates.invalid_template`)
func NewCreateDeploymentTemplateBadRequest ¶
func NewCreateDeploymentTemplateBadRequest() *CreateDeploymentTemplateBadRequest
NewCreateDeploymentTemplateBadRequest creates a CreateDeploymentTemplateBadRequest with default headers values
func (*CreateDeploymentTemplateBadRequest) Error ¶
func (o *CreateDeploymentTemplateBadRequest) Error() string
type CreateDeploymentTemplateCreated ¶
type CreateDeploymentTemplateCreated struct {
Payload *models.IDResponse
}
CreateDeploymentTemplateCreated handles this case with default header values.
The deployment definition was valid and the template has been created.
func NewCreateDeploymentTemplateCreated ¶
func NewCreateDeploymentTemplateCreated() *CreateDeploymentTemplateCreated
NewCreateDeploymentTemplateCreated creates a CreateDeploymentTemplateCreated with default headers values
func (*CreateDeploymentTemplateCreated) Error ¶
func (o *CreateDeploymentTemplateCreated) Error() string
type CreateDeploymentTemplateParams ¶
type CreateDeploymentTemplateParams struct { /*Body The deployment template definition. */ Body *models.DeploymentTemplateInfo Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateDeploymentTemplateParams contains all the parameters to send to the API endpoint for the create deployment template operation typically these are written to a http.Request
func NewCreateDeploymentTemplateParams ¶
func NewCreateDeploymentTemplateParams() *CreateDeploymentTemplateParams
NewCreateDeploymentTemplateParams creates a new CreateDeploymentTemplateParams object with the default values initialized.
func NewCreateDeploymentTemplateParamsWithContext ¶
func NewCreateDeploymentTemplateParamsWithContext(ctx context.Context) *CreateDeploymentTemplateParams
NewCreateDeploymentTemplateParamsWithContext creates a new CreateDeploymentTemplateParams object with the default values initialized, and the ability to set a context for a request
func NewCreateDeploymentTemplateParamsWithHTTPClient ¶
func NewCreateDeploymentTemplateParamsWithHTTPClient(client *http.Client) *CreateDeploymentTemplateParams
NewCreateDeploymentTemplateParamsWithHTTPClient creates a new CreateDeploymentTemplateParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCreateDeploymentTemplateParamsWithTimeout ¶
func NewCreateDeploymentTemplateParamsWithTimeout(timeout time.Duration) *CreateDeploymentTemplateParams
NewCreateDeploymentTemplateParamsWithTimeout creates a new CreateDeploymentTemplateParams object with the default values initialized, and the ability to set a timeout on a request
func (*CreateDeploymentTemplateParams) SetBody ¶
func (o *CreateDeploymentTemplateParams) SetBody(body *models.DeploymentTemplateInfo)
SetBody adds the body to the create deployment template params
func (*CreateDeploymentTemplateParams) SetContext ¶
func (o *CreateDeploymentTemplateParams) SetContext(ctx context.Context)
SetContext adds the context to the create deployment template params
func (*CreateDeploymentTemplateParams) SetHTTPClient ¶
func (o *CreateDeploymentTemplateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create deployment template params
func (*CreateDeploymentTemplateParams) SetTimeout ¶
func (o *CreateDeploymentTemplateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create deployment template params
func (*CreateDeploymentTemplateParams) WithBody ¶
func (o *CreateDeploymentTemplateParams) WithBody(body *models.DeploymentTemplateInfo) *CreateDeploymentTemplateParams
WithBody adds the body to the create deployment template params
func (*CreateDeploymentTemplateParams) WithContext ¶
func (o *CreateDeploymentTemplateParams) WithContext(ctx context.Context) *CreateDeploymentTemplateParams
WithContext adds the context to the create deployment template params
func (*CreateDeploymentTemplateParams) WithHTTPClient ¶
func (o *CreateDeploymentTemplateParams) WithHTTPClient(client *http.Client) *CreateDeploymentTemplateParams
WithHTTPClient adds the HTTPClient to the create deployment template params
func (*CreateDeploymentTemplateParams) WithTimeout ¶
func (o *CreateDeploymentTemplateParams) WithTimeout(timeout time.Duration) *CreateDeploymentTemplateParams
WithTimeout adds the timeout to the create deployment template params
func (*CreateDeploymentTemplateParams) WriteToRequest ¶
func (o *CreateDeploymentTemplateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateDeploymentTemplateReader ¶
type CreateDeploymentTemplateReader struct {
// contains filtered or unexported fields
}
CreateDeploymentTemplateReader is a Reader for the CreateDeploymentTemplate structure.
func (*CreateDeploymentTemplateReader) ReadResponse ¶
func (o *CreateDeploymentTemplateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateDeploymentTemplateRetryWith ¶
type CreateDeploymentTemplateRetryWith struct { /*The error codes associated with the response */ XCloudErrorCodes string Payload *models.BasicFailedReply }
CreateDeploymentTemplateRetryWith handles this case with default header values.
Elevated permissions are required. (code: `root.unauthorized.rbac.elevated_permissions_required`)
func NewCreateDeploymentTemplateRetryWith ¶
func NewCreateDeploymentTemplateRetryWith() *CreateDeploymentTemplateRetryWith
NewCreateDeploymentTemplateRetryWith creates a CreateDeploymentTemplateRetryWith with default headers values
func (*CreateDeploymentTemplateRetryWith) Error ¶
func (o *CreateDeploymentTemplateRetryWith) Error() string
type DeleteDeploymentTemplateNotFound ¶
type DeleteDeploymentTemplateNotFound struct { /*The error codes associated with the response */ XCloudErrorCodes string Payload *models.BasicFailedReply }
DeleteDeploymentTemplateNotFound handles this case with default header values.
The deployment template specified by {template_id} cannot be found. (code: `templates.template_not_found`)
func NewDeleteDeploymentTemplateNotFound ¶
func NewDeleteDeploymentTemplateNotFound() *DeleteDeploymentTemplateNotFound
NewDeleteDeploymentTemplateNotFound creates a DeleteDeploymentTemplateNotFound with default headers values
func (*DeleteDeploymentTemplateNotFound) Error ¶
func (o *DeleteDeploymentTemplateNotFound) Error() string
type DeleteDeploymentTemplateOK ¶
type DeleteDeploymentTemplateOK struct {
Payload models.EmptyResponse
}
DeleteDeploymentTemplateOK handles this case with default header values.
The deployment template was successfully deleted.
func NewDeleteDeploymentTemplateOK ¶
func NewDeleteDeploymentTemplateOK() *DeleteDeploymentTemplateOK
NewDeleteDeploymentTemplateOK creates a DeleteDeploymentTemplateOK with default headers values
func (*DeleteDeploymentTemplateOK) Error ¶
func (o *DeleteDeploymentTemplateOK) Error() string
type DeleteDeploymentTemplateParams ¶
type DeleteDeploymentTemplateParams struct { /*TemplateID The identifier for the deployment template. */ TemplateID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteDeploymentTemplateParams contains all the parameters to send to the API endpoint for the delete deployment template operation typically these are written to a http.Request
func NewDeleteDeploymentTemplateParams ¶
func NewDeleteDeploymentTemplateParams() *DeleteDeploymentTemplateParams
NewDeleteDeploymentTemplateParams creates a new DeleteDeploymentTemplateParams object with the default values initialized.
func NewDeleteDeploymentTemplateParamsWithContext ¶
func NewDeleteDeploymentTemplateParamsWithContext(ctx context.Context) *DeleteDeploymentTemplateParams
NewDeleteDeploymentTemplateParamsWithContext creates a new DeleteDeploymentTemplateParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteDeploymentTemplateParamsWithHTTPClient ¶
func NewDeleteDeploymentTemplateParamsWithHTTPClient(client *http.Client) *DeleteDeploymentTemplateParams
NewDeleteDeploymentTemplateParamsWithHTTPClient creates a new DeleteDeploymentTemplateParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteDeploymentTemplateParamsWithTimeout ¶
func NewDeleteDeploymentTemplateParamsWithTimeout(timeout time.Duration) *DeleteDeploymentTemplateParams
NewDeleteDeploymentTemplateParamsWithTimeout creates a new DeleteDeploymentTemplateParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteDeploymentTemplateParams) SetContext ¶
func (o *DeleteDeploymentTemplateParams) SetContext(ctx context.Context)
SetContext adds the context to the delete deployment template params
func (*DeleteDeploymentTemplateParams) SetHTTPClient ¶
func (o *DeleteDeploymentTemplateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete deployment template params
func (*DeleteDeploymentTemplateParams) SetTemplateID ¶
func (o *DeleteDeploymentTemplateParams) SetTemplateID(templateID string)
SetTemplateID adds the templateId to the delete deployment template params
func (*DeleteDeploymentTemplateParams) SetTimeout ¶
func (o *DeleteDeploymentTemplateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete deployment template params
func (*DeleteDeploymentTemplateParams) WithContext ¶
func (o *DeleteDeploymentTemplateParams) WithContext(ctx context.Context) *DeleteDeploymentTemplateParams
WithContext adds the context to the delete deployment template params
func (*DeleteDeploymentTemplateParams) WithHTTPClient ¶
func (o *DeleteDeploymentTemplateParams) WithHTTPClient(client *http.Client) *DeleteDeploymentTemplateParams
WithHTTPClient adds the HTTPClient to the delete deployment template params
func (*DeleteDeploymentTemplateParams) WithTemplateID ¶
func (o *DeleteDeploymentTemplateParams) WithTemplateID(templateID string) *DeleteDeploymentTemplateParams
WithTemplateID adds the templateID to the delete deployment template params
func (*DeleteDeploymentTemplateParams) WithTimeout ¶
func (o *DeleteDeploymentTemplateParams) WithTimeout(timeout time.Duration) *DeleteDeploymentTemplateParams
WithTimeout adds the timeout to the delete deployment template params
func (*DeleteDeploymentTemplateParams) WriteToRequest ¶
func (o *DeleteDeploymentTemplateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteDeploymentTemplateReader ¶
type DeleteDeploymentTemplateReader struct {
// contains filtered or unexported fields
}
DeleteDeploymentTemplateReader is a Reader for the DeleteDeploymentTemplate structure.
func (*DeleteDeploymentTemplateReader) ReadResponse ¶
func (o *DeleteDeploymentTemplateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteDeploymentTemplateRetryWith ¶
type DeleteDeploymentTemplateRetryWith struct { /*The error codes associated with the response */ XCloudErrorCodes string Payload *models.BasicFailedReply }
DeleteDeploymentTemplateRetryWith handles this case with default header values.
Elevated permissions are required. (code: `root.unauthorized.rbac.elevated_permissions_required`)
func NewDeleteDeploymentTemplateRetryWith ¶
func NewDeleteDeploymentTemplateRetryWith() *DeleteDeploymentTemplateRetryWith
NewDeleteDeploymentTemplateRetryWith creates a DeleteDeploymentTemplateRetryWith with default headers values
func (*DeleteDeploymentTemplateRetryWith) Error ¶
func (o *DeleteDeploymentTemplateRetryWith) Error() string
type GetDeploymentTemplateNotFound ¶
type GetDeploymentTemplateNotFound struct { /*The error codes associated with the response */ XCloudErrorCodes string Payload *models.BasicFailedReply }
GetDeploymentTemplateNotFound handles this case with default header values.
The deployment template specified by {template_id} cannot be found. (code: `templates.template_not_found`)
func NewGetDeploymentTemplateNotFound ¶
func NewGetDeploymentTemplateNotFound() *GetDeploymentTemplateNotFound
NewGetDeploymentTemplateNotFound creates a GetDeploymentTemplateNotFound with default headers values
func (*GetDeploymentTemplateNotFound) Error ¶
func (o *GetDeploymentTemplateNotFound) Error() string
type GetDeploymentTemplateOK ¶
type GetDeploymentTemplateOK struct {
Payload *models.DeploymentTemplateInfo
}
GetDeploymentTemplateOK handles this case with default header values.
The deployment template was found and returned successfully.
func NewGetDeploymentTemplateOK ¶
func NewGetDeploymentTemplateOK() *GetDeploymentTemplateOK
NewGetDeploymentTemplateOK creates a GetDeploymentTemplateOK with default headers values
func (*GetDeploymentTemplateOK) Error ¶
func (o *GetDeploymentTemplateOK) Error() string
type GetDeploymentTemplateParams ¶
type GetDeploymentTemplateParams struct { /*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 }
GetDeploymentTemplateParams contains all the parameters to send to the API endpoint for the get deployment template operation typically these are written to a http.Request
func NewGetDeploymentTemplateParams ¶
func NewGetDeploymentTemplateParams() *GetDeploymentTemplateParams
NewGetDeploymentTemplateParams creates a new GetDeploymentTemplateParams object with the default values initialized.
func NewGetDeploymentTemplateParamsWithContext ¶
func NewGetDeploymentTemplateParamsWithContext(ctx context.Context) *GetDeploymentTemplateParams
NewGetDeploymentTemplateParamsWithContext creates a new GetDeploymentTemplateParams object with the default values initialized, and the ability to set a context for a request
func NewGetDeploymentTemplateParamsWithHTTPClient ¶
func NewGetDeploymentTemplateParamsWithHTTPClient(client *http.Client) *GetDeploymentTemplateParams
NewGetDeploymentTemplateParamsWithHTTPClient creates a new GetDeploymentTemplateParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetDeploymentTemplateParamsWithTimeout ¶
func NewGetDeploymentTemplateParamsWithTimeout(timeout time.Duration) *GetDeploymentTemplateParams
NewGetDeploymentTemplateParamsWithTimeout creates a new GetDeploymentTemplateParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetDeploymentTemplateParams) SetContext ¶
func (o *GetDeploymentTemplateParams) SetContext(ctx context.Context)
SetContext adds the context to the get deployment template params
func (*GetDeploymentTemplateParams) SetHTTPClient ¶
func (o *GetDeploymentTemplateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get deployment template params
func (*GetDeploymentTemplateParams) SetShowInstanceConfigurations ¶
func (o *GetDeploymentTemplateParams) SetShowInstanceConfigurations(showInstanceConfigurations *bool)
SetShowInstanceConfigurations adds the showInstanceConfigurations to the get deployment template params
func (*GetDeploymentTemplateParams) SetStackVersion ¶
func (o *GetDeploymentTemplateParams) SetStackVersion(stackVersion *string)
SetStackVersion adds the stackVersion to the get deployment template params
func (*GetDeploymentTemplateParams) SetTemplateID ¶
func (o *GetDeploymentTemplateParams) SetTemplateID(templateID string)
SetTemplateID adds the templateId to the get deployment template params
func (*GetDeploymentTemplateParams) SetTimeout ¶
func (o *GetDeploymentTemplateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get deployment template params
func (*GetDeploymentTemplateParams) WithContext ¶
func (o *GetDeploymentTemplateParams) WithContext(ctx context.Context) *GetDeploymentTemplateParams
WithContext adds the context to the get deployment template params
func (*GetDeploymentTemplateParams) WithHTTPClient ¶
func (o *GetDeploymentTemplateParams) WithHTTPClient(client *http.Client) *GetDeploymentTemplateParams
WithHTTPClient adds the HTTPClient to the get deployment template params
func (*GetDeploymentTemplateParams) WithShowInstanceConfigurations ¶
func (o *GetDeploymentTemplateParams) WithShowInstanceConfigurations(showInstanceConfigurations *bool) *GetDeploymentTemplateParams
WithShowInstanceConfigurations adds the showInstanceConfigurations to the get deployment template params
func (*GetDeploymentTemplateParams) WithStackVersion ¶
func (o *GetDeploymentTemplateParams) WithStackVersion(stackVersion *string) *GetDeploymentTemplateParams
WithStackVersion adds the stackVersion to the get deployment template params
func (*GetDeploymentTemplateParams) WithTemplateID ¶
func (o *GetDeploymentTemplateParams) WithTemplateID(templateID string) *GetDeploymentTemplateParams
WithTemplateID adds the templateID to the get deployment template params
func (*GetDeploymentTemplateParams) WithTimeout ¶
func (o *GetDeploymentTemplateParams) WithTimeout(timeout time.Duration) *GetDeploymentTemplateParams
WithTimeout adds the timeout to the get deployment template params
func (*GetDeploymentTemplateParams) WriteToRequest ¶
func (o *GetDeploymentTemplateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetDeploymentTemplateReader ¶
type GetDeploymentTemplateReader struct {
// contains filtered or unexported fields
}
GetDeploymentTemplateReader is a Reader for the GetDeploymentTemplate structure.
func (*GetDeploymentTemplateReader) ReadResponse ¶
func (o *GetDeploymentTemplateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetDeploymentTemplatesOK ¶
type GetDeploymentTemplatesOK struct {
Payload []*models.DeploymentTemplateInfo
}
GetDeploymentTemplatesOK handles this case with default header values.
The deployment templates were returned successfully.
func NewGetDeploymentTemplatesOK ¶
func NewGetDeploymentTemplatesOK() *GetDeploymentTemplatesOK
NewGetDeploymentTemplatesOK creates a GetDeploymentTemplatesOK with default headers values
func (*GetDeploymentTemplatesOK) Error ¶
func (o *GetDeploymentTemplatesOK) Error() string
type GetDeploymentTemplatesParams ¶
type GetDeploymentTemplatesParams 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 /*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 }
GetDeploymentTemplatesParams contains all the parameters to send to the API endpoint for the get deployment templates operation typically these are written to a http.Request
func NewGetDeploymentTemplatesParams ¶
func NewGetDeploymentTemplatesParams() *GetDeploymentTemplatesParams
NewGetDeploymentTemplatesParams creates a new GetDeploymentTemplatesParams object with the default values initialized.
func NewGetDeploymentTemplatesParamsWithContext ¶
func NewGetDeploymentTemplatesParamsWithContext(ctx context.Context) *GetDeploymentTemplatesParams
NewGetDeploymentTemplatesParamsWithContext creates a new GetDeploymentTemplatesParams object with the default values initialized, and the ability to set a context for a request
func NewGetDeploymentTemplatesParamsWithHTTPClient ¶
func NewGetDeploymentTemplatesParamsWithHTTPClient(client *http.Client) *GetDeploymentTemplatesParams
NewGetDeploymentTemplatesParamsWithHTTPClient creates a new GetDeploymentTemplatesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetDeploymentTemplatesParamsWithTimeout ¶
func NewGetDeploymentTemplatesParamsWithTimeout(timeout time.Duration) *GetDeploymentTemplatesParams
NewGetDeploymentTemplatesParamsWithTimeout creates a new GetDeploymentTemplatesParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetDeploymentTemplatesParams) SetContext ¶
func (o *GetDeploymentTemplatesParams) SetContext(ctx context.Context)
SetContext adds the context to the get deployment templates params
func (*GetDeploymentTemplatesParams) SetHTTPClient ¶
func (o *GetDeploymentTemplatesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get deployment templates params
func (*GetDeploymentTemplatesParams) SetMetadata ¶
func (o *GetDeploymentTemplatesParams) SetMetadata(metadata *string)
SetMetadata adds the metadata to the get deployment templates params
func (*GetDeploymentTemplatesParams) SetShowHidden ¶
func (o *GetDeploymentTemplatesParams) SetShowHidden(showHidden *bool)
SetShowHidden adds the showHidden to the get deployment templates params
func (*GetDeploymentTemplatesParams) SetShowInstanceConfigurations ¶
func (o *GetDeploymentTemplatesParams) SetShowInstanceConfigurations(showInstanceConfigurations *bool)
SetShowInstanceConfigurations adds the showInstanceConfigurations to the get deployment templates params
func (*GetDeploymentTemplatesParams) SetStackVersion ¶
func (o *GetDeploymentTemplatesParams) SetStackVersion(stackVersion *string)
SetStackVersion adds the stackVersion to the get deployment templates params
func (*GetDeploymentTemplatesParams) SetTimeout ¶
func (o *GetDeploymentTemplatesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get deployment templates params
func (*GetDeploymentTemplatesParams) WithContext ¶
func (o *GetDeploymentTemplatesParams) WithContext(ctx context.Context) *GetDeploymentTemplatesParams
WithContext adds the context to the get deployment templates params
func (*GetDeploymentTemplatesParams) WithHTTPClient ¶
func (o *GetDeploymentTemplatesParams) WithHTTPClient(client *http.Client) *GetDeploymentTemplatesParams
WithHTTPClient adds the HTTPClient to the get deployment templates params
func (*GetDeploymentTemplatesParams) WithMetadata ¶
func (o *GetDeploymentTemplatesParams) WithMetadata(metadata *string) *GetDeploymentTemplatesParams
WithMetadata adds the metadata to the get deployment templates params
func (*GetDeploymentTemplatesParams) WithShowHidden ¶
func (o *GetDeploymentTemplatesParams) WithShowHidden(showHidden *bool) *GetDeploymentTemplatesParams
WithShowHidden adds the showHidden to the get deployment templates params
func (*GetDeploymentTemplatesParams) WithShowInstanceConfigurations ¶
func (o *GetDeploymentTemplatesParams) WithShowInstanceConfigurations(showInstanceConfigurations *bool) *GetDeploymentTemplatesParams
WithShowInstanceConfigurations adds the showInstanceConfigurations to the get deployment templates params
func (*GetDeploymentTemplatesParams) WithStackVersion ¶
func (o *GetDeploymentTemplatesParams) WithStackVersion(stackVersion *string) *GetDeploymentTemplatesParams
WithStackVersion adds the stackVersion to the get deployment templates params
func (*GetDeploymentTemplatesParams) WithTimeout ¶
func (o *GetDeploymentTemplatesParams) WithTimeout(timeout time.Duration) *GetDeploymentTemplatesParams
WithTimeout adds the timeout to the get deployment templates params
func (*GetDeploymentTemplatesParams) WriteToRequest ¶
func (o *GetDeploymentTemplatesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetDeploymentTemplatesReader ¶
type GetDeploymentTemplatesReader struct {
// contains filtered or unexported fields
}
GetDeploymentTemplatesReader is a Reader for the GetDeploymentTemplates structure.
func (*GetDeploymentTemplatesReader) ReadResponse ¶
func (o *GetDeploymentTemplatesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SetDeploymentTemplateBadRequest ¶
type SetDeploymentTemplateBadRequest struct { /*The error codes associated with the response */ XCloudErrorCodes string Payload *models.BasicFailedReply }
SetDeploymentTemplateBadRequest handles this case with default header values.
The template definition contained errors. (code: `templates.invalid_template`)
func NewSetDeploymentTemplateBadRequest ¶
func NewSetDeploymentTemplateBadRequest() *SetDeploymentTemplateBadRequest
NewSetDeploymentTemplateBadRequest creates a SetDeploymentTemplateBadRequest with default headers values
func (*SetDeploymentTemplateBadRequest) Error ¶
func (o *SetDeploymentTemplateBadRequest) Error() string
type SetDeploymentTemplateConflict ¶
type SetDeploymentTemplateConflict struct { /*The error codes associated with the response */ XCloudErrorCodes string Payload *models.BasicFailedReply }
SetDeploymentTemplateConflict 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 NewSetDeploymentTemplateConflict ¶
func NewSetDeploymentTemplateConflict() *SetDeploymentTemplateConflict
NewSetDeploymentTemplateConflict creates a SetDeploymentTemplateConflict with default headers values
func (*SetDeploymentTemplateConflict) Error ¶
func (o *SetDeploymentTemplateConflict) Error() string
type SetDeploymentTemplateCreated ¶
type SetDeploymentTemplateCreated struct {
Payload *models.IDResponse
}
SetDeploymentTemplateCreated handles this case with default header values.
The deployment definition was valid and the template was created.
func NewSetDeploymentTemplateCreated ¶
func NewSetDeploymentTemplateCreated() *SetDeploymentTemplateCreated
NewSetDeploymentTemplateCreated creates a SetDeploymentTemplateCreated with default headers values
func (*SetDeploymentTemplateCreated) Error ¶
func (o *SetDeploymentTemplateCreated) Error() string
type SetDeploymentTemplateNotFound ¶
type SetDeploymentTemplateNotFound struct { /*The error codes associated with the response */ XCloudErrorCodes string Payload *models.BasicFailedReply }
SetDeploymentTemplateNotFound handles this case with default header values.
The deployment template specified by {template_id} cannot be found. (code: `templates.template_not_found`)
func NewSetDeploymentTemplateNotFound ¶
func NewSetDeploymentTemplateNotFound() *SetDeploymentTemplateNotFound
NewSetDeploymentTemplateNotFound creates a SetDeploymentTemplateNotFound with default headers values
func (*SetDeploymentTemplateNotFound) Error ¶
func (o *SetDeploymentTemplateNotFound) Error() string
type SetDeploymentTemplateOK ¶
type SetDeploymentTemplateOK struct {
Payload *models.IDResponse
}
SetDeploymentTemplateOK handles this case with default header values.
The deployment definition was valid and the template has been updated.
func NewSetDeploymentTemplateOK ¶
func NewSetDeploymentTemplateOK() *SetDeploymentTemplateOK
NewSetDeploymentTemplateOK creates a SetDeploymentTemplateOK with default headers values
func (*SetDeploymentTemplateOK) Error ¶
func (o *SetDeploymentTemplateOK) Error() string
type SetDeploymentTemplateParams ¶
type SetDeploymentTemplateParams struct { /*Body The deployment template definition. */ Body *models.DeploymentTemplateInfo /*CreateOnly If true, will fail if the deployment template already exists at the given id */ CreateOnly *bool /*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 }
SetDeploymentTemplateParams contains all the parameters to send to the API endpoint for the set deployment template operation typically these are written to a http.Request
func NewSetDeploymentTemplateParams ¶
func NewSetDeploymentTemplateParams() *SetDeploymentTemplateParams
NewSetDeploymentTemplateParams creates a new SetDeploymentTemplateParams object with the default values initialized.
func NewSetDeploymentTemplateParamsWithContext ¶
func NewSetDeploymentTemplateParamsWithContext(ctx context.Context) *SetDeploymentTemplateParams
NewSetDeploymentTemplateParamsWithContext creates a new SetDeploymentTemplateParams object with the default values initialized, and the ability to set a context for a request
func NewSetDeploymentTemplateParamsWithHTTPClient ¶
func NewSetDeploymentTemplateParamsWithHTTPClient(client *http.Client) *SetDeploymentTemplateParams
NewSetDeploymentTemplateParamsWithHTTPClient creates a new SetDeploymentTemplateParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewSetDeploymentTemplateParamsWithTimeout ¶
func NewSetDeploymentTemplateParamsWithTimeout(timeout time.Duration) *SetDeploymentTemplateParams
NewSetDeploymentTemplateParamsWithTimeout creates a new SetDeploymentTemplateParams object with the default values initialized, and the ability to set a timeout on a request
func (*SetDeploymentTemplateParams) SetBody ¶
func (o *SetDeploymentTemplateParams) SetBody(body *models.DeploymentTemplateInfo)
SetBody adds the body to the set deployment template params
func (*SetDeploymentTemplateParams) SetContext ¶
func (o *SetDeploymentTemplateParams) SetContext(ctx context.Context)
SetContext adds the context to the set deployment template params
func (*SetDeploymentTemplateParams) SetCreateOnly ¶
func (o *SetDeploymentTemplateParams) SetCreateOnly(createOnly *bool)
SetCreateOnly adds the createOnly to the set deployment template params
func (*SetDeploymentTemplateParams) SetHTTPClient ¶
func (o *SetDeploymentTemplateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the set deployment template params
func (*SetDeploymentTemplateParams) SetTemplateID ¶
func (o *SetDeploymentTemplateParams) SetTemplateID(templateID string)
SetTemplateID adds the templateId to the set deployment template params
func (*SetDeploymentTemplateParams) SetTimeout ¶
func (o *SetDeploymentTemplateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the set deployment template params
func (*SetDeploymentTemplateParams) SetVersion ¶
func (o *SetDeploymentTemplateParams) SetVersion(version *int64)
SetVersion adds the version to the set deployment template params
func (*SetDeploymentTemplateParams) WithBody ¶
func (o *SetDeploymentTemplateParams) WithBody(body *models.DeploymentTemplateInfo) *SetDeploymentTemplateParams
WithBody adds the body to the set deployment template params
func (*SetDeploymentTemplateParams) WithContext ¶
func (o *SetDeploymentTemplateParams) WithContext(ctx context.Context) *SetDeploymentTemplateParams
WithContext adds the context to the set deployment template params
func (*SetDeploymentTemplateParams) WithCreateOnly ¶
func (o *SetDeploymentTemplateParams) WithCreateOnly(createOnly *bool) *SetDeploymentTemplateParams
WithCreateOnly adds the createOnly to the set deployment template params
func (*SetDeploymentTemplateParams) WithHTTPClient ¶
func (o *SetDeploymentTemplateParams) WithHTTPClient(client *http.Client) *SetDeploymentTemplateParams
WithHTTPClient adds the HTTPClient to the set deployment template params
func (*SetDeploymentTemplateParams) WithTemplateID ¶
func (o *SetDeploymentTemplateParams) WithTemplateID(templateID string) *SetDeploymentTemplateParams
WithTemplateID adds the templateID to the set deployment template params
func (*SetDeploymentTemplateParams) WithTimeout ¶
func (o *SetDeploymentTemplateParams) WithTimeout(timeout time.Duration) *SetDeploymentTemplateParams
WithTimeout adds the timeout to the set deployment template params
func (*SetDeploymentTemplateParams) WithVersion ¶
func (o *SetDeploymentTemplateParams) WithVersion(version *int64) *SetDeploymentTemplateParams
WithVersion adds the version to the set deployment template params
func (*SetDeploymentTemplateParams) WriteToRequest ¶
func (o *SetDeploymentTemplateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SetDeploymentTemplateReader ¶
type SetDeploymentTemplateReader struct {
// contains filtered or unexported fields
}
SetDeploymentTemplateReader is a Reader for the SetDeploymentTemplate structure.
func (*SetDeploymentTemplateReader) ReadResponse ¶
func (o *SetDeploymentTemplateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SetDeploymentTemplateRetryWith ¶
type SetDeploymentTemplateRetryWith struct { /*The error codes associated with the response */ XCloudErrorCodes string Payload *models.BasicFailedReply }
SetDeploymentTemplateRetryWith handles this case with default header values.
Elevated permissions are required. (code: `root.unauthorized.rbac.elevated_permissions_required`)
func NewSetDeploymentTemplateRetryWith ¶
func NewSetDeploymentTemplateRetryWith() *SetDeploymentTemplateRetryWith
NewSetDeploymentTemplateRetryWith creates a SetDeploymentTemplateRetryWith with default headers values
func (*SetDeploymentTemplateRetryWith) Error ¶
func (o *SetDeploymentTemplateRetryWith) Error() string
Source Files ¶
- create_deployment_template_parameters.go
- create_deployment_template_responses.go
- delete_deployment_template_parameters.go
- delete_deployment_template_responses.go
- get_deployment_template_parameters.go
- get_deployment_template_responses.go
- get_deployment_templates_parameters.go
- get_deployment_templates_responses.go
- platform_configuration_templates_client.go
- set_deployment_template_parameters.go
- set_deployment_template_responses.go