bootstrap

package
v0.35.0 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LINE_RESET         = "\r\033[2K"
	MOVE_UP            = "\033[1A"
	MOVE_UP_CLEAR_LINE = "\033[1A\033[K"
	RESET_TEXT         = "\033[0m"
	RED_TEXT           = "\033[31m"
	GREEN_TEXT         = "\033[32m"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type StepLogger added in v0.32.1

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

func NewStepLogger added in v0.32.1

func NewStepLogger(silent bool) *StepLogger

func (*StepLogger) LogRetry added in v0.32.1

func (b *StepLogger) LogRetry()

LogRetry prints a retry message for the current step.

func (*StepLogger) Logf added in v0.32.1

func (b *StepLogger) Logf(message string, args ...interface{})

Logf prints a log message for the current step.

func (*StepLogger) Step added in v0.32.1

func (b *StepLogger) Step(name string, fn func() error) error

func (*StepLogger) Substep added in v0.32.1

func (b *StepLogger) Substep(name string, fn func() error) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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