Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CallGraph ¶
type CallGraph struct {
// contains filtered or unexported fields
}
CallGraph maintains a record of the current state of an op
func (*CallGraph) HandleEvent ¶
HandleEvent accepts an opctl event and updates the call graph appropriately
type DotLoadingSpinner ¶
type DotLoadingSpinner struct {
// contains filtered or unexported fields
}
DotLoadingSpinner is a LoadingSpinner that uses brail dots that rotate
func (DotLoadingSpinner) String ¶
func (l DotLoadingSpinner) String() string
type LoadingSpinner ¶
type LoadingSpinner interface {
String() string
}
LoadingSpinner has a string representation that indicates something's loading
type OutputManager ¶
type OutputManager struct {
// contains filtered or unexported fields
}
OutputManager allows printing a "resettable" thing at the bottom of a stream of terminal output, when a tty is used
func NewOutputManager ¶
func NewOutputManager() OutputManager
NewOutputManager returns a new OutputManager
func (*OutputManager) Clear ¶
func (o *OutputManager) Clear() error
Clear clears the last thing printed by this object
func (*OutputManager) Print ¶
func (o *OutputManager) Print(str string) error
Print prints the given string, with a preceding separator and width limited to the size of the terminal
type StaticLoadingSpinner ¶
type StaticLoadingSpinner struct{}
StaticLoadingSpinner is a LoadingSpinner that doesn't spin
func (StaticLoadingSpinner) String ¶
func (StaticLoadingSpinner) String() string