Vendor integration dependencies.

This commit is contained in:
Timo Reimann 2017-02-07 22:33:23 +01:00
parent dd5e3fba01
commit 55b57c736b
2451 changed files with 731611 additions and 0 deletions

View file

@ -0,0 +1,17 @@
package docker
import (
"golang.org/x/net/context"
"github.com/docker/engine-api/types"
)
// Inspect returns the container informations
func (p *Project) Inspect(containerID string) (types.ContainerJSON, error) {
container, err := p.Client.ContainerInspect(context.Background(), containerID)
if err != nil {
return types.ContainerJSON{}, err
}
return container, nil
}