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

Struct resultGroup

internal/estimate/print.go:204–206  ·  view source on GitHub ↗

resultGroup holds one or more EstimateResults that share the same resource name. When a resource produces multiple pricing queries (e.g. Lambda → Requests + Duration), they are rendered under a single resource header.

Source from the content-addressed store, hash-verified

202// When a resource produces multiple pricing queries (e.g. Lambda → Requests + Duration),
203// they are rendered under a single resource header.
204type resultGroup struct {
205 results []resources.EstimateResult
206}
207
208// groupResults groups consecutive results that share the same ResourceName
209// and have a non-empty SubLabel. Ungrouped results (SubLabel == "") get their

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected