BUILD 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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. "addressable_types.go",
  10. "condition_set.go",
  11. "conditions_types.go",
  12. "doc.go",
  13. "generational_types.go",
  14. "legacy_targetable_types.go",
  15. "register.go",
  16. "retired_targetable_types.go",
  17. "zz_generated.deepcopy.go",
  18. ],
  19. importpath = "github.com/knative/pkg/apis/duck/v1alpha1",
  20. tags = ["automanaged"],
  21. visibility = ["//visibility:public"],
  22. deps = [
  23. "//vendor/github.com/knative/pkg/apis:go_default_library",
  24. "//vendor/github.com/knative/pkg/apis/duck:go_default_library",
  25. "//vendor/k8s.io/api/core/v1:go_default_library",
  26. "//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library",
  27. "//vendor/k8s.io/apimachinery/pkg/runtime:go_default_library",
  28. "//vendor/k8s.io/apimachinery/pkg/runtime/schema:go_default_library",
  29. ],
  30. )
  31. filegroup(
  32. name = "package-srcs",
  33. srcs = glob(["**"]),
  34. tags = ["automanaged"],
  35. visibility = ["//visibility:private"],
  36. )
  37. filegroup(
  38. name = "all-srcs",
  39. srcs = [":package-srcs"],
  40. tags = ["automanaged"],
  41. visibility = ["//visibility:public"],
  42. )