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

Struct PricingOptions

internal/tui/views/pricing.go:135–142  ·  view source on GitHub ↗

PricingOptions mirrors the Rust PricingOptions struct.

Source from the content-addressed store, hash-verified

133
134// PricingOptions mirrors the Rust PricingOptions struct.
135type PricingOptions struct {
136 Products []string
137 Regions []string
138 ProductRegions map[string][]string
139 ProductAttrs map[string][]string
140 AttributeValues map[string]map[string][]string
141 ProductGroups map[string]uint64
142}
143
144// ProcessMetadata builds PricingOptions from API metadata.
145func ProcessMetadata(meta *api.MetadataResponse) *PricingOptions {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected