load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") go_library( name = "client", srcs = [ "auth.go", "client.go", "options.go", "transport.go", "types.go", ], importpath = "edge-infra.dev/pkg/edge/api/client", visibility = ["//visibility:public"], deps = [ "//pkg/edge/api/graph/model", "@com_github_shurcool_graphql//:graphql", "@org_golang_x_net//publicsuffix", ], ) go_test( name = "client_test", srcs = [ "auth_test.go", "client_test.go", "options_test.go", "transport_test.go", ], embed = [":client"], deps = [ "//pkg/edge/api/graph/model", "//pkg/edge/auth-proxy/utils", "@com_github_shurcool_graphql//:graphql", "@com_github_stretchr_testify//assert", ], )