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

Struct PricingView

internal/tui/views/pricing.go:113–132  ·  view source on GitHub ↗

PricingView holds all state for the pricing screen.

Source from the content-addressed store, hash-verified

111
112// PricingView holds all state for the pricing screen.
113type PricingView struct {
114 ActiveSection PricingSection
115 BuilderFocus BuilderFocus
116 CommandBuilder CommandBuilderState
117 Items []PricingDisplayItem
118 FilteredItems []PricingDisplayItem
119 Selected int
120 ResultsPage int
121 ResultsPerPage int
122 Loading bool
123 ErrorMessage string
124 SuggestionsCache []semantic.SuggestionItem
125 SuggestionIndex int // -1 = none
126 SuggestionScroll int // first visible row in the suggestion grid
127 HScrollOffset int // index into scrollable attr columns
128 scrollColCount int // total scrollable attr columns, set each Render
129 Options *PricingOptions
130 Width int
131 Height int
132}
133
134// PricingOptions mirrors the Rust PricingOptions struct.
135type PricingOptions struct {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected