Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildContainerConfig ¶
func BuildContainerConfig(config SutConfig) (*docker.ContainerConfig, error)
Types ¶
type SutConfig ¶
type SutConfig struct {
// Path to dir binary source files that will be
// build and executed into docker containers as a SUT.
Path string
// Env is list of environment variables will be passed to SUT.
Env []string
// ExposedPorts is a list of port that will be exposed and forwarded
// to docker host.
ExposedPorts []int
// RuntimeTypeCommand allows to distinguish between service and simple command binary.
RuntimeTypeCommand bool
// contains filtered or unexported fields
}
SutConfig is a configuration required to buld and run sut into docker container.
Click to show internal directories.
Click to hide internal directories.