ui

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RenderUI

func RenderUI(stacks []types.Stack, awsCfgs map[string]aws.Config, checkOnStart bool) error

func RightPadTrim

func RightPadTrim(s string, length int) string

func StackChosen

func StackChosen(index int, si stackItem) tea.Cmd

func Trim

func Trim(s string, length int) string

Types

type CheckStackStatus

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

type CredentialsRefreshedMsg

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

type DiffFinishedMsg

type DiffFinishedMsg struct{}

type Model added in v1.2.0

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

func InitialModel

func InitialModel(stacks []types.Stack, awsCfgs map[string]aws.Config, checkOnStart bool) Model

func (Model) Init added in v1.2.0

func (m Model) Init() tea.Cmd

func (Model) Update added in v1.2.0

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

func (Model) View added in v1.2.0

func (m Model) View() string

type ShowDiffFinished

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

type ShowErrorFinishedMsg

type ShowErrorFinishedMsg struct{}

type ShowFileFinished

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

type TemplateFetchedMsg

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

Jump to

Keyboard shortcuts

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