termui

package
v0.23.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2021 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

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.BuildpackInfo) *Dashboard

func (*Dashboard) Handle added in v0.23.0

func (d *Dashboard) Handle(txt string)

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.BuildpackInfo, bldr buildr) *Detect

func (*Detect) Handle added in v0.23.0

func (d *Detect) Handle(txt string)

func (*Detect) Stop

func (d *Detect) Stop()

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) 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