MCPcopy Create free account
hub / github.com/OverloadBlitz/cloudcent-cli / JSONTotals

Struct JSONTotals

internal/estimate/print.go:58–63  ·  view source on GitHub ↗

JSONTotals holds the cost summary for JSON output.

Source from the content-addressed store, hash-verified

56
57// JSONTotals holds the cost summary for JSON output.
58type JSONTotals struct {
59 HourlyRate string `json:"hourly_rate"`
60 MonthlyHourly string `json:"monthly_hourly"`
61 MonthlyUsage string `json:"monthly_usage,omitempty"`
62 MonthlyTotal string `json:"monthly_total"`
63}
64
65// JSONOutput is the top-level JSON structure.
66type JSONOutput struct {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected