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) GetGlobalDeploymentTemplates(params *GetGlobalDeploymentTemplatesParams, ...) (*GetGlobalDeploymentTemplatesOK, error)
- func (a *Client) SetDeploymentTemplate(params *SetDeploymentTemplateParams, authInfo runtime.ClientAuthInfoWriter, ...) (*SetDeploymentTemplateOK, *SetDeploymentTemplateCreated, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- 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) SetDefaults()
- 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) WithDefaults() *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) SetDefaults()
- 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) WithDefaults() *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 GetDeploymentTemplateBadRequest
- 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) SetDefaults()
- func (o *GetDeploymentTemplateParams) SetFormat(format *string)
- 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) WithDefaults() *GetDeploymentTemplateParams
- func (o *GetDeploymentTemplateParams) WithFormat(format *string) *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 GetDeploymentTemplatesBadRequest
- 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) SetDefaults()
- func (o *GetDeploymentTemplatesParams) SetFormat(format *string)
- 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) WithDefaults() *GetDeploymentTemplatesParams
- func (o *GetDeploymentTemplatesParams) WithFormat(format *string) *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 GetGlobalDeploymentTemplatesOK
- type GetGlobalDeploymentTemplatesParams
- func NewGetGlobalDeploymentTemplatesParams() *GetGlobalDeploymentTemplatesParams
- func NewGetGlobalDeploymentTemplatesParamsWithContext(ctx context.Context) *GetGlobalDeploymentTemplatesParams
- func NewGetGlobalDeploymentTemplatesParamsWithHTTPClient(client *http.Client) *GetGlobalDeploymentTemplatesParams
- func NewGetGlobalDeploymentTemplatesParamsWithTimeout(timeout time.Duration) *GetGlobalDeploymentTemplatesParams
- func (o *GetGlobalDeploymentTemplatesParams) SetContext(ctx context.Context)
- func (o *GetGlobalDeploymentTemplatesParams) SetDefaults()
- func (o *GetGlobalDeploymentTemplatesParams) SetHTTPClient(client *http.Client)
- func (o *GetGlobalDeploymentTemplatesParams) SetTimeout(timeout time.Duration)
- func (o *GetGlobalDeploymentTemplatesParams) WithContext(ctx context.Context) *GetGlobalDeploymentTemplatesParams
- func (o *GetGlobalDeploymentTemplatesParams) WithDefaults() *GetGlobalDeploymentTemplatesParams
- func (o *GetGlobalDeploymentTemplatesParams) WithHTTPClient(client *http.Client) *GetGlobalDeploymentTemplatesParams
- func (o *GetGlobalDeploymentTemplatesParams) WithTimeout(timeout time.Duration) *GetGlobalDeploymentTemplatesParams
- func (o *GetGlobalDeploymentTemplatesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetGlobalDeploymentTemplatesReader
- 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) SetDefaults()
- 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 *string)
- 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) WithDefaults() *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 *string) *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 (*Client) CreateDeploymentTemplate ¶
func (a *Client) CreateDeploymentTemplate(params *CreateDeploymentTemplateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateDeploymentTemplateCreated, error)
CreateDeploymentTemplate creates deployment template
Creates a deployment template.
func (*Client) DeleteDeploymentTemplate ¶
func (a *Client) DeleteDeploymentTemplate(params *DeleteDeploymentTemplateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteDeploymentTemplateOK, error)
DeleteDeploymentTemplate deletes deployment template
Deletes a deployment template by id.
func (*Client) GetDeploymentTemplate ¶
func (a *Client) GetDeploymentTemplate(params *GetDeploymentTemplateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDeploymentTemplateOK, error)
GetDeploymentTemplate gets deployment template
Retrieves a deployment template by id.
func (*Client) GetDeploymentTemplates ¶
func (a *Client) GetDeploymentTemplates(params *GetDeploymentTemplatesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDeploymentTemplatesOK, error)
GetDeploymentTemplates gets deployment templates
Retrieves all deployment templates.
func (*Client) GetGlobalDeploymentTemplates ¶ added in v1.1.0
func (a *Client) GetGlobalDeploymentTemplates(params *GetGlobalDeploymentTemplatesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetGlobalDeploymentTemplatesOK, error)
GetGlobalDeploymentTemplates gets all templates cross region
Global deployment template endpoint which fetches the deployment templates across all region services.
func (*Client) SetDeploymentTemplate ¶
func (a *Client) SetDeploymentTemplate(params *SetDeploymentTemplateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*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 ClientOption ¶ added in v1.3.0
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface {
CreateDeploymentTemplate(params *CreateDeploymentTemplateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateDeploymentTemplateCreated, error)
DeleteDeploymentTemplate(params *DeleteDeploymentTemplateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteDeploymentTemplateOK, error)
GetDeploymentTemplate(params *GetDeploymentTemplateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDeploymentTemplateOK, error)
GetDeploymentTemplates(params *GetDeploymentTemplatesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDeploymentTemplatesOK, error)
GetGlobalDeploymentTemplates(params *GetGlobalDeploymentTemplatesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetGlobalDeploymentTemplatesOK, error)
SetDeploymentTemplate(params *SetDeploymentTemplateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SetDeploymentTemplateOK, *SetDeploymentTemplateCreated, 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 platform configuration templates API client.
type CreateDeploymentTemplateBadRequest ¶
type CreateDeploymentTemplateBadRequest struct {
/* The error codes associated with the response
*/
XCloudErrorCodes string
Payload *models.BasicFailedReply
}
CreateDeploymentTemplateBadRequest describes a response with status code 400, 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
func (*CreateDeploymentTemplateBadRequest) GetPayload ¶
func (o *CreateDeploymentTemplateBadRequest) GetPayload() *models.BasicFailedReply
type CreateDeploymentTemplateCreated ¶
type CreateDeploymentTemplateCreated struct {
Payload *models.IDResponse
}
CreateDeploymentTemplateCreated describes a response with status code 201, 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
func (*CreateDeploymentTemplateCreated) GetPayload ¶
func (o *CreateDeploymentTemplateCreated) GetPayload() *models.IDResponse
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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewCreateDeploymentTemplateParamsWithContext ¶
func NewCreateDeploymentTemplateParamsWithContext(ctx context.Context) *CreateDeploymentTemplateParams
NewCreateDeploymentTemplateParamsWithContext creates a new CreateDeploymentTemplateParams object with 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 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 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) SetDefaults ¶ added in v1.3.0
func (o *CreateDeploymentTemplateParams) SetDefaults()
SetDefaults hydrates default values in the create deployment template params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶ added in v1.3.0
func (o *CreateDeploymentTemplateParams) WithDefaults() *CreateDeploymentTemplateParams
WithDefaults hydrates default values in the create deployment template params (not the query body).
All values with no default are reset to their zero value.
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 describes a response with status code 449, 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
func (*CreateDeploymentTemplateRetryWith) GetPayload ¶
func (o *CreateDeploymentTemplateRetryWith) GetPayload() *models.BasicFailedReply
type DeleteDeploymentTemplateNotFound ¶
type DeleteDeploymentTemplateNotFound struct {
/* The error codes associated with the response
*/
XCloudErrorCodes string
Payload *models.BasicFailedReply
}
DeleteDeploymentTemplateNotFound describes a response with status code 404, 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
func (*DeleteDeploymentTemplateNotFound) GetPayload ¶
func (o *DeleteDeploymentTemplateNotFound) GetPayload() *models.BasicFailedReply
type DeleteDeploymentTemplateOK ¶
type DeleteDeploymentTemplateOK struct {
Payload models.EmptyResponse
}
DeleteDeploymentTemplateOK describes a response with status code 200, 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
func (*DeleteDeploymentTemplateOK) GetPayload ¶
func (o *DeleteDeploymentTemplateOK) GetPayload() models.EmptyResponse
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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDeleteDeploymentTemplateParamsWithContext ¶
func NewDeleteDeploymentTemplateParamsWithContext(ctx context.Context) *DeleteDeploymentTemplateParams
NewDeleteDeploymentTemplateParamsWithContext creates a new DeleteDeploymentTemplateParams object with 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 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 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) SetDefaults ¶ added in v1.3.0
func (o *DeleteDeploymentTemplateParams) SetDefaults()
SetDefaults hydrates default values in the delete deployment template params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶ added in v1.3.0
func (o *DeleteDeploymentTemplateParams) WithDefaults() *DeleteDeploymentTemplateParams
WithDefaults hydrates default values in the delete deployment template params (not the query body).
All values with no default are reset to their zero value.
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 describes a response with status code 449, 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
func (*DeleteDeploymentTemplateRetryWith) GetPayload ¶
func (o *DeleteDeploymentTemplateRetryWith) GetPayload() *models.BasicFailedReply
type GetDeploymentTemplateBadRequest ¶ added in v1.1.0
type GetDeploymentTemplateBadRequest struct {
/* The error codes associated with the response
*/
XCloudErrorCodes string
Payload *models.BasicFailedReply
}
GetDeploymentTemplateBadRequest describes a response with status code 400, with default header values.
The template is not compatible with the [cluster] format. (code: `deployment.migration_invalid`)
func NewGetDeploymentTemplateBadRequest ¶ added in v1.1.0
func NewGetDeploymentTemplateBadRequest() *GetDeploymentTemplateBadRequest
NewGetDeploymentTemplateBadRequest creates a GetDeploymentTemplateBadRequest with default headers values
func (*GetDeploymentTemplateBadRequest) Error ¶ added in v1.1.0
func (o *GetDeploymentTemplateBadRequest) Error() string
func (*GetDeploymentTemplateBadRequest) GetPayload ¶ added in v1.1.0
func (o *GetDeploymentTemplateBadRequest) GetPayload() *models.BasicFailedReply
type GetDeploymentTemplateNotFound ¶
type GetDeploymentTemplateNotFound struct {
/* The error codes associated with the response
*/
XCloudErrorCodes string
Payload *models.BasicFailedReply
}
GetDeploymentTemplateNotFound describes a response with status code 404, 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
func (*GetDeploymentTemplateNotFound) GetPayload ¶
func (o *GetDeploymentTemplateNotFound) GetPayload() *models.BasicFailedReply
type GetDeploymentTemplateOK ¶
type GetDeploymentTemplateOK struct {
Payload *models.DeploymentTemplateInfo
}
GetDeploymentTemplateOK describes a response with status code 200, 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
func (*GetDeploymentTemplateOK) GetPayload ¶
func (o *GetDeploymentTemplateOK) GetPayload() *models.DeploymentTemplateInfo
type GetDeploymentTemplateParams ¶
type GetDeploymentTemplateParams struct {
/* Format.
If 'cluster' is specified populates cluster_template in the response, if 'deployment' is specified populates deployment_template in the response
Default: "cluster"
*/
Format *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
}
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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetDeploymentTemplateParamsWithContext ¶
func NewGetDeploymentTemplateParamsWithContext(ctx context.Context) *GetDeploymentTemplateParams
NewGetDeploymentTemplateParamsWithContext creates a new GetDeploymentTemplateParams object with 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 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 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) SetDefaults ¶ added in v1.3.0
func (o *GetDeploymentTemplateParams) SetDefaults()
SetDefaults hydrates default values in the get deployment template params (not the query body).
All values with no default are reset to their zero value.
func (*GetDeploymentTemplateParams) SetFormat ¶
func (o *GetDeploymentTemplateParams) SetFormat(format *string)
SetFormat adds the format 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) WithDefaults ¶ added in v1.3.0
func (o *GetDeploymentTemplateParams) WithDefaults() *GetDeploymentTemplateParams
WithDefaults hydrates default values in the get deployment template params (not the query body).
All values with no default are reset to their zero value.
func (*GetDeploymentTemplateParams) WithFormat ¶
func (o *GetDeploymentTemplateParams) WithFormat(format *string) *GetDeploymentTemplateParams
WithFormat adds the format 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 GetDeploymentTemplatesBadRequest ¶ added in v1.1.0
type GetDeploymentTemplatesBadRequest struct {
/* The error codes associated with the response
*/
XCloudErrorCodes string
Payload *models.BasicFailedReply
}
GetDeploymentTemplatesBadRequest describes a response with status code 400, with default header values.
The template is not compatible with the [cluster] format. (code: `deployment.migration_invalid`)
func NewGetDeploymentTemplatesBadRequest ¶ added in v1.1.0
func NewGetDeploymentTemplatesBadRequest() *GetDeploymentTemplatesBadRequest
NewGetDeploymentTemplatesBadRequest creates a GetDeploymentTemplatesBadRequest with default headers values
func (*GetDeploymentTemplatesBadRequest) Error ¶ added in v1.1.0
func (o *GetDeploymentTemplatesBadRequest) Error() string
func (*GetDeploymentTemplatesBadRequest) GetPayload ¶ added in v1.1.0
func (o *GetDeploymentTemplatesBadRequest) GetPayload() *models.BasicFailedReply
type GetDeploymentTemplatesOK ¶
type GetDeploymentTemplatesOK struct {
Payload []*models.DeploymentTemplateInfo
}
GetDeploymentTemplatesOK describes a response with status code 200, 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
func (*GetDeploymentTemplatesOK) GetPayload ¶
func (o *GetDeploymentTemplatesOK) GetPayload() []*models.DeploymentTemplateInfo
type GetDeploymentTemplatesParams ¶
type GetDeploymentTemplatesParams struct {
/* Format.
If cluster is specified populates cluster_template in the response, if deployment is specified populates deployment_template in the response
Default: "cluster"
*/
Format *string
/* 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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetDeploymentTemplatesParamsWithContext ¶
func NewGetDeploymentTemplatesParamsWithContext(ctx context.Context) *GetDeploymentTemplatesParams
NewGetDeploymentTemplatesParamsWithContext creates a new GetDeploymentTemplatesParams object with 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 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 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) SetDefaults ¶ added in v1.3.0
func (o *GetDeploymentTemplatesParams) SetDefaults()
SetDefaults hydrates default values in the get deployment templates params (not the query body).
All values with no default are reset to their zero value.
func (*GetDeploymentTemplatesParams) SetFormat ¶
func (o *GetDeploymentTemplatesParams) SetFormat(format *string)
SetFormat adds the format 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) WithDefaults ¶ added in v1.3.0
func (o *GetDeploymentTemplatesParams) WithDefaults() *GetDeploymentTemplatesParams
WithDefaults hydrates default values in the get deployment templates params (not the query body).
All values with no default are reset to their zero value.
func (*GetDeploymentTemplatesParams) WithFormat ¶
func (o *GetDeploymentTemplatesParams) WithFormat(format *string) *GetDeploymentTemplatesParams
WithFormat adds the format 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 GetGlobalDeploymentTemplatesOK ¶ added in v1.1.0
type GetGlobalDeploymentTemplatesOK struct {
Payload []*models.GlobalDeploymentTemplateInfo
}
GetGlobalDeploymentTemplatesOK describes a response with status code 200, with default header values.
The deployment templates were returned successfully.
func NewGetGlobalDeploymentTemplatesOK ¶ added in v1.1.0
func NewGetGlobalDeploymentTemplatesOK() *GetGlobalDeploymentTemplatesOK
NewGetGlobalDeploymentTemplatesOK creates a GetGlobalDeploymentTemplatesOK with default headers values
func (*GetGlobalDeploymentTemplatesOK) Error ¶ added in v1.1.0
func (o *GetGlobalDeploymentTemplatesOK) Error() string
func (*GetGlobalDeploymentTemplatesOK) GetPayload ¶ added in v1.1.0
func (o *GetGlobalDeploymentTemplatesOK) GetPayload() []*models.GlobalDeploymentTemplateInfo
type GetGlobalDeploymentTemplatesParams ¶ added in v1.1.0
type GetGlobalDeploymentTemplatesParams struct {
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetGlobalDeploymentTemplatesParams contains all the parameters to send to the API endpoint
for the get global deployment templates operation. Typically these are written to a http.Request.
func NewGetGlobalDeploymentTemplatesParams ¶ added in v1.1.0
func NewGetGlobalDeploymentTemplatesParams() *GetGlobalDeploymentTemplatesParams
NewGetGlobalDeploymentTemplatesParams creates a new GetGlobalDeploymentTemplatesParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetGlobalDeploymentTemplatesParamsWithContext ¶ added in v1.1.0
func NewGetGlobalDeploymentTemplatesParamsWithContext(ctx context.Context) *GetGlobalDeploymentTemplatesParams
NewGetGlobalDeploymentTemplatesParamsWithContext creates a new GetGlobalDeploymentTemplatesParams object with the ability to set a context for a request.
func NewGetGlobalDeploymentTemplatesParamsWithHTTPClient ¶ added in v1.1.0
func NewGetGlobalDeploymentTemplatesParamsWithHTTPClient(client *http.Client) *GetGlobalDeploymentTemplatesParams
NewGetGlobalDeploymentTemplatesParamsWithHTTPClient creates a new GetGlobalDeploymentTemplatesParams object with the ability to set a custom HTTPClient for a request.
func NewGetGlobalDeploymentTemplatesParamsWithTimeout ¶ added in v1.1.0
func NewGetGlobalDeploymentTemplatesParamsWithTimeout(timeout time.Duration) *GetGlobalDeploymentTemplatesParams
NewGetGlobalDeploymentTemplatesParamsWithTimeout creates a new GetGlobalDeploymentTemplatesParams object with the ability to set a timeout on a request.
func (*GetGlobalDeploymentTemplatesParams) SetContext ¶ added in v1.1.0
func (o *GetGlobalDeploymentTemplatesParams) SetContext(ctx context.Context)
SetContext adds the context to the get global deployment templates params
func (*GetGlobalDeploymentTemplatesParams) SetDefaults ¶ added in v1.3.0
func (o *GetGlobalDeploymentTemplatesParams) SetDefaults()
SetDefaults hydrates default values in the get global deployment templates params (not the query body).
All values with no default are reset to their zero value.
func (*GetGlobalDeploymentTemplatesParams) SetHTTPClient ¶ added in v1.1.0
func (o *GetGlobalDeploymentTemplatesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get global deployment templates params
func (*GetGlobalDeploymentTemplatesParams) SetTimeout ¶ added in v1.1.0
func (o *GetGlobalDeploymentTemplatesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get global deployment templates params
func (*GetGlobalDeploymentTemplatesParams) WithContext ¶ added in v1.1.0
func (o *GetGlobalDeploymentTemplatesParams) WithContext(ctx context.Context) *GetGlobalDeploymentTemplatesParams
WithContext adds the context to the get global deployment templates params
func (*GetGlobalDeploymentTemplatesParams) WithDefaults ¶ added in v1.3.0
func (o *GetGlobalDeploymentTemplatesParams) WithDefaults() *GetGlobalDeploymentTemplatesParams
WithDefaults hydrates default values in the get global deployment templates params (not the query body).
All values with no default are reset to their zero value.
func (*GetGlobalDeploymentTemplatesParams) WithHTTPClient ¶ added in v1.1.0
func (o *GetGlobalDeploymentTemplatesParams) WithHTTPClient(client *http.Client) *GetGlobalDeploymentTemplatesParams
WithHTTPClient adds the HTTPClient to the get global deployment templates params
func (*GetGlobalDeploymentTemplatesParams) WithTimeout ¶ added in v1.1.0
func (o *GetGlobalDeploymentTemplatesParams) WithTimeout(timeout time.Duration) *GetGlobalDeploymentTemplatesParams
WithTimeout adds the timeout to the get global deployment templates params
func (*GetGlobalDeploymentTemplatesParams) WriteToRequest ¶ added in v1.1.0
func (o *GetGlobalDeploymentTemplatesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetGlobalDeploymentTemplatesReader ¶ added in v1.1.0
type GetGlobalDeploymentTemplatesReader struct {
// contains filtered or unexported fields
}
GetGlobalDeploymentTemplatesReader is a Reader for the GetGlobalDeploymentTemplates structure.
func (*GetGlobalDeploymentTemplatesReader) ReadResponse ¶ added in v1.1.0
func (o *GetGlobalDeploymentTemplatesReader) 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 describes a response with status code 400, 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
func (*SetDeploymentTemplateBadRequest) GetPayload ¶
func (o *SetDeploymentTemplateBadRequest) GetPayload() *models.BasicFailedReply
type SetDeploymentTemplateConflict ¶
type SetDeploymentTemplateConflict struct {
/* The error codes associated with the response
*/
XCloudErrorCodes string
Payload *models.BasicFailedReply
}
SetDeploymentTemplateConflict describes a response with status code 409, 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
func (*SetDeploymentTemplateConflict) GetPayload ¶
func (o *SetDeploymentTemplateConflict) GetPayload() *models.BasicFailedReply
type SetDeploymentTemplateCreated ¶
type SetDeploymentTemplateCreated struct {
Payload *models.IDResponse
}
SetDeploymentTemplateCreated describes a response with status code 201, 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
func (*SetDeploymentTemplateCreated) GetPayload ¶
func (o *SetDeploymentTemplateCreated) GetPayload() *models.IDResponse
type SetDeploymentTemplateNotFound ¶
type SetDeploymentTemplateNotFound struct {
/* The error codes associated with the response
*/
XCloudErrorCodes string
Payload *models.BasicFailedReply
}
SetDeploymentTemplateNotFound describes a response with status code 404, 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
func (*SetDeploymentTemplateNotFound) GetPayload ¶
func (o *SetDeploymentTemplateNotFound) GetPayload() *models.BasicFailedReply
type SetDeploymentTemplateOK ¶
type SetDeploymentTemplateOK struct {
Payload *models.IDResponse
}
SetDeploymentTemplateOK describes a response with status code 200, 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
func (*SetDeploymentTemplateOK) GetPayload ¶
func (o *SetDeploymentTemplateOK) GetPayload() *models.IDResponse
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 *string
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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewSetDeploymentTemplateParamsWithContext ¶
func NewSetDeploymentTemplateParamsWithContext(ctx context.Context) *SetDeploymentTemplateParams
NewSetDeploymentTemplateParamsWithContext creates a new SetDeploymentTemplateParams object with 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 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 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) SetDefaults ¶ added in v1.3.0
func (o *SetDeploymentTemplateParams) SetDefaults()
SetDefaults hydrates default values in the set deployment template params (not the query body).
All values with no default are reset to their zero value.
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 *string)
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) WithDefaults ¶ added in v1.3.0
func (o *SetDeploymentTemplateParams) WithDefaults() *SetDeploymentTemplateParams
WithDefaults hydrates default values in the set deployment template params (not the query body).
All values with no default are reset to their zero value.
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 *string) *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 describes a response with status code 449, 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
func (*SetDeploymentTemplateRetryWith) GetPayload ¶
func (o *SetDeploymentTemplateRetryWith) GetPayload() *models.BasicFailedReply
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
- get_global_deployment_templates_parameters.go
- get_global_deployment_templates_responses.go
- platform_configuration_templates_client.go
- set_deployment_template_parameters.go
- set_deployment_template_responses.go