Documentation ¶
Index ¶
- Constants
- func Start(c *client.Client, accessKey, secretKey string) error
- func StartConfigure(showMessage string) (profile string, err error)
- type Choice
- type ChooserViewport
- type ConfigureModel
- type DriftsTab
- func (envs *DriftsTab) ActiveStyle() lipgloss.Style
- func (m *DriftsTab) Init() tea.Cmd
- func (envs *DriftsTab) Key() string
- func (envs *DriftsTab) Name() string
- func (envs *DriftsTab) NormalStyle() lipgloss.Style
- func (m *DriftsTab) Update(msg tea.Msg) (tea.Model, tea.Cmd)
- func (m *DriftsTab) View() string
- type EnvsTab
- type HomeTab
- type Model
- type SignInModel
- type Tab
- type Viewport
Constants ¶
View Source
const ( KeyEnter = "enter" KeyCtrlC = "ctrl+c" KeyQ = "q" KeyUp = "up" KeyDown = "down" KeyShiftTab = "shift+tab" KeyTab = "tab" KeyEsc = "esc" KeyBackspace = "backspace" )
Variables ¶
This section is empty.
Functions ¶
func StartConfigure ¶
Types ¶
type ChooserViewport ¶
type ChooserViewport struct {
// contains filtered or unexported fields
}
func NewChooserViewport ¶
func NewChooserViewport( choices []Choice, width int, height int, ) *ChooserViewport
func (*ChooserViewport) CurrentChoice ¶
func (m *ChooserViewport) CurrentChoice() Choice
func (*ChooserViewport) Init ¶
func (m *ChooserViewport) Init() tea.Cmd
func (*ChooserViewport) View ¶
func (m *ChooserViewport) View() string
type ConfigureModel ¶
type ConfigureModel struct {
// contains filtered or unexported fields
}
func (*ConfigureModel) Init ¶
func (m *ConfigureModel) Init() tea.Cmd
func (*ConfigureModel) View ¶
func (m *ConfigureModel) View() string
type DriftsTab ¶
type DriftsTab struct {
// contains filtered or unexported fields
}
func NewDriftsTab ¶
func (*DriftsTab) ActiveStyle ¶
func (*DriftsTab) NormalStyle ¶
type EnvsTab ¶
type EnvsTab struct {
// contains filtered or unexported fields
}
func NewEnvsTab ¶
func (*EnvsTab) ActiveStyle ¶
func (*EnvsTab) NormalStyle ¶
type HomeTab ¶
type HomeTab struct {
// contains filtered or unexported fields
}
func NewHomeTab ¶
func (*HomeTab) ActiveStyle ¶
func (*HomeTab) NormalStyle ¶
type SignInModel ¶
type SignInModel struct {
// contains filtered or unexported fields
}
func (*SignInModel) Init ¶
func (m *SignInModel) Init() tea.Cmd
func (*SignInModel) View ¶
func (m *SignInModel) View() string
type Viewport ¶
type Viewport struct {
// contains filtered or unexported fields
}
func NewViewport ¶
Click to show internal directories.
Click to hide internal directories.