stdoutcallback

package
v2.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2024 License: MIT Imports: 7 Imported by: 5

Documentation

Index

Constants

View Source
const (
	// DebugStdoutCallback formatted stdout/stderr output
	DebugStdoutCallback = "debug"
)
View Source
const (
	// DefaultStdoutCallback default ansible screen output
	DefaultStdoutCallback = "default"
)
View Source
const (
	// DenseStdoutCallback dense stdout output
	DenseStdoutCallback = "dense"
)
View Source
const (
	// JSONStdoutCallback ansible screen output as json
	JSONStdoutCallback = "json"
)
View Source
const (
	// MinimalStdoutCallback minmal ansible screen output
	MinimalStdoutCallback = "minimal"
)
View Source
const (
	// NullStdoutCallback don't display stuff to screen
	NullStdoutCallback = "null"
)
View Source
const (
	// OnelineStdoutCallback oneline ansible screen output
	OnelineStdoutCallback = "oneline"
)
View Source
const (
	// StderrStdoutCallback splits output, sending failed tasks to stderr
	StderrStdoutCallback = "stderr"
)
View Source
const (
	// TimerStdoutCallback adds time to play stats
	TimerStdoutCallback = "timer"
)
View Source
const (
	// YAMLStdoutCallback yamlized ansible screen output
	YAMLStdoutCallback = "yaml"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type DebugStdoutCallbackExecute

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

func (*DebugStdoutCallbackExecute) Execute

Execute takes a command and args and runs it, streaming output to stdout

func (*DebugStdoutCallbackExecute) WithExecutor

type DefaultStdoutCallbackExecute

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

func (*DefaultStdoutCallbackExecute) Execute

Execute takes a command and args and runs it, streaming output to stdout

func (*DefaultStdoutCallbackExecute) WithExecutor

type DenseStdoutCallbackExecute

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

func (*DenseStdoutCallbackExecute) Execute

Execute takes a command and args and runs it, streaming output to stdout

func (*DenseStdoutCallbackExecute) WithExecutor

type ExecutorQuietStdoutCallbackSetter

type ExecutorQuietStdoutCallbackSetter interface {
	ExecutorStdoutCallbackSetter
	Quiet()
}

ExecutorQuietStdoutCallbackSetter extends the ExecutorStdoutCallbackSetter interface by adding a method to force the non-verbose mode in the Stdout Callback configuration

type ExecutorStdoutCallbackSetter

type ExecutorStdoutCallbackSetter interface {
	execute.Executor
	AddEnvVar(key, value string)
	WithOutput(output result.ResultsOutputer)
}

ExecutorStdoutCallbackSetter extends the executor interface by adding methods to configure the Stdout Callback configuration

type JSONStdoutCallbackExecute

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

func (*JSONStdoutCallbackExecute) Execute

Execute takes a command and args and runs it, streaming output to stdout

func (*JSONStdoutCallbackExecute) WithExecutor

type MinimalStdoutCallbackExecute

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

func (*MinimalStdoutCallbackExecute) Execute

Execute takes a command and args and runs it, streaming output to stdout

func (*MinimalStdoutCallbackExecute) WithExecutor

type NullStdoutCallbackExecute

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

func (*NullStdoutCallbackExecute) Execute

Execute takes a command and args and runs it, streaming output to stdout

func (*NullStdoutCallbackExecute) WithExecutor

type OnelineStdoutCallbackExecute

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

func (*OnelineStdoutCallbackExecute) Execute

Execute takes a command and args and runs it, streaming output to stdout

func (*OnelineStdoutCallbackExecute) WithExecutor

type StderrStdoutCallbackExecute

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

func (*StderrStdoutCallbackExecute) Execute

Execute takes a command and args and runs it, streaming output to stdout

func (*StderrStdoutCallbackExecute) WithExecutor

type TimerStdoutCallbackExecute

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

func (*TimerStdoutCallbackExecute) Execute

Execute takes a command and args and runs it, streaming output to stdout

func (*TimerStdoutCallbackExecute) WithExecutor

type YAMLStdoutCallbackExecute

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

func (*YAMLStdoutCallbackExecute) Execute

Execute takes a command and args and runs it, streaming output to stdout

func (*YAMLStdoutCallbackExecute) WithExecutor

Jump to

Keyboard shortcuts

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