8e5b17cf13
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
55 lines
1.5 KiB
Text
55 lines
1.5 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",
|
|
"index.go",
|
|
"metrics.go",
|
|
"openapi.go",
|
|
"profiling.go",
|
|
"swagger.go",
|
|
"swaggerui.go",
|
|
"version.go",
|
|
],
|
|
tags = ["automanaged"],
|
|
deps = [
|
|
"//pkg/genericapiserver/api/handlers/responsewriters:go_default_library",
|
|
"//pkg/genericapiserver/mux:go_default_library",
|
|
"//pkg/genericapiserver/openapi:go_default_library",
|
|
"//pkg/genericapiserver/routes/data/swagger:go_default_library",
|
|
"//pkg/version:go_default_library",
|
|
"//vendor:github.com/elazarl/go-bindata-assetfs",
|
|
"//vendor:github.com/emicklei/go-restful",
|
|
"//vendor:github.com/emicklei/go-restful/swagger",
|
|
"//vendor:github.com/golang/glog",
|
|
"//vendor:github.com/prometheus/client_golang/prometheus",
|
|
"//vendor:k8s.io/apimachinery/pkg/apis/meta/v1",
|
|
"//vendor:k8s.io/apimachinery/pkg/openapi",
|
|
"//vendor:k8s.io/apiserver/pkg/metrics",
|
|
"//vendor:k8s.io/apiserver/pkg/storage/etcd/metrics",
|
|
],
|
|
)
|
|
|
|
filegroup(
|
|
name = "package-srcs",
|
|
srcs = glob(["**"]),
|
|
tags = ["automanaged"],
|
|
visibility = ["//visibility:private"],
|
|
)
|
|
|
|
filegroup(
|
|
name = "all-srcs",
|
|
srcs = [
|
|
":package-srcs",
|
|
"//pkg/genericapiserver/routes/data/swagger:all-srcs",
|
|
],
|
|
tags = ["automanaged"],
|
|
)
|