package
1.0.29-rc1
Repository: https://github.com/kubefirst/runtime.git
Documentation: pkg.go.dev

# Functions

AddTracker Add Tracker (prefered way) Return a string for the key to be used on future uses Sample of usage: progressPrinter.AddTracker("step-base", "Apply Base ", 3) no need to instanciate, it is a singleton, only one instance already started before use.
CreateTracker Initialise a tracker object Prefer `AddTracker` to create trackers, due to simplicity.
GetInstance Function used to initialize the component once in the execution.
IncrementTracker Increments a tracker based on the provided key if key is unkown it will error out.
LogMessage Prints a log message near the current active tracker.
SetupProgress prepare the progress bar setting its initial configuration Used for general initialization of tracker object and overall counter.
TotalOfTrackers Returns the number of initialized Trackers.

# Structs

ActionTracker Struct used to manage tracker object This object may evolve with more properties in th future when we have more fancier UI tools/styles.