Vendor integration dependencies.
This commit is contained in:
parent
dd5e3fba01
commit
55b57c736b
2451 changed files with 731611 additions and 0 deletions
17
integration/vendor/github.com/libkermit/docker/inspect.go
generated
vendored
Normal file
17
integration/vendor/github.com/libkermit/docker/inspect.go
generated
vendored
Normal 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
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue