57 lines
1.1 KiB
Text
57 lines
1.1 KiB
Text
|
package(default_visibility = ["//visibility:public"])
|
||
|
|
||
|
licenses(["notice"])
|
||
|
|
||
|
load(
|
||
|
"@io_bazel_rules_go//go:def.bzl",
|
||
|
"go_library",
|
||
|
"go_test",
|
||
|
)
|
||
|
|
||
|
go_library(
|
||
|
name = "go_default_library",
|
||
|
srcs = [
|
||
|
"config.go",
|
||
|
"doc.go",
|
||
|
"keyring.go",
|
||
|
"plugins.go",
|
||
|
"provider.go",
|
||
|
],
|
||
|
tags = ["automanaged"],
|
||
|
deps = [
|
||
|
"//pkg/api/v1:go_default_library",
|
||
|
"//vendor:github.com/docker/engine-api/types",
|
||
|
"//vendor:github.com/golang/glog",
|
||
|
"//vendor:k8s.io/apimachinery/pkg/util/sets",
|
||
|
],
|
||
|
)
|
||
|
|
||
|
go_test(
|
||
|
name = "go_default_test",
|
||
|
srcs = [
|
||
|
"config_test.go",
|
||
|
"keyring_test.go",
|
||
|
"provider_test.go",
|
||
|
],
|
||
|
library = ":go_default_library",
|
||
|
tags = ["automanaged"],
|
||
|
)
|
||
|
|
||
|
filegroup(
|
||
|
name = "package-srcs",
|
||
|
srcs = glob(["**"]),
|
||
|
tags = ["automanaged"],
|
||
|
visibility = ["//visibility:private"],
|
||
|
)
|
||
|
|
||
|
filegroup(
|
||
|
name = "all-srcs",
|
||
|
srcs = [
|
||
|
":package-srcs",
|
||
|
"//pkg/credentialprovider/aws:all-srcs",
|
||
|
"//pkg/credentialprovider/azure:all-srcs",
|
||
|
"//pkg/credentialprovider/gcp:all-srcs",
|
||
|
],
|
||
|
tags = ["automanaged"],
|
||
|
)
|