Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type MockSandbox ¶
type MockSandbox struct {
SetupCalled bool
Config sandbox.SandboxConfig
ShellCalls []string
CleanedUp bool
}
func (*MockSandbox) Cleanup ¶
func (m *MockSandbox) Cleanup() error
func (*MockSandbox) Setup ¶
func (m *MockSandbox) Setup(cfg sandbox.SandboxConfig) error
type TestServer ¶
TestServer wraps a running server for testing.
func NewTestServer ¶
func NewTestServer(t *testing.T) *TestServer
NewTestServer starts a server with a temp UNIX socket and in-memory DB.
Click to show internal directories.
Click to hide internal directories.