spinner

package
v0.0.451-pre-2 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Spinner

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

func Run

func Run(io *iostreams.IOStreams, msg string) (s *Spinner)

func (*Spinner) Set

func (s *Spinner) Set(msg string) string

func (*Spinner) Start

func (s *Spinner) Start()

func (*Spinner) StartWithMessage

func (s *Spinner) StartWithMessage(msg string) string

func (*Spinner) Stop

func (s *Spinner) Stop() string

func (*Spinner) StopWithMessage

func (s *Spinner) StopWithMessage(msg string) string

func (*Spinner) StopWithSuccess added in v0.0.371

func (s *Spinner) StopWithSuccess() string

Jump to

Keyboard shortcuts

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