ui

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2025 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// EnterConnectionNameMessage is the message displayed when the user is prompted to enter a connection name.
	EnterConnectionNameMessage = "Enter connection name:"

	// QuitMessage is the message displayed to show user how to quit the application.
	QuitMessage = "Press 'q' or 'esc' or Ctrl+C to quit."
)

Functions

func NewTableModel

func NewTableModel(table table.Model, onSelect func(string) tea.Msg, isListOnly bool) *tableModel

func RunWithSpinner

func RunWithSpinner(msg string, fn func() error) error

RunWithSpinner runs a Bubble Tea program with a spinner and executes the provided function.

Types

type TransitionToCreateMsg

type TransitionToCreateMsg struct {
	ConnectionType string
}

type TransitionToShellMsg

type TransitionToShellMsg struct {
	Connection conn.Connection
}

Directories

Path Synopsis
db
k8s

Jump to

Keyboard shortcuts

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