...
1load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
2
3go_library(
4 name = "wait",
5 srcs = ["wait.go"],
6 importpath = "edge-infra.dev/pkg/sds/devices/wait",
7 visibility = ["//visibility:public"],
8 deps = [
9 "//pkg/lib/fog",
10 "//pkg/sds/devices/k8s/apis/v1:apis",
11 ],
12)
13
14go_test(
15 name = "wait_test",
16 srcs = ["wait_test.go"],
17 embed = [":wait"],
18 deps = [
19 "@com_github_stretchr_testify//assert",
20 "@com_github_stretchr_testify//require",
21 "@tools_gotest_v3//fs",
22 ],
23)
View as plain text