...

Text file src/edge-infra.dev/pkg/edge/datasync/chirp/BUILD.bazel

Documentation: edge-infra.dev/pkg/edge/datasync/chirp

     1load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
     2
     3go_library(
     4    name = "chirp",
     5    srcs = ["main.go"],
     6    importpath = "edge-infra.dev/pkg/edge/datasync/chirp",
     7    visibility = ["//visibility:public"],
     8    deps = [
     9        "//pkg/edge/datasync/chirp/provider",
    10        "//pkg/edge/datasync/chirp/sender",
    11        "//pkg/edge/datasync/chirp/server/grpc",
    12        "//pkg/edge/datasync/chirp/server/http",
    13        "//pkg/edge/datasync/chirp/worker",
    14        "//pkg/edge/datasync/http",
    15        "//pkg/edge/datasync/internal/config",
    16        "//pkg/edge/datasync/internal/metric",
    17        "//pkg/lib/fog",
    18        "@com_github_joho_godotenv//:godotenv",
    19    ],
    20)
    21
    22go_test(
    23    name = "chirp_test",
    24    srcs = ["chirp_test.go"],
    25    embed = [":chirp"],
    26    deps = [
    27        "//pkg/edge/datasync/kafkaclient",
    28        "@com_github_google_uuid//:uuid",
    29        "@com_github_stretchr_testify//assert",
    30        "@com_github_stretchr_testify//require",
    31    ],
    32)

View as plain text