Documentation ¶
Index ¶
- Variables
- func NewChooseSDKModel(selectedIndex int) tea.Model
- func NewContainerModel(analyticsTracker analytics.Tracker, environmentsClient environments.Client, ...) tea.Model
- func NewCreateFlagModel(client flags.Client, accessToken, baseUri string) tea.Model
- func NewShowSDKInstructionsModel(environmentsClient environments.Client, flagsClient flags.Client, ...) tea.Model
- func NewToggleFlagModel(client flags.Client, accessToken string, baseUri string, flagKey string, ...) tea.Model
- type ContainerModel
Constants ¶
This section is empty.
Variables ¶
View Source
var ( BindingBack = key.NewBinding( key.WithKeys("esc"), key.WithHelp("esc", "back"), ) BindingCursorUp = key.NewBinding( key.WithKeys("up", "k"), key.WithHelp("↑/k", "up"), ) BindingCursorDown = key.NewBinding( key.WithKeys("down", "j"), key.WithHelp("↓/j", "down"), ) BindingPrevPage = key.NewBinding( key.WithKeys("left", "h", "pgup", "b", "u"), key.WithHelp("←/h/pgup", "prev page"), ) BindingNextPage = key.NewBinding( key.WithKeys("right", "l", "pgdown", "f", "d"), key.WithHelp("→/l/pgdn", "next page"), ) BindingGoToStart = key.NewBinding( key.WithKeys("home", "g"), key.WithHelp("g/home", "go to start"), ) BindingGoToEnd = key.NewBinding( key.WithKeys("end", "G"), key.WithHelp("G/end", "go to end"), ) BindingShowFullHelp = key.NewBinding( key.WithKeys("?"), key.WithHelp("?", "more"), ) BindingCloseFullHelp = key.NewBinding( key.WithKeys("?"), key.WithHelp("?", "close help"), ) BindingQuit = key.NewBinding( key.WithKeys("ctrl+c"), key.WithHelp("ctrl+c", "quit"), ) BindingFilter = key.NewBinding( key.WithKeys("/"), key.WithHelp("/", "filter"), ) )
Functions ¶
func NewChooseSDKModel ¶
func NewContainerModel ¶
func NewCreateFlagModel ¶
Types ¶
type ContainerModel ¶
type ContainerModel struct {
// contains filtered or unexported fields
}
ContainerModel is a high level container model that controls the nested models where each represents a step in the quick-start flow.
func (ContainerModel) Init ¶
func (m ContainerModel) Init() tea.Cmd
func (ContainerModel) View ¶
func (m ContainerModel) View() string
Click to show internal directories.
Click to hide internal directories.