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

Struct candidate

internal/estimate/estimator.go:154–158  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

152func applyModelSelector(entries []resources.PriceEntry, sel ModelSelector) (selected []resources.PriceEntry, effectiveRate decimal.Decimal, isAmortized bool) {
153 // Find all candidates that match the selector.
154 type candidate struct {
155 idx int
156 rate decimal.Decimal
157 amrt bool
158 }
159 var candidates []candidate
160
161 for i, e := range entries {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected