BUILD 1.2 KB

123456789101112131415161718192021222324252627282930313233343536
  1. load("@io_bazel_rules_go//go:def.bzl", "go_library")
  2. go_library(
  3. name = "go_default_library",
  4. srcs = ["client.go"],
  5. importmap = "k8s.io/kubernetes/vendor/github.com/vmware/govmomi/lookup",
  6. importpath = "github.com/vmware/govmomi/lookup",
  7. visibility = ["//visibility:public"],
  8. deps = [
  9. "//vendor/github.com/vmware/govmomi/lookup/methods:go_default_library",
  10. "//vendor/github.com/vmware/govmomi/lookup/types:go_default_library",
  11. "//vendor/github.com/vmware/govmomi/vim25:go_default_library",
  12. "//vendor/github.com/vmware/govmomi/vim25/soap:go_default_library",
  13. "//vendor/github.com/vmware/govmomi/vim25/types:go_default_library",
  14. ],
  15. )
  16. filegroup(
  17. name = "package-srcs",
  18. srcs = glob(["**"]),
  19. tags = ["automanaged"],
  20. visibility = ["//visibility:private"],
  21. )
  22. filegroup(
  23. name = "all-srcs",
  24. srcs = [
  25. ":package-srcs",
  26. "//vendor/github.com/vmware/govmomi/lookup/methods:all-srcs",
  27. "//vendor/github.com/vmware/govmomi/lookup/simulator:all-srcs",
  28. "//vendor/github.com/vmware/govmomi/lookup/types:all-srcs",
  29. ],
  30. tags = ["automanaged"],
  31. visibility = ["//visibility:public"],
  32. )