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

Struct PricingItem

internal/api/models.go:95–103  ·  view source on GitHub ↗

PricingItem is one result row from the pricing API.

Source from the content-addressed store, hash-verified

93
94// PricingItem is one result row from the pricing API.
95type PricingItem struct {
96 Product string `json:"product"`
97 Provider string `json:"provider"`
98 Region string `json:"region"`
99 Attributes map[string]*AttrValue `json:"attributes"`
100 Prices []Price `json:"prices"`
101 MinPrice *AttrValue `json:"minPrice,omitempty"`
102 MaxPrice *AttrValue `json:"maxPrice,omitempty"`
103}
104
105// PricingAPIResponse is the top-level response from POST /pricing.
106type PricingAPIResponse struct {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected