Documentation ¶
Index ¶
- type Client
- func (a *Client) CostEstimateForms(params *CostEstimateFormsParams, authInfo runtime.ClientAuthInfoWriter) (*CostEstimateFormsOK, error)
- func (a *Client) CostEstimateTfPlan(params *CostEstimateTfPlanParams, authInfo runtime.ClientAuthInfoWriter) (*CostEstimateTfPlanOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type CostEstimateFormsDefault
- type CostEstimateFormsForbidden
- type CostEstimateFormsOK
- type CostEstimateFormsOKBody
- type CostEstimateFormsParams
- func NewCostEstimateFormsParams() *CostEstimateFormsParams
- func NewCostEstimateFormsParamsWithContext(ctx context.Context) *CostEstimateFormsParams
- func NewCostEstimateFormsParamsWithHTTPClient(client *http.Client) *CostEstimateFormsParams
- func NewCostEstimateFormsParamsWithTimeout(timeout time.Duration) *CostEstimateFormsParams
- func (o *CostEstimateFormsParams) SetBody(body *models.FormInputs)
- func (o *CostEstimateFormsParams) SetContext(ctx context.Context)
- func (o *CostEstimateFormsParams) SetHTTPClient(client *http.Client)
- func (o *CostEstimateFormsParams) SetOrganizationCanonical(organizationCanonical string)
- func (o *CostEstimateFormsParams) SetProjectCanonical(projectCanonical string)
- func (o *CostEstimateFormsParams) SetTimeout(timeout time.Duration)
- func (o *CostEstimateFormsParams) WithBody(body *models.FormInputs) *CostEstimateFormsParams
- func (o *CostEstimateFormsParams) WithContext(ctx context.Context) *CostEstimateFormsParams
- func (o *CostEstimateFormsParams) WithHTTPClient(client *http.Client) *CostEstimateFormsParams
- func (o *CostEstimateFormsParams) WithOrganizationCanonical(organizationCanonical string) *CostEstimateFormsParams
- func (o *CostEstimateFormsParams) WithProjectCanonical(projectCanonical string) *CostEstimateFormsParams
- func (o *CostEstimateFormsParams) WithTimeout(timeout time.Duration) *CostEstimateFormsParams
- func (o *CostEstimateFormsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CostEstimateFormsReader
- type CostEstimateFormsUnprocessableEntity
- 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) CostEstimateForms ¶ added in v1.0.82
func (a *Client) CostEstimateForms(params *CostEstimateFormsParams, authInfo runtime.ClientAuthInfoWriter) (*CostEstimateFormsOK, error)
CostEstimateForms Generate a set of configs based on the forms inputs
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 CostEstimateFormsDefault ¶ added in v1.0.82
type CostEstimateFormsDefault struct { /*The length of the response body in octets (8-bit bytes). */ ContentLength uint64 Payload *models.ErrorPayload // contains filtered or unexported fields }
CostEstimateFormsDefault handles this case with default header values.
The response sent when an unexpected error happened, as known as an internal server error.
func NewCostEstimateFormsDefault ¶ added in v1.0.82
func NewCostEstimateFormsDefault(code int) *CostEstimateFormsDefault
NewCostEstimateFormsDefault creates a CostEstimateFormsDefault with default headers values
func (*CostEstimateFormsDefault) Code ¶ added in v1.0.82
func (o *CostEstimateFormsDefault) Code() int
Code gets the status code for the cost estimate forms default response
func (*CostEstimateFormsDefault) Error ¶ added in v1.0.82
func (o *CostEstimateFormsDefault) Error() string
func (*CostEstimateFormsDefault) GetPayload ¶ added in v1.0.82
func (o *CostEstimateFormsDefault) GetPayload() *models.ErrorPayload
type CostEstimateFormsForbidden ¶ added in v1.0.82
type CostEstimateFormsForbidden struct { /*The length of the response body in octets (8-bit bytes). */ ContentLength uint64 Payload *models.ErrorPayload }
CostEstimateFormsForbidden handles this case with default header values.
The authenticated user cannot perform the operation because, it doesn't have permissions for such operation.
func NewCostEstimateFormsForbidden ¶ added in v1.0.82
func NewCostEstimateFormsForbidden() *CostEstimateFormsForbidden
NewCostEstimateFormsForbidden creates a CostEstimateFormsForbidden with default headers values
func (*CostEstimateFormsForbidden) Error ¶ added in v1.0.82
func (o *CostEstimateFormsForbidden) Error() string
func (*CostEstimateFormsForbidden) GetPayload ¶ added in v1.0.82
func (o *CostEstimateFormsForbidden) GetPayload() *models.ErrorPayload
type CostEstimateFormsOK ¶ added in v1.0.82
type CostEstimateFormsOK struct {
Payload *CostEstimateFormsOKBody
}
CostEstimateFormsOK handles this case with default header values.
The result of estimating the costs of a stack.
func NewCostEstimateFormsOK ¶ added in v1.0.82
func NewCostEstimateFormsOK() *CostEstimateFormsOK
NewCostEstimateFormsOK creates a CostEstimateFormsOK with default headers values
func (*CostEstimateFormsOK) Error ¶ added in v1.0.82
func (o *CostEstimateFormsOK) Error() string
func (*CostEstimateFormsOK) GetPayload ¶ added in v1.0.82
func (o *CostEstimateFormsOK) GetPayload() *CostEstimateFormsOKBody
type CostEstimateFormsOKBody ¶ added in v1.0.82
type CostEstimateFormsOKBody struct { // data // Required: true Data interface{} `json:"data"` }
CostEstimateFormsOKBody cost estimate forms o k body swagger:model CostEstimateFormsOKBody
func (*CostEstimateFormsOKBody) MarshalBinary ¶ added in v1.0.82
func (o *CostEstimateFormsOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CostEstimateFormsOKBody) UnmarshalBinary ¶ added in v1.0.82
func (o *CostEstimateFormsOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CostEstimateFormsParams ¶ added in v1.0.82
type CostEstimateFormsParams struct { /*Body The information of the filled forms for a new project. */ Body *models.FormInputs /*OrganizationCanonical A canonical of an organization. */ OrganizationCanonical string /*ProjectCanonical A canonical of a project. */ ProjectCanonical string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CostEstimateFormsParams contains all the parameters to send to the API endpoint for the cost estimate forms operation typically these are written to a http.Request
func NewCostEstimateFormsParams ¶ added in v1.0.82
func NewCostEstimateFormsParams() *CostEstimateFormsParams
NewCostEstimateFormsParams creates a new CostEstimateFormsParams object with the default values initialized.
func NewCostEstimateFormsParamsWithContext ¶ added in v1.0.82
func NewCostEstimateFormsParamsWithContext(ctx context.Context) *CostEstimateFormsParams
NewCostEstimateFormsParamsWithContext creates a new CostEstimateFormsParams object with the default values initialized, and the ability to set a context for a request
func NewCostEstimateFormsParamsWithHTTPClient ¶ added in v1.0.82
func NewCostEstimateFormsParamsWithHTTPClient(client *http.Client) *CostEstimateFormsParams
NewCostEstimateFormsParamsWithHTTPClient creates a new CostEstimateFormsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCostEstimateFormsParamsWithTimeout ¶ added in v1.0.82
func NewCostEstimateFormsParamsWithTimeout(timeout time.Duration) *CostEstimateFormsParams
NewCostEstimateFormsParamsWithTimeout creates a new CostEstimateFormsParams object with the default values initialized, and the ability to set a timeout on a request
func (*CostEstimateFormsParams) SetBody ¶ added in v1.0.82
func (o *CostEstimateFormsParams) SetBody(body *models.FormInputs)
SetBody adds the body to the cost estimate forms params
func (*CostEstimateFormsParams) SetContext ¶ added in v1.0.82
func (o *CostEstimateFormsParams) SetContext(ctx context.Context)
SetContext adds the context to the cost estimate forms params
func (*CostEstimateFormsParams) SetHTTPClient ¶ added in v1.0.82
func (o *CostEstimateFormsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the cost estimate forms params
func (*CostEstimateFormsParams) SetOrganizationCanonical ¶ added in v1.0.82
func (o *CostEstimateFormsParams) SetOrganizationCanonical(organizationCanonical string)
SetOrganizationCanonical adds the organizationCanonical to the cost estimate forms params
func (*CostEstimateFormsParams) SetProjectCanonical ¶ added in v1.0.82
func (o *CostEstimateFormsParams) SetProjectCanonical(projectCanonical string)
SetProjectCanonical adds the projectCanonical to the cost estimate forms params
func (*CostEstimateFormsParams) SetTimeout ¶ added in v1.0.82
func (o *CostEstimateFormsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the cost estimate forms params
func (*CostEstimateFormsParams) WithBody ¶ added in v1.0.82
func (o *CostEstimateFormsParams) WithBody(body *models.FormInputs) *CostEstimateFormsParams
WithBody adds the body to the cost estimate forms params
func (*CostEstimateFormsParams) WithContext ¶ added in v1.0.82
func (o *CostEstimateFormsParams) WithContext(ctx context.Context) *CostEstimateFormsParams
WithContext adds the context to the cost estimate forms params
func (*CostEstimateFormsParams) WithHTTPClient ¶ added in v1.0.82
func (o *CostEstimateFormsParams) WithHTTPClient(client *http.Client) *CostEstimateFormsParams
WithHTTPClient adds the HTTPClient to the cost estimate forms params
func (*CostEstimateFormsParams) WithOrganizationCanonical ¶ added in v1.0.82
func (o *CostEstimateFormsParams) WithOrganizationCanonical(organizationCanonical string) *CostEstimateFormsParams
WithOrganizationCanonical adds the organizationCanonical to the cost estimate forms params
func (*CostEstimateFormsParams) WithProjectCanonical ¶ added in v1.0.82
func (o *CostEstimateFormsParams) WithProjectCanonical(projectCanonical string) *CostEstimateFormsParams
WithProjectCanonical adds the projectCanonical to the cost estimate forms params
func (*CostEstimateFormsParams) WithTimeout ¶ added in v1.0.82
func (o *CostEstimateFormsParams) WithTimeout(timeout time.Duration) *CostEstimateFormsParams
WithTimeout adds the timeout to the cost estimate forms params
func (*CostEstimateFormsParams) WriteToRequest ¶ added in v1.0.82
func (o *CostEstimateFormsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CostEstimateFormsReader ¶ added in v1.0.82
type CostEstimateFormsReader struct {
// contains filtered or unexported fields
}
CostEstimateFormsReader is a Reader for the CostEstimateForms structure.
func (*CostEstimateFormsReader) ReadResponse ¶ added in v1.0.82
func (o *CostEstimateFormsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CostEstimateFormsUnprocessableEntity ¶ added in v1.0.82
type CostEstimateFormsUnprocessableEntity struct { /*The length of the response body in octets (8-bit bytes). */ ContentLength uint64 Payload *models.ErrorPayload }
CostEstimateFormsUnprocessableEntity handles this case with default header values.
All the custom errors that are generated from the Cycloid API
func NewCostEstimateFormsUnprocessableEntity ¶ added in v1.0.82
func NewCostEstimateFormsUnprocessableEntity() *CostEstimateFormsUnprocessableEntity
NewCostEstimateFormsUnprocessableEntity creates a CostEstimateFormsUnprocessableEntity with default headers values
func (*CostEstimateFormsUnprocessableEntity) Error ¶ added in v1.0.82
func (o *CostEstimateFormsUnprocessableEntity) Error() string
func (*CostEstimateFormsUnprocessableEntity) GetPayload ¶ added in v1.0.82
func (o *CostEstimateFormsUnprocessableEntity) GetPayload() *models.ErrorPayload
type CostEstimateTfPlanDefault ¶
type CostEstimateTfPlanDefault struct { /*The length of the response body in octets (8-bit bytes). */ ContentLength uint64 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 { /*The length of the response body in octets (8-bit bytes). */ ContentLength uint64 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 { /*The length of the response body in octets (8-bit bytes). */ ContentLength uint64 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