Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OverloadBlitz/cloudcent-cli
/ types & classes
Types & classes
75 in github.com/OverloadBlitz/cloudcent-cli
⨍
Functions
368
◇
Types & classes
75
Struct
App
── App model ─────────────────────────────────────────────────────────────────
internal/tui/app.go:58
Struct
AttrValue
AttrValue is a JSON value that can be string, number, array, bool, or null.
internal/api/models.go:6
TypeAlias
AuthState
AuthState tracks the auth onboarding flow.
internal/tui/app.go:30
TypeAlias
BatchPricingApiResponse
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
Struct
BatchPricingRequest
internal/api/models.go:129
Struct
BatchPricingRequestItem
internal/api/models.go:121
TypeAlias
BuilderFocus
BuilderFocus tracks whether focus is on the input field or suggestions.
internal/tui/views/pricing.go:26
Struct
Client
Client is the CloudCent HTTP client.
internal/api/client.go:25
Struct
CommandBuilderState
CommandBuilderState holds the structured query builder state.
internal/tui/views/pricing.go:34
Struct
Config
Config holds CLI authentication credentials.
internal/config/config.go:12
Struct
DB
DB wraps an SQLite connection.
internal/db/db.go:19
Struct
DecodedResource
internal/pulumi/resources/model.go:16
Struct
EstimateResult
internal/pulumi/resources/model.go:55
Struct
ExchangeResponse
ExchangeResponse is the response from POST /api/auth/exchange.
internal/api/models.go:190
Struct
GenerateTokenResponse
GenerateTokenResponse is the response from POST /api/auth/generate-token.
internal/api/models.go:158
Struct
GuardrailConfig
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
Struct
GuardrailResult
GuardrailResult is the machine-readable verdict embedded in JSON output and consumed by CI to decide pass/fail.
internal/estimate/guardrail.go:33
TypeAlias
HistoryEvent
internal/tui/views/history.go:20
TypeAlias
HistorySection
internal/tui/views/history.go:13
Struct
HistoryView
internal/tui/views/history.go:31
Struct
JSONOutput
JSONOutput is the top-level JSON structure.
internal/estimate/print.go:66
Struct
JSONPriceEntry
JSONPriceEntry is one pricing option for JSON output.
internal/estimate/print.go:24
Struct
JSONResource
JSONResource is one resource entry for JSON output.
internal/estimate/print.go:36
Struct
JSONTier
JSONTier is a single volume-pricing tier for JSON output.
internal/estimate/print.go:17
Struct
JSONTotals
JSONTotals holds the cost summary for JSON output.
internal/estimate/print.go:58
Struct
MetadataResponse
MetadataResponse is the response from GET /pricing/metadata.
internal/api/models.go:134
Struct
MockGRPCServer
MockGRPCServer starts both ResourceMonitor and Engine gRPC servers on random localhost ports and returns their addresses.
internal/pulumi/mock_resource_collector.go:973
Struct
ModelSelector
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
Struct
Price
Price is a single pricing model entry.
internal/api/models.go:84
Struct
PriceEntry
PriceEntry is one pricing option for a resource.
internal/pulumi/resources/model.go:36
Struct
PriceInfo
internal/tui/views/pricing.go:101
Struct
PriceRate
PriceRate is a single tier within a price model.
internal/api/models.go:77
Struct
PricingAPIResponse
PricingAPIResponse is the top-level response from POST /pricing.
internal/api/models.go:106
Struct
PricingDisplayItem
PricingDisplayItem is a processed result row for display.
internal/tui/views/pricing.go:85
TypeAlias
PricingEvent
PricingEvent is returned from HandleKey.
internal/tui/views/pricing.go:192
Struct
PricingItem
PricingItem is one result row from the pricing API.
internal/api/models.go:95
Struct
PricingOptions
PricingOptions mirrors the Rust PricingOptions struct.
internal/tui/views/pricing.go:135
Struct
PricingRequest
PricingRequest is the POST body for /pricing.
internal/api/models.go:116
TypeAlias
PricingSection
PricingSection tracks keyboard focus within the Pricing view.
internal/tui/views/pricing.go:17
Struct
PricingView
PricingView holds all state for the pricing screen.
internal/tui/views/pricing.go:113
Struct
PulumiAttrMapping
PulumiAttrMapping maps a canonical pricing attribute to a Pulumi input field.
internal/api/models.go:151
TypeAlias
PulumiEvent
internal/tui/views/pulumi.go:19
Struct
PulumiResourceDef
PulumiResourceDef describes how to decode a Pulumi resource type for pricing.
internal/api/models.go:144
TypeAlias
PulumiSection
internal/tui/views/pulumi.go:12
Struct
PulumiView
internal/tui/views/pulumi.go:28
Struct
QueryHistory
QueryHistory is a single history entry.
internal/db/db.go:24
Struct
RateInfo
internal/tui/views/pricing.go:95
Struct
RateTier
RateTier is a single tier within volume-based pricing.
internal/pulumi/resources/model.go:49
Struct
ResourceCollector
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
Struct
ResourceRecord
internal/pulumi/resources/model.go:8
TypeAlias
SettingsEvent
internal/tui/views/settings.go:19
TypeAlias
SettingsSection
internal/tui/views/settings.go:12
Struct
SettingsView
internal/tui/views/settings.go:28
Struct
SuggestionItem
SuggestionItem is a single entry in a suggestion list.
internal/semantic/semantic.go:62
TypeAlias
ViewMode
ViewMode tracks which view is active.
internal/tui/app.go:20
Struct
authResultMsg
── Messages ─────────────────────────────────────────────────────────────────
internal/tui/app.go:41
Interface
batchPricingFetcher
internal/estimate/estimator.go:14
Struct
candidate
internal/estimate/estimator.go:154
Struct
group
internal/pulumi/mapper.go:100
Struct
guardrailBreachError
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
Struct
metadataReadyMsg
internal/tui/app.go:47
Struct
mockEngineServer
mockEngineServer handles Engine gRPC calls (logging, root resource).
internal/pulumi/mock_resource_collector.go:926
Struct
pricingResultMsg
internal/tui/app.go:49
Struct
programError
programError wraps a user-program execution failure and carries the captured stderr.
cmd/pulumi.go:803
Struct
pulumiProjectInfo
cmd/pulumi.go:124
Struct
pulumiRuntime
cmd/pulumi.go:95
Struct
pulumiYAML
pulumiYAML is the minimal subset of Pulumi.yaml we need.
cmd/pulumi.go:82
Struct
pulumiYAMLTemplate
cmd/pulumi.go:87
Struct
pulumiYAMLTemplateConfig
cmd/pulumi.go:91
Struct
resultGroup
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
FuncType
roundTripFunc
func(*http.Request) (*http.Response, error)
internal/api/client_test.go:15
Struct
row
Build one row per result — billable, free, and unsupported all included.
internal/estimate/print.go:704
Struct
scored
internal/semantic/semantic.go:131
Struct
stubBatchPricingClient
internal/estimate/estimator_test.go:11
Struct
tickMsg
internal/tui/app.go:54