peridot/vendor/cloud.google.com/go/compute/metadata/BUILD.bazel
2024-10-16 12:56:53 +02:00

23 lines
628 B
Python

load("@io_bazel_rules_go//go:def.bzl", "go_library")
go_library(
name = "metadata",
srcs = [
"metadata.go",
"retry.go",
"retry_linux.go",
"syscheck.go",
"syscheck_linux.go",
"syscheck_windows.go",
],
importmap = "peridot.resf.org/vendor/cloud.google.com/go/compute/metadata",
importpath = "cloud.google.com/go/compute/metadata",
visibility = ["//visibility:public"],
deps = select({
"@io_bazel_rules_go//go/platform:windows": [
"//vendor/golang.org/x/sys/windows/registry",
],
"//conditions:default": [],
}),
)