MCPcopy
hub / github.com/golang-migrate/migrate / DockerContainer

Struct DockerContainer

testing/docker.go:57–68  ·  view source on GitHub ↗

DockerContainer implements Instance interface

Source from the content-addressed store, hash-verified

55
56// DockerContainer implements Instance interface
57type DockerContainer struct {
58 t testing.TB
59 client *dockerclient.Client
60 ImageName string
61 ENV []string
62 Cmd []string
63 ContainerId string
64 ContainerName string
65 ContainerJSON dockercontainer.InspectResponse
66 containerInspected bool
67 keepForDebugging bool
68}
69
70func (d *DockerContainer) PullImage() (err error) {
71 if d == nil {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected