model

package
v0.0.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 9, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CostContainerEntries

type CostContainerEntries = map[string]CostEntry

type CostContainers

type CostContainers = map[string]CostWithEstimation

type CostControllerEntries

type CostControllerEntries = map[string]CostEntry

type CostControllers

type CostControllers = map[string]CostWithEstimation

type CostEntry

type CostEntry struct {
	Cpu     float64 `json:"cpu"`
	Ram     float64 `json:"ram"`
	Storage float64 `json:"storage"`
}

type CostOverview

type CostOverview = map[CostType]CostWithEstimation

type CostOverviewEntries

type CostOverviewEntries = map[CostType]CostEntry

type CostTree

type CostTree map[string]CostWithChildren

type CostType

type CostType = string
const CostTypeAnalytics CostType = "analytics"
const CostTypeImports CostType = "imports"

type CostWithChildren

type CostWithChildren struct {
	CostWithEstimation
	Children map[string]CostWithChildren `json:"children"`
}

type CostWithEstimation

type CostWithEstimation struct {
	Month           CostEntry `json:"month"`
	EstimationMonth CostEntry `json:"estimation_month"`
}

type Estimation

type Estimation struct {
	Min    float64 `json:"min"`
	Mean   float64 `json:"mean"`
	Median float64 `json:"median"`
	Max    float64 `json:"max"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL