termui

package
v0.34.0-rc1 Latest Latest
Warning

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

Go to latest
Published: May 23, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Branches added in v0.23.0

type Branches []Symbol

func (Branches) Add added in v0.23.0

func (b Branches) Add(s Symbol) Branches

func (Branches) String added in v0.23.0

func (b Branches) String() string

type Dashboard added in v0.23.0

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

func NewDashboard added in v0.23.0

func NewDashboard(app app, appName string, bldr buildr, runImageName string, buildpackInfo []dist.ModuleInfo, logs []string) *Dashboard

func (*Dashboard) Handle added in v0.23.0

func (d *Dashboard) Handle(txt string)

func (*Dashboard) SetNodes added in v0.23.0

func (d *Dashboard) SetNodes(nodes map[string]*tview.TreeNode)

func (*Dashboard) Stop added in v0.23.0

func (d *Dashboard) Stop()

type Detect

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

func NewDetect

func NewDetect(app app, buildpackChan chan dist.ModuleInfo, bldr buildr) *Detect

func (*Detect) Handle added in v0.23.0

func (d *Detect) Handle(txt string)

func (*Detect) SetNodes added in v0.23.0

func (d *Detect) SetNodes(map[string]*tview.TreeNode)

func (*Detect) Stop

func (d *Detect) Stop()

type Dive added in v0.23.0

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

func NewDive added in v0.23.0

func NewDive(app app, buildpackInfo []dist.ModuleInfo, selectedBuildpack dist.ModuleInfo, nodes map[string]*tview.TreeNode, escHandler func()) *Dive

type Symbol added in v0.23.0

type Symbol int
const (
	NoBranchSymbol Symbol = iota
	BranchSymbol
	MiddleBranchSymbol
	LastBranchSymbol
)

func (Symbol) String added in v0.23.0

func (s Symbol) String() string

type Termui

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

func NewTermui

func NewTermui(appName string, bldr *builder.Builder, runImageName string) *Termui

func (*Termui) Debug

func (s *Termui) Debug(msg string)

func (*Termui) Debugf

func (s *Termui) Debugf(fmt string, v ...interface{})

func (*Termui) Error

func (s *Termui) Error(msg string)

func (*Termui) Errorf

func (s *Termui) Errorf(fmt string, v ...interface{})

func (*Termui) Handler

func (s *Termui) Handler() container.Handler

func (*Termui) Info

func (s *Termui) Info(msg string)

func (*Termui) Infof

func (s *Termui) Infof(fmt string, v ...interface{})

func (*Termui) IsVerbose

func (s *Termui) IsVerbose() bool

func (*Termui) ReadLayers added in v0.23.0

func (s *Termui) ReadLayers(reader io.ReadCloser) error

func (*Termui) Run

func (s *Termui) Run(funk func()) error

Run starts the terminal UI process in the foreground and the passed in function in the background

func (*Termui) Warn

func (s *Termui) Warn(msg string)

func (*Termui) Warnf

func (s *Termui) Warnf(fmt string, v ...interface{})

func (*Termui) Writer

func (s *Termui) Writer() io.Writer

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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