Documentation
¶
Index ¶
- type Client
- type CostEstimateTfPlanDefault
- type CostEstimateTfPlanForbidden
- type CostEstimateTfPlanOK
- type CostEstimateTfPlanOKBody
- type CostEstimateTfPlanParams
- func NewCostEstimateTfPlanParams() *CostEstimateTfPlanParams
- func NewCostEstimateTfPlanParamsWithContext(ctx context.Context) *CostEstimateTfPlanParams
- func NewCostEstimateTfPlanParamsWithHTTPClient(client *http.Client) *CostEstimateTfPlanParams
- func NewCostEstimateTfPlanParamsWithTimeout(timeout time.Duration) *CostEstimateTfPlanParams
- func (o *CostEstimateTfPlanParams) SetBody(body *models.TerraformPlanInput)
- func (o *CostEstimateTfPlanParams) SetContext(ctx context.Context)
- func (o *CostEstimateTfPlanParams) SetHTTPClient(client *http.Client)
- func (o *CostEstimateTfPlanParams) SetOrganizationCanonical(organizationCanonical string)
- func (o *CostEstimateTfPlanParams) SetTimeout(timeout time.Duration)
- func (o *CostEstimateTfPlanParams) WithBody(body *models.TerraformPlanInput) *CostEstimateTfPlanParams
- func (o *CostEstimateTfPlanParams) WithContext(ctx context.Context) *CostEstimateTfPlanParams
- func (o *CostEstimateTfPlanParams) WithHTTPClient(client *http.Client) *CostEstimateTfPlanParams
- func (o *CostEstimateTfPlanParams) WithOrganizationCanonical(organizationCanonical string) *CostEstimateTfPlanParams
- func (o *CostEstimateTfPlanParams) WithTimeout(timeout time.Duration) *CostEstimateTfPlanParams
- func (o *CostEstimateTfPlanParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CostEstimateTfPlanReader
- type CostEstimateTfPlanUnprocessableEntity
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 cost estimation API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new cost estimation API client.
func (*Client) CostEstimateTfPlan ¶
func (a *Client) CostEstimateTfPlan(params *CostEstimateTfPlanParams, authInfo runtime.ClientAuthInfoWriter) (*CostEstimateTfPlanOK, error)
CostEstimateTfPlan Estimate costs of a Terraform plan in JSON format.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type CostEstimateTfPlanDefault ¶
type CostEstimateTfPlanDefault struct {
Payload *models.ErrorPayload
// contains filtered or unexported fields
}
CostEstimateTfPlanDefault handles this case with default header values.
The response sent when an unexpected error happened, as known as an internal server error.
func NewCostEstimateTfPlanDefault ¶
func NewCostEstimateTfPlanDefault(code int) *CostEstimateTfPlanDefault
NewCostEstimateTfPlanDefault creates a CostEstimateTfPlanDefault with default headers values
func (*CostEstimateTfPlanDefault) Code ¶
func (o *CostEstimateTfPlanDefault) Code() int
Code gets the status code for the cost estimate tf plan default response
func (*CostEstimateTfPlanDefault) Error ¶
func (o *CostEstimateTfPlanDefault) Error() string
func (*CostEstimateTfPlanDefault) GetPayload ¶
func (o *CostEstimateTfPlanDefault) GetPayload() *models.ErrorPayload
type CostEstimateTfPlanForbidden ¶
type CostEstimateTfPlanForbidden struct {
Payload *models.ErrorPayload
}
CostEstimateTfPlanForbidden handles this case with default header values.
The authenticated user cannot perform the operation because, it doesn't have permissions for such operation.
func NewCostEstimateTfPlanForbidden ¶
func NewCostEstimateTfPlanForbidden() *CostEstimateTfPlanForbidden
NewCostEstimateTfPlanForbidden creates a CostEstimateTfPlanForbidden with default headers values
func (*CostEstimateTfPlanForbidden) Error ¶
func (o *CostEstimateTfPlanForbidden) Error() string
func (*CostEstimateTfPlanForbidden) GetPayload ¶
func (o *CostEstimateTfPlanForbidden) GetPayload() *models.ErrorPayload
type CostEstimateTfPlanOK ¶
type CostEstimateTfPlanOK struct {
Payload *CostEstimateTfPlanOKBody
}
CostEstimateTfPlanOK handles this case with default header values.
The result of estimating the costs of a Terraform plan.
func NewCostEstimateTfPlanOK ¶
func NewCostEstimateTfPlanOK() *CostEstimateTfPlanOK
NewCostEstimateTfPlanOK creates a CostEstimateTfPlanOK with default headers values
func (*CostEstimateTfPlanOK) Error ¶
func (o *CostEstimateTfPlanOK) Error() string
func (*CostEstimateTfPlanOK) GetPayload ¶
func (o *CostEstimateTfPlanOK) GetPayload() *CostEstimateTfPlanOKBody
type CostEstimateTfPlanOKBody ¶
type CostEstimateTfPlanOKBody struct {
// data
// Required: true
Data *models.CostEstimationResult `json:"data"`
}
CostEstimateTfPlanOKBody cost estimate tf plan o k body swagger:model CostEstimateTfPlanOKBody
func (*CostEstimateTfPlanOKBody) MarshalBinary ¶
func (o *CostEstimateTfPlanOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CostEstimateTfPlanOKBody) UnmarshalBinary ¶
func (o *CostEstimateTfPlanOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CostEstimateTfPlanParams ¶
type CostEstimateTfPlanParams struct {
/*Body*/
Body *models.TerraformPlanInput
/*OrganizationCanonical
A canonical of an organization.
*/
OrganizationCanonical string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
CostEstimateTfPlanParams contains all the parameters to send to the API endpoint for the cost estimate tf plan operation typically these are written to a http.Request
func NewCostEstimateTfPlanParams ¶
func NewCostEstimateTfPlanParams() *CostEstimateTfPlanParams
NewCostEstimateTfPlanParams creates a new CostEstimateTfPlanParams object with the default values initialized.
func NewCostEstimateTfPlanParamsWithContext ¶
func NewCostEstimateTfPlanParamsWithContext(ctx context.Context) *CostEstimateTfPlanParams
NewCostEstimateTfPlanParamsWithContext creates a new CostEstimateTfPlanParams object with the default values initialized, and the ability to set a context for a request
func NewCostEstimateTfPlanParamsWithHTTPClient ¶
func NewCostEstimateTfPlanParamsWithHTTPClient(client *http.Client) *CostEstimateTfPlanParams
NewCostEstimateTfPlanParamsWithHTTPClient creates a new CostEstimateTfPlanParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCostEstimateTfPlanParamsWithTimeout ¶
func NewCostEstimateTfPlanParamsWithTimeout(timeout time.Duration) *CostEstimateTfPlanParams
NewCostEstimateTfPlanParamsWithTimeout creates a new CostEstimateTfPlanParams object with the default values initialized, and the ability to set a timeout on a request
func (*CostEstimateTfPlanParams) SetBody ¶
func (o *CostEstimateTfPlanParams) SetBody(body *models.TerraformPlanInput)
SetBody adds the body to the cost estimate tf plan params
func (*CostEstimateTfPlanParams) SetContext ¶
func (o *CostEstimateTfPlanParams) SetContext(ctx context.Context)
SetContext adds the context to the cost estimate tf plan params
func (*CostEstimateTfPlanParams) SetHTTPClient ¶
func (o *CostEstimateTfPlanParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the cost estimate tf plan params
func (*CostEstimateTfPlanParams) SetOrganizationCanonical ¶
func (o *CostEstimateTfPlanParams) SetOrganizationCanonical(organizationCanonical string)
SetOrganizationCanonical adds the organizationCanonical to the cost estimate tf plan params
func (*CostEstimateTfPlanParams) SetTimeout ¶
func (o *CostEstimateTfPlanParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the cost estimate tf plan params
func (*CostEstimateTfPlanParams) WithBody ¶
func (o *CostEstimateTfPlanParams) WithBody(body *models.TerraformPlanInput) *CostEstimateTfPlanParams
WithBody adds the body to the cost estimate tf plan params
func (*CostEstimateTfPlanParams) WithContext ¶
func (o *CostEstimateTfPlanParams) WithContext(ctx context.Context) *CostEstimateTfPlanParams
WithContext adds the context to the cost estimate tf plan params
func (*CostEstimateTfPlanParams) WithHTTPClient ¶
func (o *CostEstimateTfPlanParams) WithHTTPClient(client *http.Client) *CostEstimateTfPlanParams
WithHTTPClient adds the HTTPClient to the cost estimate tf plan params
func (*CostEstimateTfPlanParams) WithOrganizationCanonical ¶
func (o *CostEstimateTfPlanParams) WithOrganizationCanonical(organizationCanonical string) *CostEstimateTfPlanParams
WithOrganizationCanonical adds the organizationCanonical to the cost estimate tf plan params
func (*CostEstimateTfPlanParams) WithTimeout ¶
func (o *CostEstimateTfPlanParams) WithTimeout(timeout time.Duration) *CostEstimateTfPlanParams
WithTimeout adds the timeout to the cost estimate tf plan params
func (*CostEstimateTfPlanParams) WriteToRequest ¶
func (o *CostEstimateTfPlanParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CostEstimateTfPlanReader ¶
type CostEstimateTfPlanReader struct {
// contains filtered or unexported fields
}
CostEstimateTfPlanReader is a Reader for the CostEstimateTfPlan structure.
func (*CostEstimateTfPlanReader) ReadResponse ¶
func (o *CostEstimateTfPlanReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CostEstimateTfPlanUnprocessableEntity ¶
type CostEstimateTfPlanUnprocessableEntity struct {
Payload *models.ErrorPayload
}
CostEstimateTfPlanUnprocessableEntity handles this case with default header values.
All the custom errors that are generated from the Cycloid API
func NewCostEstimateTfPlanUnprocessableEntity ¶
func NewCostEstimateTfPlanUnprocessableEntity() *CostEstimateTfPlanUnprocessableEntity
NewCostEstimateTfPlanUnprocessableEntity creates a CostEstimateTfPlanUnprocessableEntity with default headers values
func (*CostEstimateTfPlanUnprocessableEntity) Error ¶
func (o *CostEstimateTfPlanUnprocessableEntity) Error() string
func (*CostEstimateTfPlanUnprocessableEntity) GetPayload ¶
func (o *CostEstimateTfPlanUnprocessableEntity) GetPayload() *models.ErrorPayload