-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Expand file tree
/
Copy pathBUILD.bazel
More file actions
62 lines (60 loc) · 1.91 KB
/
Copy pathBUILD.bazel
File metadata and controls
62 lines (60 loc) · 1.91 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
load("@rules_go//go:def.bzl", "go_library")
load("//bazel/rules/go:dd_agent_go_test.bzl", "dd_agent_go_test")
go_library(
name = "impl",
srcs = [
"bootstrap.go",
"consumer.go",
],
importpath = "github.com/DataDog/datadog-agent/comp/core/configstreamconsumer/impl",
visibility = ["//visibility:public"],
deps = [
"//comp/core/configstreamconsumer/def",
"//comp/core/log/def",
"//comp/core/remoteagent/helper",
"//comp/core/telemetry/def",
"//comp/def",
"//pkg/api/security",
"//pkg/api/security/cert",
"//pkg/config/model",
"//pkg/configstreambootstrap",
"//pkg/proto/pbgo/core",
"//pkg/util/defaultpaths",
"//pkg/util/flavor",
"//pkg/util/log",
"@com_github_cenkalti_backoff_v7//:backoff",
"@in_yaml_go_yaml_v3//:yaml",
"@org_golang_google_grpc//:grpc",
"@org_golang_google_grpc//metadata",
"@org_golang_google_protobuf//types/known/structpb",
],
)
dd_agent_go_test(
name = "impl_test",
srcs = [
"consumer_test.go",
"enabled_test.go",
"integration_test.go",
],
embed = [":impl"],
deps = [
"//comp/core/configstreamconsumer/def",
"//comp/core/configstreamconsumer/fx",
"//comp/core/log/def",
"//comp/core/log/mock",
"//comp/core/telemetry/fx",
"//pkg/api/security/cert",
"//pkg/config/model",
"//pkg/configstreambootstrap",
"//pkg/proto/pbgo/core",
"//pkg/util/fxutil",
"@com_github_stretchr_testify//require",
"@org_golang_google_grpc//:grpc",
"@org_golang_google_grpc//codes",
"@org_golang_google_grpc//credentials",
"@org_golang_google_grpc//metadata",
"@org_golang_google_grpc//status",
"@org_golang_google_protobuf//types/known/structpb",
"@org_uber_go_fx//:fx",
],
)