2019-01-12 04:58:27 +00:00
|
|
|
package(default_visibility = ["//visibility:public"])
|
|
|
|
|
|
|
|
load(
|
|
|
|
"@io_bazel_rules_go//go:def.bzl",
|
|
|
|
"go_library",
|
|
|
|
"go_test",
|
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
|
|
|
srcs = [
|
2019-04-07 17:07:55 +00:00
|
|
|
"create_test.go",
|
2019-01-12 04:58:27 +00:00
|
|
|
"namer_test.go",
|
|
|
|
"rest_test.go",
|
|
|
|
],
|
|
|
|
embed = [":go_default_library"],
|
|
|
|
deps = [
|
|
|
|
"//staging/src/k8s.io/api/core/v1:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apimachinery/pkg/api/equality:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apimachinery/pkg/api/errors:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apimachinery/pkg/api/meta:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/unstructured:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apimachinery/pkg/runtime:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apimachinery/pkg/runtime/schema:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apimachinery/pkg/runtime/serializer:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apimachinery/pkg/types:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apimachinery/pkg/util/diff:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apimachinery/pkg/util/runtime:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apimachinery/pkg/util/strategicpatch:go_default_library",
|
2019-04-07 17:07:55 +00:00
|
|
|
"//staging/src/k8s.io/apiserver/pkg/admission:go_default_library",
|
2019-01-12 04:58:27 +00:00
|
|
|
"//staging/src/k8s.io/apiserver/pkg/apis/example:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apiserver/pkg/apis/example/v1:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apiserver/pkg/endpoints/request:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apiserver/pkg/registry/rest:go_default_library",
|
|
|
|
"//vendor/github.com/evanphx/json-patch:go_default_library",
|
2019-04-07 17:07:55 +00:00
|
|
|
"//vendor/k8s.io/utils/trace:go_default_library",
|
2019-01-12 04:58:27 +00:00
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
|
|
|
srcs = [
|
|
|
|
"create.go",
|
|
|
|
"delete.go",
|
|
|
|
"doc.go",
|
|
|
|
"get.go",
|
|
|
|
"namer.go",
|
|
|
|
"patch.go",
|
|
|
|
"response.go",
|
|
|
|
"rest.go",
|
|
|
|
"update.go",
|
|
|
|
"watch.go",
|
|
|
|
],
|
|
|
|
importmap = "k8s.io/kubernetes/vendor/k8s.io/apiserver/pkg/endpoints/handlers",
|
|
|
|
importpath = "k8s.io/apiserver/pkg/endpoints/handlers",
|
|
|
|
deps = [
|
|
|
|
"//staging/src/k8s.io/apimachinery/pkg/api/errors:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apimachinery/pkg/api/meta:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apimachinery/pkg/apis/meta/internalversion:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/validation:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apimachinery/pkg/apis/meta/v1beta1:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apimachinery/pkg/fields:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apimachinery/pkg/runtime:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apimachinery/pkg/runtime/schema:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apimachinery/pkg/runtime/serializer/streaming:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apimachinery/pkg/types:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apimachinery/pkg/util/json:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apimachinery/pkg/util/mergepatch:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apimachinery/pkg/util/runtime:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apimachinery/pkg/util/sets:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apimachinery/pkg/util/strategicpatch:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apimachinery/pkg/watch:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apiserver/pkg/admission:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apiserver/pkg/audit:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apiserver/pkg/authorization/authorizer:go_default_library",
|
2019-04-07 17:07:55 +00:00
|
|
|
"//staging/src/k8s.io/apiserver/pkg/endpoints/handlers/fieldmanager:go_default_library",
|
2019-01-12 04:58:27 +00:00
|
|
|
"//staging/src/k8s.io/apiserver/pkg/endpoints/handlers/negotiation:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apiserver/pkg/endpoints/handlers/responsewriters:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apiserver/pkg/endpoints/metrics:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apiserver/pkg/endpoints/request:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apiserver/pkg/features:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apiserver/pkg/registry/rest:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apiserver/pkg/server/httplog:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apiserver/pkg/util/dryrun:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apiserver/pkg/util/feature:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apiserver/pkg/util/wsstream:go_default_library",
|
|
|
|
"//vendor/github.com/evanphx/json-patch:go_default_library",
|
|
|
|
"//vendor/golang.org/x/net/websocket:go_default_library",
|
|
|
|
"//vendor/k8s.io/klog:go_default_library",
|
2019-04-07 17:07:55 +00:00
|
|
|
"//vendor/k8s.io/utils/trace:go_default_library",
|
2019-01-12 04:58:27 +00:00
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
filegroup(
|
|
|
|
name = "package-srcs",
|
|
|
|
srcs = glob(["**"]),
|
|
|
|
tags = ["automanaged"],
|
|
|
|
visibility = ["//visibility:private"],
|
|
|
|
)
|
|
|
|
|
|
|
|
filegroup(
|
|
|
|
name = "all-srcs",
|
|
|
|
srcs = [
|
|
|
|
":package-srcs",
|
2019-04-07 17:07:55 +00:00
|
|
|
"//staging/src/k8s.io/apiserver/pkg/endpoints/handlers/fieldmanager:all-srcs",
|
2019-01-12 04:58:27 +00:00
|
|
|
"//staging/src/k8s.io/apiserver/pkg/endpoints/handlers/negotiation:all-srcs",
|
|
|
|
"//staging/src/k8s.io/apiserver/pkg/endpoints/handlers/responsewriters:all-srcs",
|
|
|
|
],
|
|
|
|
tags = ["automanaged"],
|
|
|
|
)
|