blob: 5fa623cdb45ad527ab16c52fccb52eb92f3a9b3d [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 depsKubernetes(p *planner) {
20 // containerd and its deps
21 p.collect(
22 "k8s.io/kubernetes", "v1.19.0-alpha.2",
23 buildTags("providerless"),
24 disabledProtoBuild,
25 patches("k8s-kubernetes.patch", "k8s-kubernetes-build.patch"),
26 ).inject(
27 // repo infra, not requested by k8s, but used with bazel
28 "k8s.io/repo-infra", "df02ded38f9506e5bbcbf21702034b4fef815f2f",
29 ).with(patches("k8s-client-go.patch", "k8s-client-go-build.patch")).use(
30 "k8s.io/client-go",
31 ).use(
32 "k8s.io/cli-runtime",
33 "k8s.io/client-go",
34 "k8s.io/cloud-provider",
35 "k8s.io/cluster-bootstrap",
36 "k8s.io/component-base",
37 "k8s.io/csi-translation-lib",
38 "k8s.io/kube-controller-manager",
39 "k8s.io/kube-proxy",
40 "k8s.io/kube-scheduler",
41 "k8s.io/kubectl",
42 "k8s.io/legacy-cloud-providers",
43 "k8s.io/sample-apiserver",
44 ).with(disabledProtoBuild).use(
45 "k8s.io/api",
46 "k8s.io/apiextensions-apiserver",
47 "k8s.io/apimachinery",
48 "k8s.io/apiserver",
49 "k8s.io/cri-api",
50 "k8s.io/kube-aggregator",
51 "k8s.io/kubelet",
52 "k8s.io/metrics",
53 ).use(
54 "cloud.google.com/go",
55 "github.com/Azure/go-ansiterm",
56 "github.com/MakeNowJust/heredoc",
57 "github.com/NYTimes/gziphandler",
58 "github.com/PuerkitoBio/purell",
59 "github.com/PuerkitoBio/urlesc",
60 "github.com/armon/circbuf",
61 "github.com/asaskevich/govalidator",
62 "github.com/bgentry/speakeasy",
63 "github.com/blang/semver",
64 "github.com/chai2010/gettext-go",
65 "github.com/checkpoint-restore/go-criu",
66 "github.com/container-storage-interface/spec",
67 "github.com/coreos/go-oidc",
68 "github.com/coreos/go-semver",
69 "github.com/coreos/go-systemd",
70 "github.com/coreos/pkg",
71 "github.com/cyphar/filepath-securejoin",
72 "github.com/daviddengcn/go-colortext",
73 "github.com/dgrijalva/jwt-go",
74 "github.com/docker/go-connections",
75 "github.com/dustin/go-humanize",
76 "github.com/euank/go-kmsg-parser",
77 "github.com/evanphx/json-patch",
78 "github.com/exponent-io/jsonpath",
79 "github.com/fatih/camelcase",
80 "github.com/fatih/color",
81 "github.com/ghodss/yaml",
82 "github.com/go-openapi/analysis",
83 "github.com/go-openapi/errors",
84 "github.com/go-openapi/jsonpointer",
85 "github.com/go-openapi/jsonreference",
86 "github.com/go-openapi/loads",
87 "github.com/go-openapi/runtime",
88 "github.com/go-openapi/spec",
89 "github.com/go-openapi/strfmt",
90 "github.com/go-openapi/swag",
91 "github.com/go-openapi/validate",
92 "github.com/go-stack/stack",
93 "github.com/golang/groupcache",
94 "github.com/google/btree",
95 "github.com/google/go-cmp",
96 "github.com/googleapis/gnostic",
97 "github.com/gorilla/websocket",
98 "github.com/gregjones/httpcache",
99 "github.com/grpc-ecosystem/go-grpc-middleware",
100 "github.com/grpc-ecosystem/go-grpc-prometheus",
101 "github.com/grpc-ecosystem/grpc-gateway",
102 "github.com/jonboulle/clockwork",
103 "github.com/karrick/godirwalk",
104 "github.com/liggitt/tabwriter",
105 "github.com/lithammer/dedent",
106 "github.com/mailru/easyjson",
107 "github.com/mattn/go-colorable",
108 "github.com/mattn/go-isatty",
109 "github.com/mattn/go-runewidth",
110 "github.com/mindprince/gonvml",
111 "github.com/mitchellh/go-wordwrap",
112 "github.com/mitchellh/mapstructure",
113 "github.com/moby/term",
114 "github.com/morikuni/aec",
115 "github.com/mrunalp/fileutils",
116 "github.com/munnerz/goautoneg",
117 "github.com/mxk/go-flowrate",
118 "github.com/olekukonko/tablewriter",
119 "github.com/peterbourgon/diskv",
120 "github.com/pquerna/cachecontrol",
121 "github.com/robfig/cron",
122 "github.com/soheilhy/cmux",
123 "github.com/spf13/afero",
Serge Bazanskif369cfa2020-05-22 18:36:42 +0200124 "github.com/spf13/pflag",
125 "github.com/tmc/grpc-websocket-proxy",
126 "github.com/vishvananda/netlink",
127 "github.com/vishvananda/netns",
128 "github.com/xiang90/probing",
129 "go.mongodb.org/mongo-driver",
130 "go.uber.org/atomic",
131 "go.uber.org/multierr",
132 "go.uber.org/zap",
133 "golang.org/x/xerrors",
134 "gonum.org/v1/gonum",
135 "gopkg.in/natefinch/lumberjack.v2",
136 "gopkg.in/square/go-jose.v2",
137 "k8s.io/gengo",
138 "k8s.io/heapster",
139 "k8s.io/kube-openapi",
140 "k8s.io/utils",
141 "sigs.k8s.io/apiserver-network-proxy/konnectivity-client",
142 "sigs.k8s.io/kustomize",
143 "sigs.k8s.io/structured-merge-diff/v3",
144 "vbom.ml/util",
145 ).with(patches("cadvisor.patch", "cadvisor-build.patch")).use(
146 "github.com/google/cadvisor",
147 ).with(disabledProtoBuild).use(
148 "go.etcd.io/etcd",
149 )
150}