pulumi/pkg/resource/edit/BUILD.bazel

46 lines
1.1 KiB
Python

load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
go_library(
name = "edit",
srcs = [
"doc.go",
"errors.go",
"operations.go",
],
importpath = "github.com/pulumi/pulumi/pkg/v3/resource/edit",
visibility = ["//visibility:public"],
deps = [
"//pkg/resource/deploy",
"//pkg/resource/deploy/providers",
"//pkg/resource/graph",
"//sdk/go/common/apitype",
"//sdk/go/common/resource",
"//sdk/go/common/slice",
"//sdk/go/common/tokens",
"//sdk/go/common/util/contract",
],
)
alias(
name = "go_default_library",
actual = ":edit",
visibility = ["//visibility:public"],
)
go_test(
name = "edit_test",
srcs = ["operations_test.go"],
embed = [":edit"],
deps = [
"//pkg/resource/deploy",
"//pkg/resource/deploy/providers",
"//pkg/secrets/b64",
"//pkg/version",
"//sdk/go/common/apitype",
"//sdk/go/common/resource",
"//sdk/go/common/tokens",
"@com_github_stretchr_testify//assert",
"@com_github_stretchr_testify//require",
],
)