Documentation
¶
Overview ¶
Package testutil provides reusable test infrastructure for integration tests.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SSHContainer ¶
type SSHContainer struct {
ContainerID string
Endpoint string
// contains filtered or unexported fields
}
SSHContainer represents a test container with SSH access.
func StartDebianSSHContainer ¶
func StartDebianSSHContainer(t *testing.T) *SSHContainer
StartDebianSSHContainer starts an ephemeral Debian container with SSH enabled. Returns a configured SSHContainer ready for testing.
func (*SSHContainer) Client ¶
func (c *SSHContainer) Client() ssh.Connection
Client returns the SSH connection to the container.
Click to show internal directories.
Click to hide internal directories.