102 lines
3.5 KiB
Text
102 lines
3.5 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 = [
|
||
|
"apiserver.go",
|
||
|
"discovery.go",
|
||
|
"doc.go",
|
||
|
"groupversion.go",
|
||
|
"installer.go",
|
||
|
],
|
||
|
tags = ["automanaged"],
|
||
|
deps = [
|
||
|
"//pkg/admission:go_default_library",
|
||
|
"//pkg/api:go_default_library",
|
||
|
"//pkg/apis/extensions:go_default_library",
|
||
|
"//pkg/genericapiserver/api/handlers:go_default_library",
|
||
|
"//pkg/genericapiserver/api/handlers/responsewriters:go_default_library",
|
||
|
"//pkg/genericapiserver/api/rest:go_default_library",
|
||
|
"//vendor:github.com/emicklei/go-restful",
|
||
|
"//vendor:k8s.io/apimachinery/pkg/api/errors",
|
||
|
"//vendor:k8s.io/apimachinery/pkg/api/meta",
|
||
|
"//vendor:k8s.io/apimachinery/pkg/apis/meta/v1",
|
||
|
"//vendor:k8s.io/apimachinery/pkg/conversion",
|
||
|
"//vendor:k8s.io/apimachinery/pkg/runtime",
|
||
|
"//vendor:k8s.io/apimachinery/pkg/runtime/schema",
|
||
|
"//vendor:k8s.io/apimachinery/pkg/util/errors",
|
||
|
"//vendor:k8s.io/apiserver/pkg/handlers/negotiation",
|
||
|
"//vendor:k8s.io/apiserver/pkg/metrics",
|
||
|
"//vendor:k8s.io/apiserver/pkg/request",
|
||
|
],
|
||
|
)
|
||
|
|
||
|
go_test(
|
||
|
name = "go_default_test",
|
||
|
srcs = [
|
||
|
"apiserver_test.go",
|
||
|
"installer_test.go",
|
||
|
"proxy_test.go",
|
||
|
"watch_test.go",
|
||
|
],
|
||
|
library = ":go_default_library",
|
||
|
tags = ["automanaged"],
|
||
|
deps = [
|
||
|
"//pkg/admission:go_default_library",
|
||
|
"//pkg/api:go_default_library",
|
||
|
"//pkg/api/testing:go_default_library",
|
||
|
"//pkg/api/v1:go_default_library",
|
||
|
"//pkg/fields:go_default_library",
|
||
|
"//pkg/genericapiserver/api/filters:go_default_library",
|
||
|
"//pkg/genericapiserver/api/handlers:go_default_library",
|
||
|
"//pkg/genericapiserver/api/handlers/responsewriters:go_default_library",
|
||
|
"//pkg/genericapiserver/api/rest:go_default_library",
|
||
|
"//pkg/genericapiserver/api/testing:go_default_library",
|
||
|
"//plugin/pkg/admission/admit:go_default_library",
|
||
|
"//plugin/pkg/admission/deny:go_default_library",
|
||
|
"//vendor:github.com/emicklei/go-restful",
|
||
|
"//vendor:golang.org/x/net/websocket",
|
||
|
"//vendor:k8s.io/apimachinery/pkg/api/errors",
|
||
|
"//vendor:k8s.io/apimachinery/pkg/api/meta",
|
||
|
"//vendor:k8s.io/apimachinery/pkg/apis/meta/v1",
|
||
|
"//vendor:k8s.io/apimachinery/pkg/labels",
|
||
|
"//vendor:k8s.io/apimachinery/pkg/runtime",
|
||
|
"//vendor:k8s.io/apimachinery/pkg/runtime/schema",
|
||
|
"//vendor:k8s.io/apimachinery/pkg/runtime/serializer/streaming",
|
||
|
"//vendor:k8s.io/apimachinery/pkg/util/diff",
|
||
|
"//vendor:k8s.io/apimachinery/pkg/util/net",
|
||
|
"//vendor:k8s.io/apimachinery/pkg/util/sets",
|
||
|
"//vendor:k8s.io/apimachinery/pkg/util/wait",
|
||
|
"//vendor:k8s.io/apimachinery/pkg/watch",
|
||
|
"//vendor:k8s.io/apiserver/pkg/request",
|
||
|
],
|
||
|
)
|
||
|
|
||
|
filegroup(
|
||
|
name = "package-srcs",
|
||
|
srcs = glob(["**"]),
|
||
|
tags = ["automanaged"],
|
||
|
visibility = ["//visibility:private"],
|
||
|
)
|
||
|
|
||
|
filegroup(
|
||
|
name = "all-srcs",
|
||
|
srcs = [
|
||
|
":package-srcs",
|
||
|
"//pkg/genericapiserver/api/filters:all-srcs",
|
||
|
"//pkg/genericapiserver/api/handlers:all-srcs",
|
||
|
"//pkg/genericapiserver/api/openapi:all-srcs",
|
||
|
"//pkg/genericapiserver/api/rest:all-srcs",
|
||
|
"//pkg/genericapiserver/api/testing:all-srcs",
|
||
|
],
|
||
|
tags = ["automanaged"],
|
||
|
)
|