8e5b17cf13
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
135 lines
5.2 KiB
Text
135 lines
5.2 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",
|
|
"config_selfclient.go",
|
|
"discovery.go",
|
|
"doc.go",
|
|
"genericapiserver.go",
|
|
"healthz.go",
|
|
"hooks.go",
|
|
"resource_config.go",
|
|
"resource_encoding_config.go",
|
|
"serve.go",
|
|
"storage_factory.go",
|
|
],
|
|
tags = ["automanaged"],
|
|
deps = [
|
|
"//pkg/admission:go_default_library",
|
|
"//pkg/api:go_default_library",
|
|
"//pkg/auth/handlers:go_default_library",
|
|
"//pkg/client/restclient:go_default_library",
|
|
"//pkg/genericapiserver/api:go_default_library",
|
|
"//pkg/genericapiserver/api/filters:go_default_library",
|
|
"//pkg/genericapiserver/api/openapi:go_default_library",
|
|
"//pkg/genericapiserver/api/rest:go_default_library",
|
|
"//pkg/genericapiserver/authenticator:go_default_library",
|
|
"//pkg/genericapiserver/authorizer:go_default_library",
|
|
"//pkg/genericapiserver/filters:go_default_library",
|
|
"//pkg/genericapiserver/mux:go_default_library",
|
|
"//pkg/genericapiserver/options:go_default_library",
|
|
"//pkg/genericapiserver/routes:go_default_library",
|
|
"//pkg/storage/storagebackend:go_default_library",
|
|
"//pkg/util/cert:go_default_library",
|
|
"//pkg/version:go_default_library",
|
|
"//vendor:github.com/coreos/go-systemd/daemon",
|
|
"//vendor:github.com/emicklei/go-restful",
|
|
"//vendor:github.com/emicklei/go-restful/swagger",
|
|
"//vendor:github.com/go-openapi/spec",
|
|
"//vendor:github.com/golang/glog",
|
|
"//vendor:github.com/pborman/uuid",
|
|
"//vendor:github.com/pkg/errors",
|
|
"//vendor:gopkg.in/natefinch/lumberjack.v2",
|
|
"//vendor:k8s.io/apimachinery/pkg/apimachinery",
|
|
"//vendor:k8s.io/apimachinery/pkg/apis/meta/v1",
|
|
"//vendor:k8s.io/apimachinery/pkg/openapi",
|
|
"//vendor:k8s.io/apimachinery/pkg/runtime",
|
|
"//vendor:k8s.io/apimachinery/pkg/runtime/schema",
|
|
"//vendor:k8s.io/apimachinery/pkg/runtime/serializer/recognizer",
|
|
"//vendor:k8s.io/apimachinery/pkg/util/net",
|
|
"//vendor:k8s.io/apimachinery/pkg/util/runtime",
|
|
"//vendor:k8s.io/apimachinery/pkg/util/sets",
|
|
"//vendor:k8s.io/apimachinery/pkg/util/validation",
|
|
"//vendor:k8s.io/apiserver/pkg/authentication/authenticator",
|
|
"//vendor:k8s.io/apiserver/pkg/authentication/request/union",
|
|
"//vendor:k8s.io/apiserver/pkg/authentication/user",
|
|
"//vendor:k8s.io/apiserver/pkg/authorization/authorizer",
|
|
"//vendor:k8s.io/apiserver/pkg/authorization/union",
|
|
"//vendor:k8s.io/apiserver/pkg/healthz",
|
|
"//vendor:k8s.io/apiserver/pkg/request",
|
|
],
|
|
)
|
|
|
|
go_test(
|
|
name = "go_default_test",
|
|
srcs = [
|
|
"genericapiserver_test.go",
|
|
"resource_config_test.go",
|
|
"serve_test.go",
|
|
"server_run_options_test.go",
|
|
"storage_factory_test.go",
|
|
],
|
|
library = ":go_default_library",
|
|
tags = ["automanaged"],
|
|
deps = [
|
|
"//pkg/api:go_default_library",
|
|
"//pkg/api/testapi:go_default_library",
|
|
"//pkg/api/v1:go_default_library",
|
|
"//pkg/apis/autoscaling:go_default_library",
|
|
"//pkg/apis/extensions:go_default_library",
|
|
"//pkg/client/clientset_generated/clientset:go_default_library",
|
|
"//pkg/generated/openapi:go_default_library",
|
|
"//pkg/genericapiserver/api/rest:go_default_library",
|
|
"//pkg/genericapiserver/options:go_default_library",
|
|
"//pkg/storage/etcd/testing:go_default_library",
|
|
"//pkg/storage/storagebackend:go_default_library",
|
|
"//pkg/util/cert:go_default_library",
|
|
"//pkg/util/config:go_default_library",
|
|
"//pkg/version:go_default_library",
|
|
"//vendor:github.com/go-openapi/spec",
|
|
"//vendor:github.com/stretchr/testify/assert",
|
|
"//vendor:k8s.io/apimachinery/pkg/api/meta",
|
|
"//vendor:k8s.io/apimachinery/pkg/apimachinery",
|
|
"//vendor:k8s.io/apimachinery/pkg/apis/meta/v1",
|
|
"//vendor:k8s.io/apimachinery/pkg/runtime",
|
|
"//vendor:k8s.io/apimachinery/pkg/runtime/schema",
|
|
"//vendor:k8s.io/apimachinery/pkg/util/net",
|
|
"//vendor:k8s.io/apimachinery/pkg/util/sets",
|
|
"//vendor:k8s.io/apiserver/pkg/authentication/user",
|
|
"//vendor:k8s.io/apiserver/pkg/authorization/authorizer",
|
|
"//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:all-srcs",
|
|
"//pkg/genericapiserver/authenticator:all-srcs",
|
|
"//pkg/genericapiserver/authorizer:all-srcs",
|
|
"//pkg/genericapiserver/filters:all-srcs",
|
|
"//pkg/genericapiserver/mux:all-srcs",
|
|
"//pkg/genericapiserver/openapi:all-srcs",
|
|
"//pkg/genericapiserver/options:all-srcs",
|
|
"//pkg/genericapiserver/routes:all-srcs",
|
|
],
|
|
tags = ["automanaged"],
|
|
)
|