...

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

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

     1load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
     2
     3go_library(
     4    name = "session",
     5    srcs = [
     6        "mapper.go",
     7        "mock.go",
     8        "provider.go",
     9        "session.go",
    10    ],
    11    importpath = "edge-infra.dev/pkg/edge/auth-proxy/session",
    12    visibility = ["//visibility:public"],
    13    deps = [
    14        "//pkg/edge/api/bsl/types",
    15        "//pkg/edge/api/graph/model",
    16        "//pkg/edge/auth-proxy/types",
    17        "//pkg/edge/auth-proxy/utils",
    18        "//pkg/lib/uuid",
    19        "@com_github_gin_contrib_sessions//:sessions",
    20    ],
    21)
    22
    23go_test(
    24    name = "session_test",
    25    srcs = [
    26        "mapper_test.go",
    27        "provider_test.go",
    28        "session_test.go",
    29    ],
    30    embed = [":session"],
    31    deps = [
    32        "//pkg/edge/api/bsl/types",
    33        "//pkg/edge/auth-proxy/faker",
    34        "//pkg/edge/auth-proxy/utils",
    35        "//pkg/lib/uuid",
    36        "@com_github_stretchr_testify//assert",
    37    ],
    38)

View as plain text