Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AwsAccessCredential ¶
type AwsAccessCredential struct { // bucket arn BucketArn string `json:"bucket_arn,omitempty"` // cross account arn CrossAccountArn string `json:"cross_account_arn,omitempty"` // id ID int32 `json:"id,omitempty"` }
AwsAccessCredential AwsAccessCredential model
swagger:model AwsAccessCredential
func (*AwsAccessCredential) ContextValidate ¶
ContextValidate validates this aws access credential based on context it is used
func (*AwsAccessCredential) MarshalBinary ¶
func (m *AwsAccessCredential) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AwsAccessCredential) UnmarshalBinary ¶
func (m *AwsAccessCredential) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AwsIamPolicies ¶
type AwsIamPolicies struct { // autopilot Autopilot string `json:"autopilot,omitempty"` // cloudwatch Cloudwatch string `json:"cloudwatch,omitempty"` // resources Resources string `json:"resources,omitempty"` // root Root string `json:"root,omitempty"` }
AwsIamPolicies aws iam policies
swagger:model AwsIamPolicies
func (*AwsIamPolicies) ContextValidate ¶
ContextValidate validates this aws iam policies based on context it is used
func (*AwsIamPolicies) MarshalBinary ¶
func (m *AwsIamPolicies) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AwsIamPolicies) UnmarshalBinary ¶
func (m *AwsIamPolicies) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AwsProviderCredential ¶
type AwsProviderCredential struct { // external id ExternalID string `json:"external_id,omitempty"` // iam role arn IamRoleArn string `json:"iam_role_arn,omitempty"` // iam role id IamRoleID string `json:"iam_role_id,omitempty"` // policies Policies *AwsIamPolicies `json:"policies,omitempty"` }
AwsProviderCredential AwsProviderCredential model
swagger:model AwsProviderCredential
func (*AwsProviderCredential) ContextValidate ¶
ContextValidate validate this aws provider credential based on the context it is used
func (*AwsProviderCredential) MarshalBinary ¶
func (m *AwsProviderCredential) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AwsProviderCredential) UnmarshalBinary ¶
func (m *AwsProviderCredential) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Costs ¶
type Costs struct { // costs Costs []string `json:"costs"` // The currency both the total and cost amount values are represented in. e.g. USD Currency string `json:"currency,omitempty"` // links Links interface{} `json:"links,omitempty"` // The sum of all amounts of costs for the entire report for the requested period. Total string `json:"total,omitempty"` }
Costs Costs model
swagger:model Costs
func (*Costs) ContextValidate ¶
ContextValidate validates this costs based on context it is used
func (*Costs) MarshalBinary ¶
MarshalBinary interface implementation
func (*Costs) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type PostIntegrationsAws ¶
type PostIntegrationsAws struct { // The bucket where AWS CUR can be accessed. BucketArn string `json:"bucket_arn,omitempty"` // ARN of the role that has cross account access granted for the vantage role. // Required: true CrossAccountArn *string `json:"cross_account_arn"` }
PostIntegrationsAws Create AWS integration.
swagger:model postIntegrationsAws
func (*PostIntegrationsAws) ContextValidate ¶
ContextValidate validates this post integrations aws based on context it is used
func (*PostIntegrationsAws) MarshalBinary ¶
func (m *PostIntegrationsAws) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PostIntegrationsAws) UnmarshalBinary ¶
func (m *PostIntegrationsAws) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Price ¶
type Price struct { // The amount of money this specific product price costs. // Example: 1.324 Amount float64 `json:"amount,omitempty"` // The currency of the amount. // Example: USD Currency string `json:"currency,omitempty"` // Service specific metadata. // Example: {"lifecycle":"on-demand","platform":"linux-enterprise"} Details interface{} `json:"details,omitempty"` // id ID string `json:"id,omitempty"` // The part of the product the price applies to. (compute, transfer, etc..) // Example: compute RateType string `json:"rate_type,omitempty"` // The region the price is specific to. // Example: us-east-1 Region string `json:"region,omitempty"` // The unit in which the amount is billed. // Example: hour Unit string `json:"unit,omitempty"` }
Price Price model
swagger:model Price
func (*Price) ContextValidate ¶
ContextValidate validates this price based on context it is used
func (*Price) MarshalBinary ¶
MarshalBinary interface implementation
func (*Price) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Prices ¶
type Prices struct { // links Links interface{} `json:"links,omitempty"` // prices Prices []*Price `json:"prices"` }
Prices Prices model
swagger:model Prices
func (*Prices) ContextValidate ¶
ContextValidate validate this prices based on the context it is used
func (*Prices) MarshalBinary ¶
MarshalBinary interface implementation
func (*Prices) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Product ¶
type Product struct { // The category of the cloud product // Example: compute Category string `json:"category,omitempty"` // An object of metadata about the product. // Example: {"clock_speed_ghz":3.1,"gpu":0,"memory":256,"name":"M5 General Purpose 16xlarge","network_performance_description":"20 Gigabit","physical_processor_description":"Intel Xeon Platinum 8175 (Skylake)","vcpu":64} Details interface{} `json:"details,omitempty"` // id ID string `json:"id,omitempty"` // The common name of the product. // Example: EC2 Name string `json:"name,omitempty"` // A unique slug for the provider the product belongs to. // Example: aws ProviderID string `json:"provider_id,omitempty"` // A unique slug for the service the product belongs to. // Example: aws-ec2 ServiceID string `json:"service_id,omitempty"` }
Product Product model
swagger:model Product
func (*Product) ContextValidate ¶
ContextValidate validates this product based on context it is used
func (*Product) MarshalBinary ¶
MarshalBinary interface implementation
func (*Product) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Products ¶
type Products struct { // links Links interface{} `json:"links,omitempty"` // products Products []*Product `json:"products"` }
Products Products model
swagger:model Products
func (*Products) ContextValidate ¶
ContextValidate validate this products based on the context it is used
func (*Products) MarshalBinary ¶
MarshalBinary interface implementation
func (*Products) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Provider ¶
type Provider struct { // The full descriptive name of the provider. // Example: Amazon Web Services Description string `json:"description,omitempty"` // id ID string `json:"id,omitempty"` // The common name of the provider. // Example: AWS Name string `json:"name,omitempty"` }
Provider provider
swagger:model Provider
func (*Provider) ContextValidate ¶
ContextValidate validates this provider based on context it is used
func (*Provider) MarshalBinary ¶
MarshalBinary interface implementation
func (*Provider) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Providers ¶
type Providers struct { // links Links interface{} `json:"links,omitempty"` // providers Providers []*Provider `json:"providers"` }
Providers Providers model
swagger:model Providers
func (*Providers) ContextValidate ¶
ContextValidate validate this providers based on the context it is used
func (*Providers) MarshalBinary ¶
MarshalBinary interface implementation
func (*Providers) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type PutIntegrationsAws ¶
type PutIntegrationsAws struct { // The bucket where AWS CUR can be accessed. BucketArn string `json:"bucket_arn,omitempty"` // ARN of the role that has cross account access granted for the vantage role. // Required: true CrossAccountArn *string `json:"cross_account_arn"` }
PutIntegrationsAws Update AWS integration.
swagger:model putIntegrationsAws
func (*PutIntegrationsAws) ContextValidate ¶
ContextValidate validates this put integrations aws based on context it is used
func (*PutIntegrationsAws) MarshalBinary ¶
func (m *PutIntegrationsAws) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PutIntegrationsAws) UnmarshalBinary ¶
func (m *PutIntegrationsAws) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Report ¶
type Report struct { // The date and time, in UTC, the report was created. ISO 8601 Formatted. // Example: 2021-07-09T00:00:00Z CreatedAt string `json:"created_at,omitempty"` // The date and time, in UTC, the report was created. ISO 8601 Formatted. // Example: 2021-07-09T00:00:00Z EarliestCostDate string `json:"earliest_cost_date,omitempty"` // id ID string `json:"id,omitempty"` // The date and time, in UTC, the report was created. ISO 8601 Formatted. // Example: 2021-07-09T00:00:00Z LatestCostDate string `json:"latest_cost_date,omitempty"` // The title of the cost report. // Example: Production Environment Title string `json:"title,omitempty"` // The name of the workspace the report is a part of. Workspace string `json:"workspace,omitempty"` }
Report Report model
swagger:model Report
func (*Report) ContextValidate ¶
ContextValidate validates this report based on context it is used
func (*Report) MarshalBinary ¶
MarshalBinary interface implementation
func (*Report) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Reports ¶
type Reports struct { // links Links interface{} `json:"links,omitempty"` // reports Reports []*Report `json:"reports"` }
Reports Reports model
swagger:model Reports
func (*Reports) ContextValidate ¶
ContextValidate validate this reports based on the context it is used
func (*Reports) MarshalBinary ¶
MarshalBinary interface implementation
func (*Reports) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Service ¶
type Service struct { // The type of cloud service. // Example: compute Category string `json:"category,omitempty"` // The full name of the service. // Example: Elastic Compute Cloud Description string `json:"description,omitempty"` // id ID string `json:"id,omitempty"` // The common name of the service. Usually an abbreviation. // Example: EC2 Name string `json:"name,omitempty"` }
Service service
swagger:model Service
func (*Service) ContextValidate ¶
ContextValidate validates this service based on context it is used
func (*Service) MarshalBinary ¶
MarshalBinary interface implementation
func (*Service) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Services ¶
type Services struct { // links Links interface{} `json:"links,omitempty"` // services Services []*Service `json:"services"` }
Services Services model
swagger:model Services
func (*Services) ContextValidate ¶
ContextValidate validate this services based on the context it is used
func (*Services) MarshalBinary ¶
MarshalBinary interface implementation
func (*Services) UnmarshalBinary ¶
UnmarshalBinary interface implementation