...

Text file src/edge-infra.dev/pkg/f8n/warehouse/forwarder/BUILD.bazel

Documentation: edge-infra.dev/pkg/f8n/warehouse/forwarder

     1load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
     2
     3go_library(
     4    name = "forwarder",
     5    srcs = [
     6        "doc.go",
     7        "forwarder.go",
     8        "metrics.go",
     9        "name.go",
    10        "subscriber.go",
    11    ],
    12    importpath = "edge-infra.dev/pkg/f8n/warehouse/forwarder",
    13    visibility = ["//visibility:public"],
    14    deps = [
    15        "//pkg/f8n/kinform/sql",
    16        "//pkg/f8n/sovereign/model",
    17        "//pkg/f8n/warehouse/oci/remote",
    18        "//pkg/lib/fog",
    19        "//pkg/lib/runtime/healthz",
    20        "//pkg/lib/runtime/manager",
    21        "//pkg/lib/runtime/metrics",
    22        "//pkg/lib/runtime/subscriber",
    23        "@com_github_google_go_containerregistry//pkg/name",
    24        "@com_github_peterbourgon_ff_v3//:ff",
    25        "@com_github_prometheus_client_golang//prometheus",
    26        "@com_google_cloud_go_pubsub//:pubsub",
    27        "@org_uber_go_multierr//:multierr",
    28    ],
    29)
    30
    31go_test(
    32    name = "forwarder_test",
    33    srcs = ["name_test.go"],
    34    embed = [":forwarder"],
    35    deps = [
    36        "@com_github_google_go_containerregistry//pkg/name",
    37        "@com_github_stretchr_testify//assert",
    38        "@com_github_stretchr_testify//require",
    39    ],
    40)

View as plain text