mirror of
https://github.com/rocky-linux/peridot.git
synced 2024-11-24 14:11:25 +00:00
23 lines
628 B
Python
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": [],
|
|
}),
|
|
)
|