Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CloudPricing ¶
type CloudPricing struct { Compute map[Region]map[InstanceType]*InstancePricing `json:"compute"` ManagedDB map[Region]map[Engine]map[InstanceType]*DBInstancePricing `json:"managed_db"` ManagedCache map[Region]map[Engine]map[InstanceType]*InstancePricing `json:"managed_cache"` InternetEgress map[Region]map[StartUsageAmountGB]float64 `json:"internet_egress"` IntraRegionDataTransfer map[Region]DataTransferPricing `json:"inter_region_data_transfer"` }
type DBDeploymentOption ¶ added in v0.17.6
type DBDeploymentOption string
type DBInstancePricing ¶ added in v0.17.6
type DBInstancePricing struct { SingleAz *InstancePricing `json:"single_az"` MultiAz *InstancePricing `json:"multi_az"` }
type DataTransferPricing ¶ added in v1.4.1
type InstancePricing ¶
type InstanceType ¶ added in v0.17.6
type InstanceType string
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
func NewManager ¶
func (*Manager) GetDataTransferPrice ¶ added in v1.4.1
func (mgr *Manager) GetDataTransferPrice(node *model.Node) *model.DataTransferPrice
type Model ¶
type Model struct { AWS *CloudPricing `json:"aws"` GCP *CloudPricing `json:"gcp"` Azure *CloudPricing `json:"azure"` // contains filtered or unexported fields }
type PurchaseOption ¶ added in v0.17.6
type PurchaseOption string
type StartUsageAmountGB ¶ added in v1.4.1
type StartUsageAmountGB int64
Click to show internal directories.
Click to hide internal directories.