Documentation ¶
Index ¶
Constants ¶
View Source
const ( DockerProviderName = "docker" DockerDefaultNetworkName = "imagetest" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContainerRequest ¶
type ContainerResourcesRequest ¶ added in v0.0.7
type DockerNetworkRequest ¶ added in v0.0.11
type DockerNetworkRequest struct { types.NetworkCreate Name string }
type DockerProvider ¶
type DockerProvider struct {
// contains filtered or unexported fields
}
func NewDocker ¶
func NewDocker(name string, cli *client.Client, req DockerRequest) (*DockerProvider, error)
NewDocker creates a new DockerProvider with the given client.
func (*DockerProvider) CreateNetwork ¶ added in v0.0.11
CreateNetwork creates a user defined bridge network with the given name only if it doesn't exist.
func (*DockerProvider) Exec ¶
func (p *DockerProvider) Exec(ctx context.Context, config ExecConfig) (io.Reader, error)
Exec implements Provider.
type DockerRequest ¶
type DockerRequest struct { ContainerRequest Mounts []mount.Mount }
type ExecConfig ¶ added in v0.0.3
Click to show internal directories.
Click to hide internal directories.