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.
Click to show internal directories.
Click to hide internal directories.