...
1load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
2
3go_library(
4 name = "status",
5 srcs = [
6 "compare.go",
7 "mapper.go",
8 "service.go",
9 ],
10 importpath = "edge-infra.dev/pkg/edge/api/services/virtualmachine/status",
11 visibility = ["//visibility:public"],
12 deps = [
13 "//pkg/edge/api/graph/model",
14 "//pkg/edge/api/services/kinform",
15 "//pkg/edge/api/services/virtualmachine/common",
16 "//pkg/f8n/kinform/model",
17 "@com_github_google_go_cmp//cmp",
18 "@com_github_google_go_cmp//cmp/cmpopts",
19 ],
20)
21
22go_test(
23 name = "status_test",
24 srcs = ["mapper_test.go"],
25 embed = [":status"],
26 deps = [
27 "//pkg/edge/api/graph/model",
28 "//pkg/f8n/kinform/model",
29 "@com_github_google_uuid//:uuid",
30 "@com_github_stretchr_testify//assert",
31 ],
32)
View as plain text