MCPcopy Create free account

hub / github.com/OverloadBlitz/cloudcent-cli / types & classes

Types & classes75 in github.com/OverloadBlitz/cloudcent-cli

StructApp
── App model ─────────────────────────────────────────────────────────────────
internal/tui/app.go:58
StructAttrValue
AttrValue is a JSON value that can be string, number, array, bool, or null.
internal/api/models.go:6
TypeAliasAuthState
AuthState tracks the auth onboarding flow.
internal/tui/app.go:30
TypeAliasBatchPricingApiResponse
BatchPricingApiResponse is the top-level response from POST /pricing/batch. The API returns a JSON object keyed by product (e.g. {"ec2": [...]}).
internal/api/models.go:113
StructBatchPricingRequest
internal/api/models.go:129
StructBatchPricingRequestItem
internal/api/models.go:121
TypeAliasBuilderFocus
BuilderFocus tracks whether focus is on the input field or suggestions.
internal/tui/views/pricing.go:26
StructClient
Client is the CloudCent HTTP client.
internal/api/client.go:25
StructCommandBuilderState
CommandBuilderState holds the structured query builder state.
internal/tui/views/pricing.go:34
StructConfig
Config holds CLI authentication credentials.
internal/config/config.go:12
StructDB
DB wraps an SQLite connection.
internal/db/db.go:19
StructDecodedResource
internal/pulumi/resources/model.go:16
StructEstimateResult
internal/pulumi/resources/model.go:55
StructExchangeResponse
ExchangeResponse is the response from POST /api/auth/exchange.
internal/api/models.go:190
StructGenerateTokenResponse
GenerateTokenResponse is the response from POST /api/auth/generate-token.
internal/api/models.go:158
StructGuardrailConfig
GuardrailConfig holds the thresholds a cost estimate is judged against. All fields are optional pointers: a nil pointer means "this check is disabled"
internal/estimate/guardrail.go:12
StructGuardrailResult
GuardrailResult is the machine-readable verdict embedded in JSON output and consumed by CI to decide pass/fail.
internal/estimate/guardrail.go:33
TypeAliasHistoryEvent
internal/tui/views/history.go:20
TypeAliasHistorySection
internal/tui/views/history.go:13
StructHistoryView
internal/tui/views/history.go:31
StructJSONOutput
JSONOutput is the top-level JSON structure.
internal/estimate/print.go:66
StructJSONPriceEntry
JSONPriceEntry is one pricing option for JSON output.
internal/estimate/print.go:24
StructJSONResource
JSONResource is one resource entry for JSON output.
internal/estimate/print.go:36
StructJSONTier
JSONTier is a single volume-pricing tier for JSON output.
internal/estimate/print.go:17
StructJSONTotals
JSONTotals holds the cost summary for JSON output.
internal/estimate/print.go:58
StructMetadataResponse
MetadataResponse is the response from GET /pricing/metadata.
internal/api/models.go:134
StructMockGRPCServer
MockGRPCServer starts both ResourceMonitor and Engine gRPC servers on random localhost ports and returns their addresses.
internal/pulumi/mock_resource_collector.go:973
StructModelSelector
ModelSelector specifies which pricing model to use for a resource. All fields are case-insensitive. Empty fields are treated as wildcards.
internal/estimate/estimator.go:109
StructPrice
Price is a single pricing model entry.
internal/api/models.go:84
StructPriceEntry
PriceEntry is one pricing option for a resource.
internal/pulumi/resources/model.go:36
StructPriceInfo
internal/tui/views/pricing.go:101
StructPriceRate
PriceRate is a single tier within a price model.
internal/api/models.go:77
StructPricingAPIResponse
PricingAPIResponse is the top-level response from POST /pricing.
internal/api/models.go:106
StructPricingDisplayItem
PricingDisplayItem is a processed result row for display.
internal/tui/views/pricing.go:85
TypeAliasPricingEvent
PricingEvent is returned from HandleKey.
internal/tui/views/pricing.go:192
StructPricingItem
PricingItem is one result row from the pricing API.
internal/api/models.go:95
StructPricingOptions
PricingOptions mirrors the Rust PricingOptions struct.
internal/tui/views/pricing.go:135
StructPricingRequest
PricingRequest is the POST body for /pricing.
internal/api/models.go:116
TypeAliasPricingSection
PricingSection tracks keyboard focus within the Pricing view.
internal/tui/views/pricing.go:17
StructPricingView
PricingView holds all state for the pricing screen.
internal/tui/views/pricing.go:113
StructPulumiAttrMapping
PulumiAttrMapping maps a canonical pricing attribute to a Pulumi input field.
internal/api/models.go:151
TypeAliasPulumiEvent
internal/tui/views/pulumi.go:19
StructPulumiResourceDef
PulumiResourceDef describes how to decode a Pulumi resource type for pricing.
internal/api/models.go:144
TypeAliasPulumiSection
internal/tui/views/pulumi.go:12
StructPulumiView
internal/tui/views/pulumi.go:28
StructQueryHistory
QueryHistory is a single history entry.
internal/db/db.go:24
StructRateInfo
internal/tui/views/pricing.go:95
StructRateTier
RateTier is a single tier within volume-based pricing.
internal/pulumi/resources/model.go:49
StructResourceCollector
ResourceCollector is a gRPC ResourceMonitor server that intercepts all resources that's why not cloud creds are needed
internal/pulumi/mock_resource_collector.go:22
StructResourceRecord
internal/pulumi/resources/model.go:8
TypeAliasSettingsEvent
internal/tui/views/settings.go:19
TypeAliasSettingsSection
internal/tui/views/settings.go:12
StructSettingsView
internal/tui/views/settings.go:28
StructSuggestionItem
SuggestionItem is a single entry in a suggestion list.
internal/semantic/semantic.go:62
TypeAliasViewMode
ViewMode tracks which view is active.
internal/tui/app.go:20
StructauthResultMsg
── Messages ─────────────────────────────────────────────────────────────────
internal/tui/app.go:41
InterfacebatchPricingFetcher
internal/estimate/estimator.go:14
Structcandidate
internal/estimate/estimator.go:154
Structgroup
internal/pulumi/mapper.go:100
StructguardrailBreachError
guardrailBreachError signals that a cost guardrail threshold was exceeded. Execute() maps it to exit code 2 (distinct from 1 = runtime error).
cmd/pulumi.go:452
StructmetadataReadyMsg
internal/tui/app.go:47
StructmockEngineServer
mockEngineServer handles Engine gRPC calls (logging, root resource).
internal/pulumi/mock_resource_collector.go:926
StructpricingResultMsg
internal/tui/app.go:49
StructprogramError
programError wraps a user-program execution failure and carries the captured stderr.
cmd/pulumi.go:803
StructpulumiProjectInfo
cmd/pulumi.go:124
StructpulumiRuntime
cmd/pulumi.go:95
StructpulumiYAML
pulumiYAML is the minimal subset of Pulumi.yaml we need.
cmd/pulumi.go:82
StructpulumiYAMLTemplate
cmd/pulumi.go:87
StructpulumiYAMLTemplateConfig
cmd/pulumi.go:91
StructresultGroup
resultGroup holds one or more EstimateResults that share the same resource name. When a resource produces multiple pricing queries (e.g. Lambda → Requ
internal/estimate/print.go:204
FuncTyperoundTripFunc
func(*http.Request) (*http.Response, error)
internal/api/client_test.go:15
Structrow
Build one row per result — billable, free, and unsupported all included.
internal/estimate/print.go:704
Structscored
internal/semantic/semantic.go:131
StructstubBatchPricingClient
internal/estimate/estimator_test.go:11
StructtickMsg
internal/tui/app.go:54