quickstart

package
v1.16.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 22, 2025 License: Apache-2.0 Imports: 25 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

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 NewChooseSDKModel(selectedIndex int) tea.Model

func NewContainerModel

func NewContainerModel(
	analyticsTracker analytics.Tracker,
	environmentsClient environments.Client,
	flagsClient flags.Client,
	accessToken string,
	baseURI string,
) tea.Model

func NewCreateFlagModel

func NewCreateFlagModel(client flags.Client, accessToken, baseUri string) tea.Model

func NewShowSDKInstructionsModel

func NewShowSDKInstructionsModel(
	environmentsClient environments.Client,
	flagsClient flags.Client,
	accessToken string,
	baseUri string,
	height int,
	width int,
	canonicalName string,
	displayName string,
	url string,
	sdkKind sdkmeta.Type,
	flagKey string,
	environment *environment,
) tea.Model

func NewToggleFlagModel

func NewToggleFlagModel(client flags.Client, accessToken string, baseUri string, flagKey string, sdkID string) tea.Model

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) Update

func (m ContainerModel) Update(msg tea.Msg) (tea.Model, tea.Cmd)

func (ContainerModel) View

func (m ContainerModel) View() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL