Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cmd ¶
type Cmd interface { Output() ([]byte, error) StdinPipe() (io.WriteCloser, error) }
Cmd is an interface for exec.Cmd
type GetResourcesUpdate ¶
type NewCommand ¶
type ProgressBar ¶
type ProgressBar struct {
// contains filtered or unexported fields
}
func NewProgressBar ¶
func NewProgressBar(termInfoQueryer TermInfoQueryer) *ProgressBar
func (*ProgressBar) Increment ¶
func (p *ProgressBar) Increment(i int)
func (*ProgressBar) SetTotalIncrements ¶
func (p *ProgressBar) SetTotalIncrements(increments int)
func (*ProgressBar) SetWidth ¶
func (p *ProgressBar) SetWidth(width int)
func (*ProgressBar) String ¶
func (p *ProgressBar) String() string
type Spinner ¶
func NewSpinner ¶
type TPut ¶
type TPut[C Cmd] struct { // contains filtered or unexported fields }
func NewTPut ¶
func NewTPut[C Cmd](newCommand NewCommand[C]) *TPut[C]
type TermInfoQueryer ¶
type UI ¶
type UI struct {
// contains filtered or unexported fields
}
func (*UI) SetTotalKinds ¶
func (u *UI) SetTotalKinds(count int) chan<- *GetResourcesUpdate
Click to show internal directories.
Click to hide internal directories.