blob: 79b46aa3a470b45b0201edd7f7dfe5d75f8def80 [file] [log] [blame]
Serge Bazanskif369cfa2020-05-22 18:36:42 +02001// Copyright 2020 The Monogon Project Authors.
2//
3// SPDX-License-Identifier: Apache-2.0
4//
5// Licensed under the Apache License, Version 2.0 (the "License");
6// you may not use this file except in compliance with the License.
7// You may obtain a copy of the License at
8//
9// http://www.apache.org/licenses/LICENSE-2.0
10//
11// Unless required by applicable law or agreed to in writing, software
12// distributed under the License is distributed on an "AS IS" BASIS,
13// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14// See the License for the specific language governing permissions and
15// limitations under the License.
16
17package main
18
19func depsContainerd(p *planner) {
20 p.collectOverride(
Lorenz Brunb876fc32020-07-14 13:54:01 +020021 "github.com/containerd/containerd", "v1.4.0-beta.2",
Serge Bazanskif369cfa2020-05-22 18:36:42 +020022 buildTags("no_zfs", "no_aufs", "no_devicemapper", "no_btrfs"),
23 disabledProtoBuild,
Serge Bazanskif369cfa2020-05-22 18:36:42 +020024 ).use(
25 "github.com/BurntSushi/toml",
26 "github.com/Microsoft/go-winio",
27 "github.com/beorn7/perks",
28 "github.com/cespare/xxhash/v2",
29 "github.com/cilium/ebpf",
30 "github.com/containerd/btrfs",
31 "github.com/containerd/console",
32 "github.com/containerd/continuity",
33 "github.com/containerd/fifo",
34 "github.com/containerd/go-cni",
35 "github.com/containerd/go-runc",
Lorenz Brunb876fc32020-07-14 13:54:01 +020036 "github.com/containerd/imgcrypt",
37 "github.com/containers/ocicrypt",
Serge Bazanskif369cfa2020-05-22 18:36:42 +020038 "github.com/containerd/ttrpc",
39 "github.com/containerd/typeurl",
40 "github.com/containernetworking/cni",
41 "github.com/coreos/go-systemd/v22",
Lorenz Brunb876fc32020-07-14 13:54:01 +020042 "github.com/cpuguy83/go-md2man/v2",
Serge Bazanskif369cfa2020-05-22 18:36:42 +020043 "github.com/davecgh/go-spew",
Serge Bazanskif369cfa2020-05-22 18:36:42 +020044 "github.com/docker/docker",
45 "github.com/docker/go-events",
46 "github.com/docker/go-metrics",
47 "github.com/docker/go-units",
48 "github.com/docker/spdystream",
49 "github.com/emicklei/go-restful",
Lorenz Brunb876fc32020-07-14 13:54:01 +020050 "github.com/fullsailor/pkcs7",
Serge Bazanskif369cfa2020-05-22 18:36:42 +020051 "github.com/godbus/dbus/v5",
52 "github.com/gogo/protobuf",
Lorenz Brunb876fc32020-07-14 13:54:01 +020053 "github.com/go-logr/logr",
Serge Bazanskif369cfa2020-05-22 18:36:42 +020054 "github.com/google/gofuzz",
55 "github.com/google/uuid",
56 "github.com/hashicorp/errwrap",
57 "github.com/hashicorp/go-multierror",
58 "github.com/hashicorp/golang-lru",
59 "github.com/imdario/mergo",
60 "github.com/json-iterator/go",
61 "github.com/konsorten/go-windows-terminal-sequences",
62 "github.com/matttproud/golang_protobuf_extensions",
63 "github.com/modern-go/concurrent",
64 "github.com/modern-go/reflect2",
65 "github.com/opencontainers/go-digest",
66 "github.com/opencontainers/image-spec",
67 "github.com/opencontainers/runc",
68 "github.com/opencontainers/runtime-spec",
69 "github.com/pkg/errors",
70 "github.com/prometheus/client_golang",
71 "github.com/prometheus/client_model",
72 "github.com/prometheus/common",
73 "github.com/prometheus/procfs",
Lorenz Brunb876fc32020-07-14 13:54:01 +020074 "github.com/russross/blackfriday/v2",
Serge Bazanskif369cfa2020-05-22 18:36:42 +020075 "github.com/seccomp/libseccomp-golang",
76 "github.com/sirupsen/logrus",
Serge Bazanskif369cfa2020-05-22 18:36:42 +020077 "github.com/syndtr/gocapability",
78 "github.com/tchap/go-patricia",
79 "github.com/urfave/cli",
80 "go.etcd.io/bbolt",
81 "go.opencensus.io",
82 "golang.org/x/crypto",
83 "golang.org/x/oauth2",
84 "golang.org/x/sync",
85 "golang.org/x/sys",
86 "google.golang.org/genproto",
87 "gopkg.in/inf.v0",
88 "gopkg.in/yaml.v2",
Lorenz Brunb876fc32020-07-14 13:54:01 +020089 "k8s.io/klog/v2",
Serge Bazanskif369cfa2020-05-22 18:36:42 +020090 "sigs.k8s.io/yaml",
91 ).with(disabledProtoBuild).use(
92 "github.com/Microsoft/hcsshim",
93 "github.com/containerd/cgroups",
94 "github.com/containerd/cri",
95 "github.com/gogo/googleapis",
96 ).with(buildTags("selinux")).use(
97 "github.com/opencontainers/selinux",
98 )
99
100 // containernetworking/plugins
101 p.collectOverride(
102 "github.com/containernetworking/plugins", "v0.8.2",
Serge Bazanskif369cfa2020-05-22 18:36:42 +0200103 ).use(
104 "github.com/alexflint/go-filemutex",
105 "github.com/coreos/go-iptables",
106 "github.com/j-keck/arping",
107 "github.com/safchain/ethtool",
108 )
109}