tui

package
v0.0.0-...-a6d1b12 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewList

func NewList() list.Model

Types

type Model

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

func New

func New(client *app.ClientProvider) (*Model, error)

New creates new bubble tea model

func (Model) Init

func (m Model) Init() tea.Cmd

func (Model) SwitchNamespace

func (m Model) SwitchNamespace()

SwitchNamespace switches current context's namespace

func (Model) Update

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

func (Model) View

func (m Model) View() string

Jump to

Keyboard shortcuts

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