github.com/zhyoulun/cilium@v1.6.12/Gopkg.toml (about) 1 # Gopkg.toml example 2 # 3 # Refer to https://github.com/golang/dep/blob/master/docs/Gopkg.toml.md 4 # for detailed Gopkg.toml documentation. 5 # 6 # required = ["github.com/user/thing/cmd/thing"] 7 # ignored = ["github.com/user/project/pkgX", "bitbucket.org/user/project/pkgA/pkgY"] 8 # 9 # [[constraint]] 10 # name = "github.com/user/project" 11 # version = "1.0.0" 12 # 13 # [[constraint]] 14 # name = "github.com/user/project2" 15 # branch = "dev" 16 # source = "github.com/myfork/project2" 17 # 18 # [[override]] 19 # name = "github.com/x/y" 20 # version = "2.4.0" 21 # 22 # [prune] 23 # non-go = false 24 # go-tests = true 25 # unused-packages = true 26 27 required = [ 28 "k8s.io/code-generator/cmd/client-gen", 29 "k8s.io/gengo/examples/defaulter-gen/generators", 30 "k8s.io/gengo/examples/deepcopy-gen/generators" 31 ] 32 33 [[constraint]] 34 name = "github.com/cilium/arping" 35 revision = "97b3e8dcf2b43a2048e16ac6b027f8003e6f32d5" 36 37 # main-usage = "only in integration tests" 38 # on-revision = "" 39 40 41 [[constraint]] 42 name = "github.com/asaskevich/govalidator" 43 revision = "f9ffefc3facfbe0caee3fea233cbb6e8208f4541" 44 45 # main-usage = "only in integration tests" 46 # on-revision = "" 47 48 [[constraint]] 49 name = "github.com/aws/aws-sdk-go-v2" 50 revision = "v0.7.0" 51 52 # main-usage = "pkg/policy/groups" 53 # on-revision = "" 54 55 [[constraint]] 56 name = "github.com/c9s/goprocinfo" 57 revision = "0b2ad9ac246b05c4f5750721d0c4d230888cac5e" 58 59 # main-usage = "pkg/health" 60 # on-revision = "no stable releases released" 61 62 [[constraint]] 63 name = "github.com/cilium/proxy" 64 revision = "c6d564bb08632a09947bfe224096379df4775ccd" 65 66 # main-usage = "pkg/envoy" 67 # on-revision = "no stable releases released" 68 69 [[constraint]] 70 name = "github.com/containerd/containerd" 71 revision = "v1.2.6" 72 73 # main-usage = "pkg/workloads" 74 # on-revision = "" 75 76 [[constraint]] 77 name = "github.com/containerd/cri" 78 revision = "eb926cd79d3bac188dcc4ed7694fc9298f8831be" 79 80 # main-usage = "pkg/workloads" 81 # on-revision = "it is the same revision used by containerd and we only use this repo directly to access a constant" 82 83 [[override]] 84 name = "github.com/docker/distribution" 85 revision = "0d3efadf0154c2b8a4e7b6621fff9809655cc580" 86 87 # main-usage = "github.com/containerd/containerd" 88 # on-revision = "it is the same version used by containerd" 89 90 [[constraint]] 91 name = "github.com/containerd/typeurl" 92 revision = "2a93cfde8c20b23de8eb84a5adbc234ddf7a9e8d" 93 94 # main-usage = "pkg/workloads/containerd" 95 # on-revision = "no stable releases released" 96 97 [[constraint]] 98 name = "github.com/containernetworking/cni" 99 revision = "v0.7.0-rc2" 100 101 # main-usage = "plugins/cni" 102 # on-revision = "latest stable release" 103 104 [[constraint]] 105 name = "github.com/containernetworking/plugins" 106 revision = "v0.7.5" 107 108 # main-usage = "pkg/ipam and plugins/cilium-cni" 109 # on-revision = "" 110 111 [[constraint]] 112 name = "go.etcd.io/etcd" 113 revision = "v3.4.0" 114 115 # main-usage = "pkg/kvstore" 116 # on-revision = "" 117 118 [[constraint]] 119 name = "github.com/davecgh/go-spew" 120 revision = "v1.1.1" 121 122 # main-usage = "pkg/debug" 123 # on-revision = "" 124 125 [[constraint]] 126 name = "github.com/docker/docker" 127 revision = "f18cf23e97b01855d210eb497494fef8ac511073" 128 129 # main-usage = "pkg/workloads" 130 # on-revision = "" 131 132 [[constraint]] 133 name = "github.com/docker/libnetwork" 134 revision = "d8d4c8cf03d7d036a76d5470553cd8753e522a99" 135 136 # main-usage = "plugins/cilium-docker" 137 # on-revision = "" 138 139 [[override]] 140 name = "github.com/ishidawataru/sctp" 141 revision = "07191f837fedd2f13d1ec7b5f885f0f3ec54b1cb" 142 143 # main-usage = "github.com/docker/libnetwork" 144 # on-revision = "" 145 146 [[constraint]] 147 name = "github.com/fatih/color" 148 revision = "3f9d52f7176a6927daacff70a3e8d1dc2025c53e" 149 150 # main-usage = "pkg/colors" 151 # on-revision = "" 152 153 [[constraint]] 154 name = "github.com/golang/protobuf" 155 version = "1.3.1" 156 157 # main-usage = "pkg/envoy and proxylib" 158 # on-revision = "same version specified by github.com/lyft/protoc-gen-validate v0.0.13" 159 160 [[constraint]] 161 name = "github.com/google/go-cmp" 162 revision = "v0.3.0" 163 164 # main-usage = "pkg/checker" 165 # on-revision = "" 166 167 [[constraint]] 168 name = "github.com/google/gopacket" 169 revision = "v1.1.16" 170 171 # main-usage = "pkg/monitor" 172 # on-revision = "" 173 174 [[constraint]] 175 name = "github.com/google/gops" 176 revision = "v0.3.6" 177 178 # main-usage = "all main packages" 179 # on-revision = "" 180 181 [[constraint]] 182 name = "github.com/go-openapi/errors" 183 revision = "v0.19.2" 184 185 # main-usage = "api/v1" 186 # on-revision = "" 187 188 [[constraint]] 189 name = "github.com/go-openapi/loads" 190 revision = "v0.19.2" 191 192 # main-usage = "swagger spec" 193 # on-revision = "" 194 195 [[constraint]] 196 name = "github.com/go-openapi/runtime" 197 revision = "v0.19.0" 198 199 # main-usage = "api/v1" 200 # on-revision = "" 201 202 [[constraint]] 203 name = "github.com/go-openapi/spec" 204 revision = "v0.19.2" 205 206 # main-usage = "api/v1" 207 # on-revision = "" 208 209 [[constraint]] 210 name = "github.com/go-openapi/strfmt" 211 revision = "v0.19.0" 212 213 # main-usage = "swagger and pkg/controllers" 214 # on-revision = "" 215 216 [[constraint]] 217 name = "github.com/go-openapi/swag" 218 revision = "v0.19.5" 219 220 # main-usage = "api/v1" 221 # on-revision = "" 222 223 [[constraint]] 224 name = "github.com/go-openapi/validate" 225 revision = "v0.19.2" 226 227 # main-usage = "api/v1" 228 # on-revision = "" 229 230 [[override]] 231 name = "github.com/go-openapi/analysis" 232 revision = "v0.19.2" 233 234 # main-usage = "api/v1" 235 # on-revision = "" 236 237 [[override]] 238 name = "github.com/go-openapi/errors" 239 revision = "v0.19.2" 240 241 # main-usage = "api/v1" 242 # on-revision = "" 243 244 [[override]] 245 name = "github.com/go-openapi/jsonpointer" 246 revision = "v0.19.3" 247 248 # main-usage = "api/v1" 249 # on-revision = "" 250 251 [[constraint]] 252 name = "github.com/gorilla/mux" 253 revision = "v1.7.1" 254 255 # main-usage = "plugins/cilium-docker" 256 # on-revision = "" 257 258 [[constraint]] 259 name = "github.com/hashicorp/consul" 260 revision = "v1.4.4" 261 262 # main-usage = "pkg/kvstore" 263 # on-revision = "" 264 265 [[constraint]] 266 name = "github.com/hashicorp/go-immutable-radix" 267 revision = "v1.0.0" 268 269 # main-usage = "cilium/cmd" 270 # on-revision = "" 271 272 [[constraint]] 273 name = "github.com/hashicorp/go-version" 274 revision = "4fe82ae3040f80a03d04d2cccb5606a626b8e1ee" 275 276 # main-usage = "multiple packages" 277 # on-revision = "this revision is the parent revision of the commit removes" 278 # "comparision between constrains that are not pre-releases and 279 # "versions that are pre-releases" 280 281 [[constraint]] 282 name = "github.com/jessevdk/go-flags" 283 revision = "c0795c8afcf41dd1d786bebce68636c199b3bb45" 284 285 # main-usage = "all CLI packages" 286 # on-revision = "" 287 288 [[constraint]] 289 name = "github.com/kevinburke/ssh_config" 290 revision = "0.5" 291 292 # main-usage = "only in integration tests" 293 # on-revision = "" 294 295 [[constraint]] 296 name = "github.com/kr/pretty" 297 revision = "v0.1.0" 298 299 # main-usage = "pkg/comparator" 300 # on-revision = "" 301 302 [[constraint]] 303 name = "github.com/mattn/go-shellwords" 304 revision = "v1.0.5" 305 306 # main-usage = "pkg/datapath/iptables" 307 # on-revision = "" 308 309 [[constraint]] 310 name = "github.com/miekg/dns" 311 revision = "8e25ec9a0ff346aefcb56b84e72decb6d5406d9e" 312 source = "github.com/cilium/dns" 313 314 # main-usage = "pkg/fqdn" 315 # on-revision = "" 316 317 [[constraint]] 318 name = "github.com/onsi/ginkgo" 319 revision = "v1.7.0" 320 321 # main-usage = "only in integration tests" 322 # on-revision = "" 323 324 [[constraint]] 325 name = "github.com/onsi/gomega" 326 revision = "v1.4.3" 327 328 # main-usage = "only in integration tests" 329 # on-revision = "" 330 331 [[constraint]] 332 name = "github.com/op/go-logging" 333 revision = "970db520ece77730c7e4724c61121037378659d9" 334 335 # main-usage = "pkg/policy" 336 # on-revision = "" 337 338 [[constraint]] 339 name = "github.com/optiopay/kafka" 340 source = "https://github.com/cilium/kafka" 341 revision = "01ce283b732b96914f62b1ff1bf5d8b90f7db86c" 342 343 # main-usage = "pkg/kafka and pkg/proxy" 344 # on-revision = "" 345 346 [[constraint]] 347 name = "github.com/pborman/uuid" 348 revision = "v1.2.0" 349 350 # main-usage = "pkg/uuid" 351 # on-revision = "" 352 353 [[constraint]] 354 name = "github.com/pmezard/go-difflib" 355 revision = "v1.0.0" 356 357 # main-usage = "pkg/comparator" 358 # on-revision = "" 359 360 [[constraint]] 361 name = "github.com/prometheus/client_golang" 362 revision = "v0.9.2" 363 364 # main-usage = "pkg/metrics" 365 # on-revision = "" 366 367 [[constraint]] 368 name = "github.com/prometheus/client_model" 369 revision = "fd36f4220a901265f90734c3183c5f0c91daa0b8" 370 371 # main-usage = "pkg/metrics" 372 # on-revision = "last available commit and there is not stable releases" 373 374 [[override]] 375 name = "github.com/russross/blackfriday" 376 revision = "v1.5.2" 377 378 # main-usage = "cilium/cmd/debuginfo" 379 # on-revision = "same revision specified by github.com/cpuguy83/go-md2man" 380 381 [[constraint]] 382 name = "github.com/sasha-s/go-deadlock" 383 revision = "5dc88f41ca59ce157900a9942b2059ef084e6f81" 384 385 # main-usage = "pkg/lock" 386 # on-revision = "last available commit and there is not stable releases" 387 388 [[constraint]] 389 name = "github.com/servak/go-fastping" 390 revision = "5718d12e20a0705da242a29ded0482dabae84363" 391 392 # main-usage = "pkg/health" 393 # on-revision = "last available commit and there is not stable releases" 394 395 [[constraint]] 396 name = "github.com/shirou/gopsutil" 397 revision = "v2.19.03" 398 399 # main-usage = "pkg/loadinfo" 400 # on-revision = "" 401 402 [[constraint]] 403 name = "github.com/sirupsen/logrus" 404 revision = "v1.4.1" 405 406 # main-usage = "all over the code" 407 # on-revision = "" 408 409 [[constraint]] 410 name = "github.com/spf13/cobra" 411 revision = "67fc4837d267bc9bfd6e47f77783fcc3dffc68de" 412 413 # main-usage = "mainly CLI packages" 414 # on-revision = "" 415 416 [[override]] 417 name = "github.com/cpuguy83/go-md2man" 418 revision = "v1.0.10" 419 420 # main-usage = "github.com/spf13/cobra" 421 422 [[constraint]] 423 name = "github.com/spf13/pflag" 424 revision = "24fa6976df40757dce6aea913e7b81ade90530e1" 425 426 # main-usage = "mainly CLI packages" 427 # on-revision = "" 428 429 [[constraint]] 430 name = "github.com/spf13/viper" 431 revision = "v1.3.2" 432 433 # main-usage = "mainly CLI packages" 434 # on-revision = "" 435 436 [[constraint]] 437 name = "github.com/vishvananda/netlink" 438 revision = "d71301a47b607450337d920f260f3dc76481298e" 439 440 # main-usage = "all over the code" 441 # on-revision = "last available commit and there is no stable release" 442 443 [[override]] 444 name = "golang.org/x/crypto" 445 revision = "e84da0312774c21d64ee2317962ef669b27ffb41" 446 447 # main-usage = "only in integration tests" 448 # on-revision = "" 449 450 [[override]] 451 name = "golang.org/x/net" 452 revision = "65e2d4e15006aab9813ff8769e768bbf4bb667a0" 453 454 # main-usage = "pkg/kvstore/etcd, pkg/workloads, pkg/envoy and api/v1" 455 # on-revision = "last revision of branch 1.12" 456 457 [[constraint]] 458 name = "golang.org/x/sync" 459 revision = "112230192c580c3556b8cee6403af37a4fc5f28c" 460 461 # main-usage = "daemon" 462 # on-revision = "last available commit and there is not stable releases" 463 464 [[override]] 465 name = "golang.org/x/sys" 466 revision = "fde4db37ae7ad8191b03d30d27f258b5291ae4e3" 467 468 # main-usage = "daemon, pkg/bpf, pkg/maps/ipcache" 469 # on-revision = "github.com/shirou/gopsutil uses master so we override it with a particullar commit after v2.18.10 was released" 470 471 [[constraint]] 472 name = "golang.org/x/time" 473 revision = "9d24e82272b4f38b78bc8cff74fa936d31ccd8ef" 474 475 # main-usage = "pkg/kvstore/etcd" 476 # on-revision = "last revision of branch 1.12" 477 478 [[constraint]] 479 name = "google.golang.org/genproto" 480 revision = "e7d98fc518a78c9f8b5ee77be7b0b317475d89e1" 481 482 # main-usage = "proxylib" 483 # on-revision = "" 484 485 [[constraint]] 486 name = "google.golang.org/grpc" 487 revision = "v1.17.0" 488 489 # main-usage = "pkg/envoy, pkg/workloads and proxylib/npds" 490 # on-revision = "TODO GH-7290 @aanm upgrade once https://github.com/grpc/grpc-go/issues/2636 is fixed" 491 492 [[constraint]] 493 name = "gopkg.in/check.v1" 494 revision = "788fd78401277ebd861206a03c884797c6ec5541" 495 496 # main-usage = "unit tests" 497 # on-revision = "" 498 499 # We need to specify fsnotify source to avoid dep panic 500 [[constraint]] 501 name = "gopkg.in/fsnotify.v1" 502 revision = "v1.4.7" 503 source = "gopkg.in/fsnotify/fsnotify.v1" 504 505 # main-usage = "pkg/clustermesh" 506 # on-revision = "" 507 508 [[constraint]] 509 name = "gopkg.in/natefinch/lumberjack.v2" 510 revision = "v2.1" 511 512 # main-usage = "pkg/envoy and pkg/proxy" 513 # on-revision = "" 514 515 [[constraint]] 516 name = "k8s.io/api" 517 revision = "kubernetes-1.16.15" 518 519 # main-usage = "pkg/k8s" 520 # on-revision = "" 521 522 [[constraint]] 523 name = "k8s.io/apiextensions-apiserver" 524 revision = "kubernetes-1.16.15" 525 526 # main-usage = "pkg/k8s" 527 # on-revision = "" 528 529 [[override]] 530 name = "k8s.io/apiserver" 531 revision = "kubernetes-1.16.15" 532 533 # main-usage = "pkg/k8s" 534 # on-revision = "" 535 536 [[constraint]] 537 name = "k8s.io/apimachinery" 538 revision = "kubernetes-1.16.15" 539 540 # main-usage = "pkg/k8s" 541 # on-revision = "" 542 543 [[constraint]] 544 name = "k8s.io/client-go" 545 source = "https://github.com/cilium/client-go" 546 revision = "04c46fc588a85d6d380db9858bc281f29efece46" 547 548 # main-usage = "pkg/k8s" 549 # on-revision = "TODO @aanm is on 04c46fc588a85d6d380db9858bc281f29efece46 as it contains the hotfix for the metrics path" 550 551 [[override]] 552 name = "k8s.io/utils" 553 revision = "581e00157fb1a0435d4fac54a52d1ca1e481d60e" 554 555 # main-usage = "k8s.io/client-go" 556 # on-revision = "same revision set in the dependency list of k8s.io/client-go" 557 558 [[constraint]] 559 name = "k8s.io/code-generator" 560 revision = "kubernetes-1.16.15" 561 562 # main-usage = "pkg/k8s" 563 # on-revision = "" 564 565 [[override]] 566 name = "k8s.io/gengo" 567 revision = "26a664648505d962332bda642b27306bc10d1082" 568 569 # main-usage = "k8s.io/code-generator" 570 # on-revision = "same revision set in the dependency list of k8s.io/code-generator" 571 572 [[constraint]] 573 name = "k8s.io/kubernetes" 574 revision = "v1.16.15" 575 576 # main-usage = "pkg/k8s" 577 # on-revision = "" 578 579 [[constraint]] 580 name = "k8s.io/cri-api" 581 revision = "kubernetes-1.16.15" 582 583 # main-usage = "pkg/workloads" 584 # on-revision = "" 585 586 [[override]] 587 name = "k8s.io/klog" 588 revision = "v0.4.0" 589 590 # main-usage = "k8s.io/client-go" 591 # on-revision = "same revision set in the dependency list of k8s.io/client-go" 592 593 [[override]] 594 name = "github.com/modern-go/reflect2" 595 revision = "v1.0.1" 596 597 # main-usage = "kubernetes" 598 # on-revision = "same revision set in the dependency list of k8s.io/kubernetes" 599 600 [prune] 601 non-go = true 602 go-tests = true 603 unused-packages = true 604 605 [[prune.project]] 606 name = "k8s.io/code-generator" 607 unused-packages = false 608 non-go = false