8e5b17cf13
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
46 lines
1.1 KiB
Text
46 lines
1.1 KiB
Text
package(default_visibility = ["//visibility:public"])
|
|
|
|
licenses(["notice"])
|
|
|
|
load(
|
|
"@io_bazel_rules_go//go:def.bzl",
|
|
"go_library",
|
|
)
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = [
|
|
"doc.go",
|
|
"matcher.go",
|
|
"options.go",
|
|
"storage_decorator.go",
|
|
],
|
|
tags = ["automanaged"],
|
|
deps = [
|
|
"//pkg/api:go_default_library",
|
|
"//pkg/fields:go_default_library",
|
|
"//pkg/storage:go_default_library",
|
|
"//pkg/storage/storagebackend:go_default_library",
|
|
"//pkg/storage/storagebackend/factory:go_default_library",
|
|
"//vendor:github.com/golang/glog",
|
|
"//vendor:k8s.io/apimachinery/pkg/runtime",
|
|
"//vendor:k8s.io/apimachinery/pkg/runtime/schema",
|
|
],
|
|
)
|
|
|
|
filegroup(
|
|
name = "package-srcs",
|
|
srcs = glob(["**"]),
|
|
tags = ["automanaged"],
|
|
visibility = ["//visibility:private"],
|
|
)
|
|
|
|
filegroup(
|
|
name = "all-srcs",
|
|
srcs = [
|
|
":package-srcs",
|
|
"//pkg/registry/generic/registry:all-srcs",
|
|
"//pkg/registry/generic/rest:all-srcs",
|
|
],
|
|
tags = ["automanaged"],
|
|
)
|