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

Struct JSONPriceEntry

internal/estimate/print.go:24–33  ·  view source on GitHub ↗

JSONPriceEntry is one pricing option for JSON output.

Source from the content-addressed store, hash-verified

22
23// JSONPriceEntry is one pricing option for JSON output.
24type JSONPriceEntry struct {
25 Model string `json:"model"`
26 PurchaseOption string `json:"purchase_option,omitempty"`
27 Term string `json:"term,omitempty"`
28 UpfrontFee string `json:"upfront_fee,omitempty"`
29 RatePerHr string `json:"rate_per_hr"`
30 Unit string `json:"unit"`
31 IsCurrent bool `json:"is_current"`
32 Tiers []JSONTier `json:"tiers,omitempty"`
33}
34
35// JSONResource is one resource entry for JSON output.
36type JSONResource struct {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected