...

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

Documentation: edge-infra.dev/pkg/edge/chariot

     1load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
     2
     3go_library(
     4    name = "chariot",
     5    srcs = [
     6        "daemon.go",
     7        "metrics.go",
     8        "pubsubpull.go",
     9        "request.go",
    10        "response.go",
    11        "storage.go",
    12    ],
    13    importpath = "edge-infra.dev/pkg/edge/chariot",
    14    visibility = ["//visibility:public"],
    15    deps = [
    16        "//pkg/edge/chariot/errorsnode",
    17        "//pkg/edge/constants",
    18        "//pkg/edge/edgeagent/model",
    19        "//pkg/lib/mqtt",
    20        "@com_github_fluxcd_helm_controller_api//v2beta1",
    21        "@com_github_fluxcd_kustomize_controller_api//v1beta2",
    22        "@com_github_prometheus_client_golang//prometheus",
    23        "@com_github_prometheus_client_golang//prometheus/promauto",
    24        "@com_google_cloud_go_pubsub//:pubsub",
    25        "@com_google_cloud_go_storage//:storage",
    26        "@in_gopkg_yaml_v2//:yaml_v2",
    27        "@org_golang_google_api//googleapi",
    28    ],
    29)
    30
    31go_test(
    32    name = "chariot_test",
    33    srcs = [
    34        "fakegcsserver_test.go",
    35        "metrics_test.go",
    36        "mockpubsubpull_test.go",
    37        "request_test.go",
    38        "response_test.go",
    39    ],
    40    embed = [":chariot"],
    41    deps = [
    42        "//pkg/lib/promassert",
    43        "@com_github_fsouza_fake_gcs_server//fakestorage",
    44        "@com_google_cloud_go_storage//:storage",
    45        "@in_gopkg_yaml_v2//:yaml_v2",
    46        "@org_golang_google_api//googleapi",
    47        "@org_golang_google_api//iterator",
    48    ],
    49)

View as plain text