...

Text file src/edge-infra.dev/pkg/sds/patching/patchmanager/BUILD.bazel

Documentation: edge-infra.dev/pkg/sds/patching/patchmanager

     1load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
     2
     3go_library(
     4    name = "patchmanager",
     5    srcs = [
     6        "patchextract.go",
     7        "patchmanager.go",
     8        "patchorder.go",
     9        "prechecks.go",
    10    ],
    11    importpath = "edge-infra.dev/pkg/sds/patching/patchmanager",
    12    visibility = ["//visibility:public"],
    13    deps = [
    14        "//pkg/k8s/runtime/conditions",
    15        "//pkg/sds/lib/dbus/systemd",
    16        "//pkg/sds/lib/os/file",
    17        "//pkg/sds/patching/common",
    18        "//pkg/sds/patching/k8s/apis/ienpatch/v1:ienpatch",
    19        "@com_github_go_logr_logr//:logr",
    20        "@com_github_hashicorp_go_version//:go-version",
    21        "@com_github_spf13_afero//:afero",
    22        "@com_github_spf13_viper//:viper",
    23        "@in_gopkg_yaml_v2//:yaml_v2",
    24        "@io_k8s_api//core/v1:core",
    25        "@io_k8s_apimachinery//pkg/util/wait",
    26        "@io_k8s_sigs_controller_runtime//pkg/client",
    27    ],
    28)
    29
    30go_test(
    31    name = "patchmanager_test",
    32    srcs = [
    33        "patchextract_test.go",
    34        "patchmanager_test.go",
    35    ],
    36    embed = [":patchmanager"],
    37    deps = [
    38        "//pkg/lib/logging",
    39        "//pkg/sds/patching/common",
    40        "//pkg/sds/patching/test",
    41        "@com_github_go_logr_logr//:logr",
    42        "@com_github_hashicorp_go_version//:go-version",
    43        "@tools_gotest_v3//fs",
    44    ],
    45)

View as plain text