ui

package
v0.30.2 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2026 License: Apache-2.0 Imports: 87 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 {
	FilePath            string
	InitialContent      string
	Client              *httpclient.Client
	Theme               *theme.Theme
	ThemeCatalog        theme.Catalog
	ActiveThemeKey      string
	Settings            config.Settings
	SettingsHandle      config.SettingsHandle
	EnvironmentSet      vars.EnvironmentSet
	EnvironmentName     string
	EnvironmentFile     string
	EnvironmentFallback string
	HTTPOptions         httpclient.Options
	GRPCOptions         grpcclient.Options
	SSHManager          *ssh.Manager
	K8sManager          *k8s.Manager
	History             history.Store
	WorkspaceRoot       string
	Recursive           bool
	Version             string
	UpdateClient        update.Client
	EnableUpdate        bool
	UpdateCmd           string
	CompareTargets      []string
	CompareBase         string
	Bindings            *bindings.Map
	Runtime             *rtrun.Runtime
}

type Model

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

func New

func New(cfg Config) Model

func (Model) Init

func (m Model) Init() tea.Cmd

func (Model) Update

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

func (Model) View

func (m Model) View() string

Source Files

Directories

Path Synopsis
Package textarea provides a heavily changed multi-line text input component for Bubble Tea applications.
Package textarea provides a heavily changed multi-line text input component for Bubble Tea applications.

Jump to

Keyboard shortcuts

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