Versions in this module Expand all Collapse all v0 v0.6.0 Jun 23, 2022 v0.5.0 Oct 18, 2021 Changes in this version + const DefaultDockerExecutorDir + func XDGCache() string + type ExecOpts struct + Cmdout io.Writer + Command string + Debug bool + Env []string + Image string + Name string + Stderr io.Writer + Stdout io.Writer + WorkingDirectory string + type Executor interface + Execute func(ctx context.Context, opts ExecOpts) error + ExecutorPath func(hostPath string) (string, error) + UsesDocker func() bool + func NewBashExecutor() Executor + func NewDockerExecutor(mountDirectory, platform string) Executor + type FakeExecutor struct + Docker bool + Wrapped Executor + func (e *FakeExecutor) Execute(ctx context.Context, opts ExecOpts) error + func (e *FakeExecutor) ExecutorPath(hostPath string) (string, error) + func (e *FakeExecutor) UsesDocker() bool + type MockExecutor struct + func NewMockExecutor(ctrl *gomock.Controller) *MockExecutor + func (m *MockExecutor) EXPECT() *MockExecutorMockRecorder + func (m *MockExecutor) Execute(ctx context.Context, opts ExecOpts) error + func (m *MockExecutor) ExecutorPath(hostPath string) (string, error) + func (m *MockExecutor) UsesDocker() bool + type MockExecutorMockRecorder struct + func (mr *MockExecutorMockRecorder) Execute(ctx, opts interface{}) *gomock.Call + func (mr *MockExecutorMockRecorder) ExecutorPath(hostPath interface{}) *gomock.Call + func (mr *MockExecutorMockRecorder) UsesDocker() *gomock.Call