Versions in this module Expand all Collapse all v0 v0.3.0 Nov 14, 2023 Changes in this version + type MockExecutor struct + Logger *zap.Logger + MockExecuteCommand func(ctx context.Context, actionName string, command string, arg ...string) error + MockExecuteCommandWithOutput func(ctx context.Context, actionName string, command string, arg ...string) (string, error) + MockExecuteCommandWithOutputByte func(ctx context.Context, actionName string, command string, arg ...string) ([]byte, error) + MockSetEnv func(e []string) + func (ce MockExecutor) ExecuteCommand(ctx context.Context, actionName string, command string, arg ...string) error + func (ce MockExecutor) ExecuteCommandWithOutput(ctx context.Context, actionName string, command string, arg ...string) (string, error) + func (ce MockExecutor) ExecuteCommandWithOutputByte(ctx context.Context, actionName string, command string, arg ...string) ([]byte, error) + func (ce MockExecutor) SetEnv(e []string)