ui

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Host         string
	DockerHost   string
	Username     string
	IdentityFile string
	AskPassword  bool
}

type UI

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

func New

func New(cfg Config) (*UI, error)

New initializes the UI components and returns a UI instance. It does not start the TUI application; the caller must call Run() to do so. Note that the caller is responsible for calling Close() on the UI to clean up resources after Run() returns.

func (*UI) Close

func (ui *UI) Close() error

func (*UI) Run

func (ui *UI) Run(ctx context.Context) error

Run starts the TUI application and blocks until it exits.

Jump to

Keyboard shortcuts

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