Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CostControllerEntries ¶
type CostControllers ¶
type CostControllers = map[string]CostWithEstimation
type CostEntry ¶
type CostOverview ¶
type CostOverview = map[CostType]CostWithEstimation
type CostOverviewEntries ¶
type CostTree ¶
type CostTree map[string]CostWithChildren
type CostType ¶
type CostType = string
const CostTypeAnalytics CostType = "analytics"
const CostTypeApiCalls CostType = "API Calls"
const CostTypeDevices CostType = "Devices"
const CostTypeExports CostType = "Exports"
const CostTypeImports CostType = "imports"
const CostTypeProcesses CostType = "process"
type CostWithChildren ¶
type CostWithChildren struct { CostWithEstimation Children map[string]CostWithChildren `json:"children,omitempty"` }
type CostWithEstimation ¶
type CostWithEstimation struct { Month CostEntry `json:"month"` EstimationMonth CostEntry `json:"estimation_month"` }
func (*CostWithEstimation) Add ¶
func (a *CostWithEstimation) Add(b CostWithEstimation)
type Estimation ¶
type PricingModel ¶
type PricingModel struct { CPU float64 `json:"CPU"` RAM float64 `json:"RAM"` Storage float64 `json:"storage"` }
func GetPricingModel ¶
func GetPricingModel(filePath string) (model PricingModel, err error)
Click to show internal directories.
Click to hide internal directories.