summaryrefslogtreecommitdiffhomepage
path: root/go.mod
diff options
context:
space:
mode:
authorAdin Scannell <ascannell@google.com>2019-06-01 23:09:26 -0700
committerShentubot <shentubot@google.com>2019-06-01 23:10:43 -0700
commit216da0b733dbed9aad9b2ab92ac75bcb906fd7ee (patch)
tree2a0032e9b4e54f4d70b181d5e1e533eb7dfc5316 /go.mod
parent3577a4f6910f6b47c4f081577290e32e1f23c6b2 (diff)
Add tooling for Go-compatible branch.
The WORKSPACE go_repositories can be generated from a standard go.mod file. Add the necessary gazelle hooks to do so, and include a test that sanity checks there are no changes. This go.mod file will be used in a subsequent commit to generate a go gettable branch of the repository. This commit also adds a tools/go_branch.sh script, which given an existing go branch in the repository, will add an additional synthetic change to the branch bringing it up-to-date with HEAD. As a final step, a cloudbuild script is included, which can be used to automate the process for every change pushed to the repository. This may be used after an initial go branch is pushed, but this is manual process. PiperOrigin-RevId: 251095016
Diffstat (limited to 'go.mod')
-rw-r--r--go.mod20
1 files changed, 20 insertions, 0 deletions
diff --git a/go.mod b/go.mod
new file mode 100644
index 000000000..f10b56e7f
--- /dev/null
+++ b/go.mod
@@ -0,0 +1,20 @@
+module gvisor.googlesource.com/gvisor
+go 1.12
+
+require (
+ github.com/cenkalti/backoff v2.1.1
+ github.com/gofrs/flock v0.6.1-0.20180915234121-886344bea079
+ github.com/golang/mock v1.3.1
+ github.com/golang/protobuf v1.3.1
+ github.com/google/btree v1.0.0
+ github.com/google/go-cmp v0.2.0
+ github.com/google/subcommands v0.0.0-20170224175846-ce3d4cfc062f
+ github.com/google/uuid v0.0.0-20171129191014-dec09d789f3d
+ github.com/kr/pty v1.1.1
+ github.com/opencontainers/runtime-spec v0.1.2-0.20171211145439-b2d941ef6a78
+ github.com/syndtr/gocapability v0.0.0-20180916011248-d98352740cb2
+ github.com/vishvananda/netlink v1.0.1-0.20190318003149-adb577d4a45e
+ github.com/vishvananda/netns v0.0.0-20171111001504-be1fbeda1936
+ golang.org/x/net v0.0.0-20180404174746-b3c676e531a6
+ golang.org/x/sys v0.0.0-20171117071000-0dd5e194bbf5
+)