Documentation ¶
Index ¶
- func ColorizeAction(action ssa.Action) string
- func ColorizeAny(v any) string
- func ColorizeBundle(bundle string) string
- func ColorizeChange(subject string, action ssa.Action) string
- func ColorizeChangeSetEntry(change ssa.ChangeSetEntry) string
- func ColorizeCluster(cluster string) string
- func ColorizeDryRun(dryRun DryRunType) string
- func ColorizeError(err error) string
- func ColorizeInfo(subject string) string
- func ColorizeInstance(instance string) string
- func ColorizeJoin(values ...any) string
- func ColorizeReady(subject string) string
- func ColorizeRuntime(runtime string) string
- func ColorizeStatus(status status.Status) string
- func ColorizeSubject(subject string) string
- func ColorizeUnstructured(object *unstructured.Unstructured) string
- func ColorizeWarning(subject string) string
- func NewConsoleLogger(colorize, prettify bool) logr.Logger
- func StartSpinner(msg string) interface{ ... }
- type DryRunType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ColorizeAction ¶
func ColorizeAny ¶
func ColorizeBundle ¶
func ColorizeChangeSetEntry ¶
func ColorizeChangeSetEntry(change ssa.ChangeSetEntry) string
func ColorizeCluster ¶
func ColorizeDryRun ¶
func ColorizeDryRun(dryRun DryRunType) string
func ColorizeError ¶
func ColorizeInfo ¶
func ColorizeInstance ¶
func ColorizeJoin ¶
func ColorizeReady ¶
func ColorizeRuntime ¶
func ColorizeStatus ¶
func ColorizeSubject ¶
func ColorizeUnstructured ¶
func ColorizeUnstructured(object *unstructured.Unstructured) string
func ColorizeWarning ¶
func NewConsoleLogger ¶
NewConsoleLogger returns a human-friendly Logger. Pretty print adds timestamp, log level and colorized output to the logs.
func StartSpinner ¶
func StartSpinner(msg string) interface{ Stop() }
StartSpinner starts a spinner with the given message.
Types ¶
type DryRunType ¶
type DryRunType string
const ( DryRunClient DryRunType = "(dry run)" DryRunServer DryRunType = "(server dry run)" )
Click to show internal directories.
Click to hide internal directories.