Documentation
¶
Index ¶
- func IsLiveOutputOnStdoutEnabled(ctx context.Context) bool
- func WithLiveOutputOnStdout(ctx context.Context) context.Context
- func WithLiveOutputOnStdoutEnabled(ctx context.Context, enabled bool) context.Context
- func WithLiveOutputOnStdoutIfVerbose(ctx context.Context) context.Context
- type CommandExecutorBase
- func (c *CommandExecutorBase) GetParentCommandExecutorForBaseClass() (parentCommandExecutorForBaseClass commandexecutorinterfaces.CommandExecutor, ...)
- func (c *CommandExecutorBase) IsRunningOnLocalhost() (isRunningOnLocalhost bool, err error)
- func (c *CommandExecutorBase) RunCommandAndGetStdoutAsBytes(ctx context.Context, options *parameteroptions.RunCommandOptions) (stdout []byte, err error)
- func (c *CommandExecutorBase) RunCommandAndGetStdoutAsFloat64(ctx context.Context, options *parameteroptions.RunCommandOptions) (stdout float64, err error)
- func (c *CommandExecutorBase) RunCommandAndGetStdoutAsInt64(ctx context.Context, options *parameteroptions.RunCommandOptions) (stdout int64, err error)
- func (c *CommandExecutorBase) RunCommandAndGetStdoutAsLines(ctx context.Context, options *parameteroptions.RunCommandOptions) (stdoutLines []string, err error)
- func (c *CommandExecutorBase) RunCommandAndGetStdoutAsString(ctx context.Context, options *parameteroptions.RunCommandOptions) (stdout string, err error)
- func (c *CommandExecutorBase) SetParentCommandExecutorForBaseClass(parentCommandExecutorForBaseClass commandexecutorinterfaces.CommandExecutor) (err error)
- type ContextKeyLiveOutputOnStdout
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsLiveOutputOnStdoutEnabled ¶ added in v0.393.0
func WithLiveOutputOnStdout ¶ added in v0.393.0
func WithLiveOutputOnStdoutEnabled ¶ added in v0.393.0
Types ¶
type CommandExecutorBase ¶ added in v0.393.0
type CommandExecutorBase struct {
// contains filtered or unexported fields
}
func NewCommandExecutorBase ¶ added in v0.393.0
func NewCommandExecutorBase() (c *CommandExecutorBase)
func (*CommandExecutorBase) GetParentCommandExecutorForBaseClass ¶ added in v0.393.0
func (c *CommandExecutorBase) GetParentCommandExecutorForBaseClass() (parentCommandExecutorForBaseClass commandexecutorinterfaces.CommandExecutor, err error)
func (*CommandExecutorBase) IsRunningOnLocalhost ¶ added in v0.393.0
func (c *CommandExecutorBase) IsRunningOnLocalhost() (isRunningOnLocalhost bool, err error)
func (*CommandExecutorBase) RunCommandAndGetStdoutAsBytes ¶ added in v0.393.0
func (c *CommandExecutorBase) RunCommandAndGetStdoutAsBytes(ctx context.Context, options *parameteroptions.RunCommandOptions) (stdout []byte, err error)
func (*CommandExecutorBase) RunCommandAndGetStdoutAsFloat64 ¶ added in v0.393.0
func (c *CommandExecutorBase) RunCommandAndGetStdoutAsFloat64(ctx context.Context, options *parameteroptions.RunCommandOptions) (stdout float64, err error)
func (*CommandExecutorBase) RunCommandAndGetStdoutAsInt64 ¶ added in v0.393.0
func (c *CommandExecutorBase) RunCommandAndGetStdoutAsInt64(ctx context.Context, options *parameteroptions.RunCommandOptions) (stdout int64, err error)
func (*CommandExecutorBase) RunCommandAndGetStdoutAsLines ¶ added in v0.393.0
func (c *CommandExecutorBase) RunCommandAndGetStdoutAsLines(ctx context.Context, options *parameteroptions.RunCommandOptions) (stdoutLines []string, err error)
func (*CommandExecutorBase) RunCommandAndGetStdoutAsString ¶ added in v0.393.0
func (c *CommandExecutorBase) RunCommandAndGetStdoutAsString(ctx context.Context, options *parameteroptions.RunCommandOptions) (stdout string, err error)
func (*CommandExecutorBase) SetParentCommandExecutorForBaseClass ¶ added in v0.393.0
func (c *CommandExecutorBase) SetParentCommandExecutorForBaseClass(parentCommandExecutorForBaseClass commandexecutorinterfaces.CommandExecutor) (err error)
type ContextKeyLiveOutputOnStdout ¶ added in v0.393.0
type ContextKeyLiveOutputOnStdout struct{}
Click to show internal directories.
Click to hide internal directories.