Enable auto-generating sources rules

This commit is contained in:
Jeff Grafton
2017-01-03 14:40:41 -08:00
parent f8288ed1f3
commit 20d221f75c
1002 changed files with 14557 additions and 1 deletions

View File

@@ -12,3 +12,20 @@ go_library(
srcs = ["doc.go"],
tags = ["automanaged"],
)
filegroup(
name = "package-srcs",
srcs = glob(["**"]),
tags = ["automanaged"],
visibility = ["//visibility:private"],
)
filegroup(
name = "all-srcs",
srcs = [
":package-srcs",
"//plugin/pkg/auth/authorizer/rbac:all-srcs",
"//plugin/pkg/auth/authorizer/webhook:all-srcs",
],
tags = ["automanaged"],
)

View File

@@ -41,3 +41,19 @@ go_test(
"//vendor:k8s.io/apiserver/pkg/authorization/authorizer",
],
)
filegroup(
name = "package-srcs",
srcs = glob(["**"]),
tags = ["automanaged"],
visibility = ["//visibility:private"],
)
filegroup(
name = "all-srcs",
srcs = [
":package-srcs",
"//plugin/pkg/auth/authorizer/rbac/bootstrappolicy:all-srcs",
],
tags = ["automanaged"],
)

View File

@@ -57,3 +57,16 @@ go_test(
"//pkg/util/sets:go_default_library",
],
)
filegroup(
name = "package-srcs",
srcs = glob(["**"]),
tags = ["automanaged"],
visibility = ["//visibility:private"],
)
filegroup(
name = "all-srcs",
srcs = [":package-srcs"],
tags = ["automanaged"],
)

View File

@@ -41,3 +41,16 @@ go_test(
"//vendor:k8s.io/apiserver/pkg/authorization/authorizer",
],
)
filegroup(
name = "package-srcs",
srcs = glob(["**"]),
tags = ["automanaged"],
visibility = ["//visibility:private"],
)
filegroup(
name = "all-srcs",
srcs = [":package-srcs"],
tags = ["automanaged"],
)