load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") go_library( name = "jsonpatch", srcs = ["jsonpatch.go"], importpath = "edge-infra.dev/pkg/sds/lib/jsonpatch", visibility = ["//visibility:public"], deps = ["@in_gopkg_yaml_v2//:yaml_v2"], ) go_test( name = "jsonpatch_test", srcs = ["jsonpatch_test.go"], embed = [":jsonpatch"], deps = [ "//pkg/sds/ien/k8s/apis/v1:apis", "//pkg/sds/ien/node", "@com_github_stretchr_testify//assert", "@com_github_stretchr_testify//require", "@io_k8s_api//core/v1:core", ], )