...
1load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
2
3go_library(
4 name = "loaddata",
5 srcs = ["loaddata.go"],
6 importpath = "edge-infra.dev/pkg/edge/edgeadmin/commands/operatorintervention/loaddata",
7 visibility = ["//visibility:public"],
8 deps = [
9 "//pkg/edge/api/client",
10 "//pkg/edge/api/graph/model",
11 "//pkg/edge/edgeadmin/commands/operatorintervention/edgeextension",
12 "//pkg/edge/edgeadmin/commands/operatorintervention/format",
13 "//pkg/edge/edgecli",
14 "//pkg/edge/edgecli/flagutil",
15 "//pkg/lib/cli/command",
16 "//pkg/lib/cli/rags",
17 "@com_github_peterbourgon_ff_v3//:ff",
18 "@com_github_shurcool_graphql//:graphql",
19 ],
20)
21
22go_test(
23 name = "loaddata_test",
24 srcs = ["loaddata_test.go"],
25 embed = [":loaddata"],
26 deps = [
27 "//pkg/edge/api/graph/model",
28 "//pkg/edge/api/utils",
29 "//pkg/edge/edgecli",
30 "//pkg/edge/edgecli/flagutil",
31 "@com_github_99designs_gqlgen//graphql",
32 "@com_github_shurcool_graphql//:graphql",
33 "@com_github_stretchr_testify//require",
34 ],
35)
View as plain text