ui

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2025 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfigInput

type ConfigInput struct {
	// contains filtered or unexported fields
}

func NewConfigInput

func NewConfigInput(configs map[string]config.ConfigRequirement) *ConfigInput

func (*ConfigInput) Done

func (m *ConfigInput) Done() bool

func (*ConfigInput) GetConfigs

func (m *ConfigInput) GetConfigs() map[string]string

func (*ConfigInput) Init

func (m *ConfigInput) Init() tea.Cmd

func (*ConfigInput) Update

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

func (*ConfigInput) View

func (m *ConfigInput) View() string

type ProviderSelector

type ProviderSelector struct {
	// contains filtered or unexported fields
}

func NewProviderSelector

func NewProviderSelector(providers []string) *ProviderSelector

func (*ProviderSelector) Init

func (m *ProviderSelector) Init() tea.Cmd

func (*ProviderSelector) Selected

func (m *ProviderSelector) Selected() string

func (*ProviderSelector) Update

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

func (*ProviderSelector) View

func (m *ProviderSelector) View() string

Jump to

Keyboard shortcuts

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