# Refer to https://golang.github.io/dep/docs/Gopkg.toml.html
# for detailed Gopkg.toml documentation.

required = [
  "k8s.io/apimachinery/pkg/util/sets/types",
  "k8s.io/code-generator/cmd/deepcopy-gen",
  "k8s.io/code-generator/cmd/defaulter-gen",
  "k8s.io/code-generator/cmd/client-gen",
  "k8s.io/code-generator/cmd/lister-gen",
  "k8s.io/code-generator/cmd/informer-gen",
  "google.golang.org/api/container/v1beta1",
  "github.com/evanphx/json-patch",
  "knative.dev/test-infra/scripts",
  "knative.dev/test-infra/tools/dep-collector",
  "github.com/gogo/protobuf/proto",
  "github.com/go-logr/logr",
  "github.com/go-logr/zapr",
]

[[constraint]]
  # We can drop this constraint when we switch to a
  # k8s version that merges this bump
  # https://github.com/kubernetes/kubernetes/pull/87431
  name = "github.com/google/gofuzz"
  version = "v1.1.0"

[[constraint]]
  name = "k8s.io/api"
  version = "kubernetes-1.16.4"

[[override]]
  name = "k8s.io/apiextensions-apiserver"
  version = "kubernetes-1.16.4"

[[constraint]]
  name = "k8s.io/apimachinery"
  version = "kubernetes-1.16.4"

[[constraint]]
  name = "k8s.io/client-go"
  version = "kubernetes-1.16.4"

[[constraint]]
  name = "k8s.io/code-generator"
  version = "kubernetes-1.16.4"

[[constraint]]
  name = "github.com/gogo/protobuf"
  version = "v1.3.1"

[[override]]
  name = "gopkg.in/yaml.v2"
  version = "v2.2.4"

[[override]]
  name = "github.com/json-iterator/go"
  # This is the commit at which k8s depends on this in 1.11
  # It seems to be broken at HEAD.
  revision = "f2b4162afba35581b6d4a50d3b8f34e33c144682"

[[override]]
  name = "go.uber.org/zap"
  revision = "67bc79d13d155c02fd008f721863ff8cc5f30659"

[[constraint]]
  name = "github.com/google/go-cmp"
  # HEAD as of 2019-04-09
  revision = "6f77996f0c42f7b84e5a2b252227263f93432e9b"

[[override]]
  name = "github.com/rogpeppe/go-internal"
  version = "1.3.0"

[[constraint]]
  name = "contrib.go.opencensus.io/exporter/stackdriver"
  # With the fix of https://github.com/census-ecosystem/opencensus-go-exporter-stackdriver/issues/237
  revision = "59d068f8d8ff5b653916aa30cdc4e13c7f15d56e"

[[constraint]]
  name = "github.com/google/mako"
  version = "v0.1.0"

[[constraint]]
  name = "knative.dev/test-infra"
  branch = "master"

[prune]
  go-tests = true
  unused-packages = true
  non-go = true

[[prune.project]]
  name = "k8s.io/code-generator"
  unused-packages = false
  non-go = false

[[prune.project]]
  name = "knative.dev/test-infra"
  non-go = false
