BUILD 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. package(default_visibility = ["//visibility:public"])
  2. load(
  3. "@io_bazel_rules_go//go:def.bzl",
  4. "go_library",
  5. )
  6. go_library(
  7. name = "go_default_library",
  8. srcs = [
  9. "cached.go",
  10. "doc.go",
  11. "enqueue.go",
  12. "interface.go",
  13. "patch.go",
  14. "proxy.go",
  15. "register.go",
  16. "typed.go",
  17. "unstructured.go",
  18. "verify.go",
  19. ],
  20. importpath = "github.com/knative/pkg/apis/duck",
  21. tags = ["automanaged"],
  22. visibility = ["//visibility:public"],
  23. deps = [
  24. "//vendor/github.com/evanphx/json-patch:go_default_library",
  25. "//vendor/github.com/google/go-cmp/cmp:go_default_library",
  26. "//vendor/github.com/knative/pkg/apis:go_default_library",
  27. "//vendor/github.com/mattbaird/jsonpatch:go_default_library",
  28. "//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library",
  29. "//vendor/k8s.io/apimachinery/pkg/apis/meta/v1/unstructured:go_default_library",
  30. "//vendor/k8s.io/apimachinery/pkg/runtime:go_default_library",
  31. "//vendor/k8s.io/apimachinery/pkg/runtime/schema:go_default_library",
  32. "//vendor/k8s.io/apimachinery/pkg/watch:go_default_library",
  33. "//vendor/k8s.io/client-go/dynamic:go_default_library",
  34. "//vendor/k8s.io/client-go/tools/cache:go_default_library",
  35. ],
  36. )
  37. filegroup(
  38. name = "package-srcs",
  39. srcs = glob(["**"]),
  40. tags = ["automanaged"],
  41. visibility = ["//visibility:private"],
  42. )
  43. filegroup(
  44. name = "all-srcs",
  45. srcs = [
  46. ":package-srcs",
  47. "//vendor/github.com/knative/pkg/apis/duck/v1alpha1:all-srcs",
  48. ],
  49. tags = ["automanaged"],
  50. visibility = ["//visibility:public"],
  51. )