tui

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2023 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDownloadSpinner

func NewDownloadSpinner(service conf.Service, profiling []profilingOption, description string, parent tea.Model) tea.Model

func NewNamingDialog

func NewNamingDialog(service conf.Service, profiling []profilingOption, parent tea.Model) tea.Model

func NewProfileSelector

func NewProfileSelector(service conf.Service, parentModel tea.Model) tea.Model

func NewServiceSelector

func NewServiceSelector(services []conf.Service) tea.Model

Types

type ServiceSelector

type ServiceSelector struct {
	Options []conf.Service
	// contains filtered or unexported fields
}

ServiceSelector gives a menu for the user to select the service to profile TODO add a text input and fuzzy matching

func (*ServiceSelector) Init

func (s *ServiceSelector) Init() tea.Cmd

func (*ServiceSelector) Update

func (s *ServiceSelector) Update(msg tea.Msg) (tea.Model, tea.Cmd)

func (*ServiceSelector) View

func (s *ServiceSelector) View() string

Jump to

Keyboard shortcuts

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