load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") go_library( name = "status", srcs = [ "compare.go", "mapper.go", "service.go", ], importpath = "edge-infra.dev/pkg/edge/api/services/virtualmachine/status", visibility = ["//visibility:public"], deps = [ "//pkg/edge/api/graph/model", "//pkg/edge/api/services/kinform", "//pkg/edge/api/services/virtualmachine/common", "//pkg/f8n/kinform/model", "@com_github_google_go_cmp//cmp", "@com_github_google_go_cmp//cmp/cmpopts", ], ) go_test( name = "status_test", srcs = ["mapper_test.go"], embed = [":status"], deps = [ "//pkg/edge/api/graph/model", "//pkg/f8n/kinform/model", "@com_github_google_uuid//:uuid", "@com_github_stretchr_testify//assert", ], )