github.com/tiago4orion/conjure v0.0.0-20150908101743-93cb30b9d218
Go JSON unmarshal callDocker socket path
SHA-2569bfccbafbb74518500c54aecdc3dfb05f785ce51406746436de1435144d219eb
URLhttps://proxy.golang.org/github.com/tiago4orion/conjure/@v/v0.0.0-20150908101743-93cb30b9d218.zip
MaleculeH₂(DbOs)
Evidence
1package conjure
2
3import (
4 "encoding/json"
5
6 "github.com/fsouza/go-dockerclient"
⋯5 lines
19:26… , error) {
20 var (
21 client Client
22 )
23
24 // Start the amqp backend on test startup
25 endpoint := "unix:///var/run/docker.sock"
26 dockerClient, err := docker.NewClient(endpoint)
27
⋯7 lines
37:59… ner, error) {
38 var pulled bool
39
40 container := Entity{}
41
42 err := json.Unmarshal([]byte(containerSpec), &container)
43
44 if err != nil {
⋯5 lines
No evidence locations were recorded for this file. Raw result