...
1load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
2
3go_library(
4 name = "socket",
5 srcs = ["socket.go"],
6 importpath = "edge-infra.dev/pkg/sds/etcd/manager/internal/socket",
7 visibility = ["//pkg/sds/etcd/manager:__subpackages__"],
8 deps = [
9 "//pkg/lib/fog",
10 "@com_github_google_uuid//:uuid",
11 "@com_github_spf13_afero//:afero",
12 ],
13)
14
15go_test(
16 name = "socket_test",
17 srcs = ["socket_test.go"],
18 embed = [":socket"],
19 deps = [
20 "@com_github_go_logr_logr//testr",
21 "@com_github_google_uuid//:uuid",
22 "@com_github_spf13_afero//:afero",
23 "@com_github_stretchr_testify//assert",
24 "@com_github_stretchr_testify//require",
25 "@io_k8s_sigs_controller_runtime//:controller-runtime",
26 ],
27)
View as plain text