Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockDevContainerRunner ¶
type MockDevContainerRunner struct { RunFunc func(projectPath string, config devcontainer.Config) (string, error) StopFunc func(containerId string) error ExecFunc func(containerId string, command []string) (devcontainer.ExecResult, error) }
MockDevContainerRunner is a mock of the devcontainer.Runner interface for testing
func (*MockDevContainerRunner) Exec ¶
func (m *MockDevContainerRunner) Exec(containerId string, command []string) (devcontainer.ExecResult, error)
func (*MockDevContainerRunner) Run ¶
func (m *MockDevContainerRunner) Run(projectPath string, config devcontainer.Config) (string, error)
func (*MockDevContainerRunner) Stop ¶
func (m *MockDevContainerRunner) Stop(containerId string) error
Click to show internal directories.
Click to hide internal directories.