Documentation ¶
Index ¶
Constants ¶
View Source
const ClearLine = "\r\033[K"
View Source
const Frames = `⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏`
View Source
const ProgressBarWidth = 30
Variables ¶
This section is empty.
Functions ¶
func AugmentStarterClusterType ¶
func AugmentStarterClusterType(starterClusterCreateClusterType string) (models.ClusterType, error)
func AugmentZoneType ¶ added in v1.4.0
func Print ¶
func Print(request PrintRequest)
Types ¶
type LoadingIndicator ¶
type LoadingIndicator struct {
// contains filtered or unexported fields
}
func NewLoadingIndicator ¶
func NewLoadingIndicator(message string, totalSteps int) *LoadingIndicator
func (*LoadingIndicator) SetStep ¶
func (s *LoadingIndicator) SetStep(message string, currentStep int)
func (*LoadingIndicator) Start ¶
func (s *LoadingIndicator) Start()
func (*LoadingIndicator) Stop ¶
func (s *LoadingIndicator) Stop() string
type PrintRequest ¶
type PrintRequest struct { Rows []table.Row Header table.Row Data interface{} PrintStyle PrintStyle }
type PrintStyle ¶
type PrintStyle string
const ( PrintStyleDefault PrintStyle = "default" PrintStyleCsv PrintStyle = "csv" PrintStyleHtml PrintStyle = "html" PrintStyleMarkdown PrintStyle = "markdown" PrintStyleJson PrintStyle = "json" )
Click to show internal directories.
Click to hide internal directories.