tui

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2026 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewModel

func NewModel(cfg Config) model

NewModel creates a new model wired to real Docker data.

func Run

func Run(cfg Config) error

Run starts the TUI program with the given configuration.

Types

type Config

type Config struct {
	ImageRef string
	Resolver image.Resolver
	NoCache  bool
	// Platform is the canonical "os/arch[/variant]" string the user passed
	// via --platform, or "" when no pin was set. Display-only: shown in the
	// header so the operator knows which variant of a multi-platform image
	// is on screen. Resolver behaviour is governed by image.WithPlatform,
	// not this field.
	Platform string
}

Config holds the parameters needed to start the TUI.

Jump to

Keyboard shortcuts

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