...
1load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
2
3go_library(
4 name = "client",
5 srcs = [
6 "auth.go",
7 "client.go",
8 "options.go",
9 "transport.go",
10 "types.go",
11 ],
12 importpath = "edge-infra.dev/pkg/edge/api/client",
13 visibility = ["//visibility:public"],
14 deps = [
15 "//pkg/edge/api/graph/model",
16 "@com_github_shurcool_graphql//:graphql",
17 "@org_golang_x_net//publicsuffix",
18 ],
19)
20
21go_test(
22 name = "client_test",
23 srcs = [
24 "auth_test.go",
25 "client_test.go",
26 "options_test.go",
27 "transport_test.go",
28 ],
29 embed = [":client"],
30 deps = [
31 "//pkg/edge/api/graph/model",
32 "//pkg/edge/auth-proxy/utils",
33 "@com_github_shurcool_graphql//:graphql",
34 "@com_github_stretchr_testify//assert",
35 ],
36)
View as plain text