BUILD 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  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. "management.go",
  10. "pipeline.go",
  11. ],
  12. importpath = "go-common/app/service/ops/log-agent/pipeline",
  13. tags = ["automanaged"],
  14. visibility = ["//visibility:public"],
  15. deps = [
  16. "//app/service/ops/log-agent/event:go_default_library",
  17. "//app/service/ops/log-agent/input:go_default_library",
  18. "//app/service/ops/log-agent/input/file:go_default_library",
  19. "//app/service/ops/log-agent/input/sock:go_default_library",
  20. "//app/service/ops/log-agent/output:go_default_library",
  21. "//app/service/ops/log-agent/output/lancergrpc:go_default_library",
  22. "//app/service/ops/log-agent/output/lancerlogstream:go_default_library",
  23. "//app/service/ops/log-agent/output/stdout:go_default_library",
  24. "//app/service/ops/log-agent/pkg/common:go_default_library",
  25. "//app/service/ops/log-agent/processor:go_default_library",
  26. "//app/service/ops/log-agent/processor/classify:go_default_library",
  27. "//app/service/ops/log-agent/processor/fileLog:go_default_library",
  28. "//app/service/ops/log-agent/processor/grok:go_default_library",
  29. "//app/service/ops/log-agent/processor/httpstream:go_default_library",
  30. "//app/service/ops/log-agent/processor/jsonLog:go_default_library",
  31. "//app/service/ops/log-agent/processor/lengthCheck:go_default_library",
  32. "//app/service/ops/log-agent/processor/sample:go_default_library",
  33. "//library/log:go_default_library",
  34. "//vendor/github.com/BurntSushi/toml: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. "//app/service/ops/log-agent/pipeline/dockerlogcollector:all-srcs",
  48. "//app/service/ops/log-agent/pipeline/hostlogcollector:all-srcs",
  49. ],
  50. tags = ["automanaged"],
  51. visibility = ["//visibility:public"],
  52. )