...

Text file src/edge-infra.dev/pkg/edge/auth-proxy/BUILD.bazel

Documentation: edge-infra.dev/pkg/edge/auth-proxy

     1load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
     2
     3go_library(
     4    name = "auth-proxy",
     5    srcs = [
     6        "config.go",
     7        "setup.go",
     8        "transport.go",
     9    ],
    10    importpath = "edge-infra.dev/pkg/edge/auth-proxy",
    11    visibility = ["//visibility:public"],
    12    deps = [
    13        "//pkg/edge/api/middleware",
    14        "//pkg/edge/audit",
    15        "//pkg/edge/auth-proxy/handlers",
    16        "//pkg/edge/auth-proxy/interceptor",
    17        "//pkg/edge/auth-proxy/session",
    18        "//pkg/edge/auth-proxy/store",
    19        "//pkg/edge/auth-proxy/types",
    20        "//pkg/lib/gcp/cloudsql",
    21        "//pkg/lib/logging",
    22        "//pkg/lib/runtime/manager",
    23        "//pkg/lib/runtime/metrics",
    24        "//pkg/lib/uuid",
    25        "//pkg/x/tonic",
    26        "@com_github_gin_contrib_cors//:cors",
    27        "@com_github_gin_contrib_requestid//:requestid",
    28        "@com_github_gin_contrib_sessions//:sessions",
    29        "@com_github_gin_gonic_gin//:gin",
    30        "@com_github_go_logr_logr//:logr",
    31        "@com_github_peterbourgon_ff_v3//:ff",
    32    ],
    33)
    34
    35go_test(
    36    name = "auth-proxy_test",
    37    srcs = [
    38        "config_test.go",
    39        "setup_test.go",
    40    ],
    41    embed = [":auth-proxy"],
    42    deps = [
    43        "//pkg/lib/fog",
    44        "@com_github_gin_gonic_gin//:gin",
    45        "@com_github_stretchr_testify//assert",
    46    ],
    47)

View as plain text