bootstrap

package
v1.209.1 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2026 License: Apache-2.0 Imports: 2 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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

func DefaultCodesphereDeployConfig added in v1.34.0

func DefaultCodesphereDeployConfig() files.DeployConfig

DefaultCodesphereDeployConfig returns a fresh copy of the default Codesphere deployConfig used by the bootstrap flows.

func DefaultCodespherePlans added in v1.34.0

func DefaultCodespherePlans() files.PlansConfig

DefaultCodespherePlans returns a fresh copy of the default Codesphere plans used by the bootstrap flows.

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