Skip to content

Commit

Permalink
Update go.mod
Browse files Browse the repository at this point in the history
  • Loading branch information
ramanan-ravi committed Oct 11, 2021
1 parent c773d8e commit 8ed2b72
Show file tree
Hide file tree
Showing 4 changed files with 145 additions and 57 deletions.
12 changes: 6 additions & 6 deletions constants/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@ package constants
import "time"

const (
UnixProtocol = "unix"
Timeout = 10 * time.Second
CONTAINERD_K8S_NS = "k8s.io"
CONTAINERD = "containerd"
DOCKER = "docker"
UnixProtocol = "unix"
Timeout = 10 * time.Second
CONTAINERD_K8S_NS = "k8s.io"
CONTAINERD = "containerd"
DOCKER = "docker"
CONTAINERD_SOCKET_ADDRESS = "/run/containerd/containerd.sock"
)

var SupportedRuntimes = map[string]string{
"unix:///var/run/docker.sock": DOCKER,
"unix:///var/run/docker.sock": DOCKER,
"unix:///run/containerd/containerd.sock": CONTAINERD,
}
2 changes: 1 addition & 1 deletion containerd/containerd.go
Original file line number Diff line number Diff line change
Expand Up @@ -197,4 +197,4 @@ func (c Containerd) ExtractFileSystem(imageTarPath string, outputTarPath string,
}
defer container.Delete(ctx, containerdApi.WithSnapshotCleanup)
return nil
}
}
50 changes: 37 additions & 13 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,24 +1,48 @@
module github.com/deepfence/vessel

go 1.15
go 1.17

require (
github.com/Microsoft/go-winio v0.5.0 // indirect
github.com/Microsoft/hcsshim v0.8.16 // indirect
github.com/containerd/containerd v1.5.7
github.com/docker/docker v20.10.9+incompatible
github.com/joho/godotenv v1.4.0
github.com/pkg/errors v0.9.1
github.com/sirupsen/logrus v1.8.1
google.golang.org/grpc v1.41.0
)

require (
github.com/Microsoft/go-winio v0.4.17 // indirect
github.com/Microsoft/hcsshim v0.8.21 // indirect
github.com/bits-and-blooms/bitset v1.2.0 // indirect
github.com/containerd/cgroups v1.0.1 // indirect
github.com/containerd/containerd v1.5.0-beta.4
github.com/containerd/continuity v0.1.0 // indirect
github.com/containerd/fifo v1.0.0 // indirect
github.com/containerd/ttrpc v1.0.2 // indirect
github.com/containerd/typeurl v1.0.2 // indirect
github.com/docker/docker v20.10.6+incompatible
github.com/docker/distribution v2.7.1+incompatible // indirect
github.com/docker/go-connections v0.4.0 // indirect
github.com/gogo/googleapis v1.4.1 // indirect
github.com/gorilla/mux v1.8.0 // indirect
github.com/joho/godotenv v1.3.0
github.com/moby/term v0.0.0-20201216013528-df9cb8a40635 // indirect
github.com/docker/go-events v0.0.0-20190806004212-e31b211e4f1c // indirect
github.com/docker/go-units v0.4.0 // indirect
github.com/gogo/googleapis v1.4.0 // indirect
github.com/gogo/protobuf v1.3.2 // indirect
github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e // indirect
github.com/golang/protobuf v1.5.0 // indirect
github.com/google/uuid v1.2.0 // indirect
github.com/klauspost/compress v1.11.13 // indirect
github.com/moby/locker v1.0.1 // indirect
github.com/moby/sys/mountinfo v0.4.1 // indirect
github.com/morikuni/aec v1.0.0 // indirect
github.com/pkg/errors v0.9.1
github.com/sirupsen/logrus v1.8.1
golang.org/x/time v0.0.0-20210220033141-f8bda1e9f3ba // indirect
google.golang.org/grpc v1.37.0
github.com/opencontainers/go-digest v1.0.0 // indirect
github.com/opencontainers/image-spec v1.0.1 // indirect
github.com/opencontainers/runc v1.0.2 // indirect
github.com/opencontainers/runtime-spec v1.0.3-0.20210326190908-1c3f411f0417 // indirect
github.com/opencontainers/selinux v1.8.2 // indirect
go.opencensus.io v0.22.3 // indirect
golang.org/x/net v0.0.0-20210226172049-e18ecbb05110 // indirect
golang.org/x/sync v0.0.0-20201207232520-09787c993a3a // indirect
golang.org/x/sys v0.0.0-20210426230700-d19ff857e887 // indirect
golang.org/x/text v0.3.4 // indirect
google.golang.org/genproto v0.0.0-20201110150050-8816d57aaa9a // indirect
google.golang.org/protobuf v1.26.0 // indirect
)
Loading

0 comments on commit 8ed2b72

Please sign in to comment.