...

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

Documentation: edge-infra.dev/pkg/k8s/unstructured

     1load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
     2
     3go_library(
     4    name = "unstructured",
     5    srcs = ["converter.go"],
     6    importpath = "edge-infra.dev/pkg/k8s/unstructured",
     7    visibility = ["//visibility:public"],
     8    deps = [
     9        "@com_github_pkg_errors//:errors",
    10        "@io_k8s_apimachinery//pkg/apis/meta/v1/unstructured",
    11        "@io_k8s_apimachinery//pkg/runtime",
    12        "@io_k8s_apimachinery//pkg/runtime/schema",
    13        "@io_k8s_sigs_controller_runtime//pkg/client",
    14    ],
    15)
    16
    17go_test(
    18    name = "unstructured_test",
    19    srcs = ["converter_test.go"],
    20    embed = [":unstructured"],
    21    deps = [
    22        "//pkg/k8s/object/fobject",
    23        "@com_github_stretchr_testify//assert",
    24        "@io_k8s_api//apps/v1:apps",
    25        "@io_k8s_apimachinery//pkg/apis/meta/v1:meta",
    26        "@io_k8s_sigs_controller_runtime//pkg/client",
    27    ],
    28)

View as plain text