Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithContainerFilters ¶
func WithContainerFilters(filters ...string) tc.CustomizeRequestOption
WithContainerFilters sets the DOCKER_CONTAINER_FILTERS environment variable in the container to the given filters.
func WithCustomTemplate ¶
func WithCustomTemplate(templatePath string) tc.CustomizeRequestOption
WithCustomTemplate mounts a custom template file at /etc/docker-gen/templates/test.tmpl in the container.
The templatePath must be an absolute or relative path to the template file on the host.
func WithDockerSocketBind ¶
func WithDockerSocketBind(dockerSocketPath string) tc.CustomizeRequestOption
WithDockerSocketBind mounts the Docker socket from the host into the container at /tmp/docker.sock (read-only).
The dockerSocketPath must be an absolute path to the Docker socket on the host.
Types ¶
Click to show internal directories.
Click to hide internal directories.