Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DieOnError ¶
func GetHTMLReportPath ¶
Types ¶
type HTMLPageData ¶
type HTMLPageData struct { Title string ClusterName string Provider string CASettings gsc.CASettingsInfo UnscheduledPodCount int NodeGroups []gsc.NodeGroupInfo CAScaleUpRows []ScalingRow SRScaleUpRows []ScalingRow TotalCosts TotalCosts }
type ScalingRow ¶
type ScalingRow struct { Name string Count int InstanceType string Cost string CPU string Memory string }
rows = append(rows, []string{ng, fmt.Sprint(count), instanceType, fmt.Sprintf("$%.2f", cost), cpu.String(), fmt.Sprintf("%.2f GiB", float64(memory.Value())/1024/1024/1024)})
type TotalCosts ¶
Click to show internal directories.
Click to hide internal directories.