Documentation ¶
Index ¶
- Constants
- Variables
- func ConsoleOutput(console writesLines, name string) io.Writer
- func ConsoleOutputName(name string) tasks.OutputName
- func Debug(ctx context.Context) io.Writer
- func EnterInputMode(ctx context.Context, params ...string) func()
- func Errors(ctx context.Context) io.Writer
- func GetErrContext(ctx context.Context) *actionErrContext
- func IsConsoleLike(ctx context.Context) bool
- func MakeConsoleName(logid string, key string, suffix string) string
- func Output(ctx context.Context, name string) io.Writer
- func SetStickyContent(ctx context.Context, name string, content string)
- func SetStickyContentOnSink(sink tasks.ActionSink, name string, content string)
- func Stderr(ctx context.Context) io.Writer
- func Stdout(ctx context.Context) io.Writer
- func TypedOutput(ctx context.Context, name string, cat common.CatOutputType) io.Writer
- func UnwrapSink(sink tasks.ActionSink) tasks.ActionSink
- func Warnings(ctx context.Context) io.Writer
- func WithLogs(ctx context.Context, err error) error
- func WriteJSON(w io.Writer, message string, data interface{})
Constants ¶
View Source
const ( CatOutputTool = common.CatOutputTool CatOutputUs = common.CatOutputUs )
Variables ¶
View Source
var ( // Configured globally. DebugToConsole = false )
Functions ¶
func ConsoleOutput ¶
ConsoleOutput returns a writer, whose output will be managed by the specified ConsoleSink.
func ConsoleOutputName ¶
func ConsoleOutputName(name string) tasks.OutputName
func EnterInputMode ¶
func GetErrContext ¶
func IsConsoleLike ¶
func SetStickyContentOnSink ¶
func SetStickyContentOnSink(sink tasks.ActionSink, name string, content string)
func TypedOutput ¶
func UnwrapSink ¶
func UnwrapSink(sink tasks.ActionSink) tasks.ActionSink
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.