22 lines
649 B
Python
22 lines
649 B
Python
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = ["metadata.go"],
|
|
importmap = "github.com/jetstack/cert-manager/vendor/cloud.google.com/go/compute/metadata",
|
|
importpath = "cloud.google.com/go/compute/metadata",
|
|
tags = ["manual"],
|
|
visibility = ["//visibility:public"],
|
|
deps = [
|
|
"//vendor/golang.org/x/net/context:go_default_library",
|
|
"//vendor/golang.org/x/net/context/ctxhttp:go_default_library",
|
|
],
|
|
)
|
|
|
|
go_test(
|
|
name = "go_default_test",
|
|
srcs = ["metadata_test.go"],
|
|
embed = [":go_default_library"],
|
|
tags = ["manual"],
|
|
)
|