...

Text file src/edge-infra.dev/pkg/f8n/devinfra/gcp/job/storage/BUILD.bazel

Documentation: edge-infra.dev/pkg/f8n/devinfra/gcp/job/storage

     1load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
     2
     3go_library(
     4    name = "storage",
     5    srcs = [
     6        "options.go",
     7        "storage.go",
     8    ],
     9    importpath = "edge-infra.dev/pkg/f8n/devinfra/gcp/job/storage",
    10    visibility = ["//visibility:public"],
    11    deps = [
    12        "//pkg/lib/cli/rags",
    13        "//pkg/lib/errors",
    14        "//pkg/lib/fog",
    15        "@com_google_cloud_go_storage//:storage",
    16        "@org_golang_google_api//iterator",
    17    ],
    18)
    19
    20go_test(
    21    name = "storage_test",
    22    srcs = [
    23        "integration_test.go",
    24        "storage_test.go",
    25    ],
    26    data = ["//test:config_json"],
    27    embed = [":storage"],
    28    visibility = ["//visibility:public"],
    29    deps = [
    30        "@com_github_stretchr_testify//assert",
    31        "@com_google_cloud_go_storage//:storage",
    32        "@org_golang_google_api//option",
    33    ],
    34)

View as plain text