view

package
v0.0.0-...-08e5b78 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Base

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

func (*Base) Active

func (v *Base) Active() bool

func (*Base) Focused

func (v *Base) Focused() bool

type Help

type Help struct {
	*Base
	// contains filtered or unexported fields
}

func NewHelp

func NewHelp(app types.App, keys *model.KeyMap) *Help

func (*Help) Init

func (v *Help) Init() tea.Cmd

func (*Help) Update

func (v *Help) Update(msg tea.Msg) (tea.Model, tea.Cmd)

func (*Help) View

func (v *Help) View() string

type Pipelines

type Pipelines struct {
	*Base
	// contains filtered or unexported fields
}

func NewPipelines

func NewPipelines(app types.App) *Pipelines

func (*Pipelines) Init

func (v *Pipelines) Init() tea.Cmd

func (*Pipelines) Update

func (v *Pipelines) Update(msg tea.Msg) (tea.Model, tea.Cmd)

func (*Pipelines) UpdateRows

func (v *Pipelines) UpdateRows()

func (*Pipelines) View

func (v *Pipelines) View() string

type Root

type Root struct {
	*Base
}

func NewRoot

func NewRoot(app types.App) *Root

func (*Root) Init

func (v *Root) Init() tea.Cmd

func (*Root) Update

func (v *Root) Update(msg tea.Msg) (tea.Model, tea.Cmd)

func (*Root) View

func (v *Root) View() string

type Targets

type Targets struct {
	*Base
	// contains filtered or unexported fields
}

func NewTargets

func NewTargets(app types.App) *Targets

func (*Targets) Init

func (v *Targets) Init() tea.Cmd

func (*Targets) Update

func (v *Targets) Update(msg tea.Msg) (tea.Model, tea.Cmd)

func (*Targets) UpdateRows

func (v *Targets) UpdateRows()

func (*Targets) View

func (v *Targets) View() string

type View

type View interface {
	tea.Model

	Active() bool
}

Jump to

Keyboard shortcuts

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