mirror of https://github.com/pulumi/pulumi.git
22 lines
491 B
Python
22 lines
491 B
Python
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
|
|
|
|
go_library(
|
|
name = "retry",
|
|
srcs = ["until.go"],
|
|
importpath = "github.com/pulumi/pulumi/sdk/v3/go/common/util/retry",
|
|
visibility = ["//visibility:public"],
|
|
)
|
|
|
|
alias(
|
|
name = "go_default_library",
|
|
actual = ":retry",
|
|
visibility = ["//visibility:public"],
|
|
)
|
|
|
|
go_test(
|
|
name = "retry_test",
|
|
srcs = ["until_test.go"],
|
|
embed = [":retry"],
|
|
deps = ["@com_github_stretchr_testify//assert"],
|
|
)
|