mirror of
https://github.com/k3s-io/k3s.git
synced 2024-06-07 19:41:36 +00:00
119 lines
6.3 KiB
Python
119 lines
6.3 KiB
Python
package(default_visibility = ["//visibility:public"])
|
|
|
|
load(
|
|
"@io_bazel_rules_go//go:def.bzl",
|
|
"go_library",
|
|
"go_test",
|
|
)
|
|
|
|
go_test(
|
|
name = "go_default_test",
|
|
srcs = [
|
|
"apiserver_test.go",
|
|
"audit_test.go",
|
|
"installer_test.go",
|
|
"patchhandler_test.go",
|
|
"watch_test.go",
|
|
],
|
|
embed = [":go_default_library"],
|
|
deps = [
|
|
"//staging/src/k8s.io/apimachinery/pkg/api/apitesting/fuzzer: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/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/unstructured: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/labels: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/runtime/serializer/streaming: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/sets:go_default_library",
|
|
"//staging/src/k8s.io/apimachinery/pkg/util/wait: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/apis/audit:go_default_library",
|
|
"//staging/src/k8s.io/apiserver/pkg/apis/example:go_default_library",
|
|
"//staging/src/k8s.io/apiserver/pkg/apis/example/fuzzer:go_default_library",
|
|
"//staging/src/k8s.io/apiserver/pkg/apis/example/v1:go_default_library",
|
|
"//staging/src/k8s.io/apiserver/pkg/audit:go_default_library",
|
|
"//staging/src/k8s.io/apiserver/pkg/audit/policy:go_default_library",
|
|
"//staging/src/k8s.io/apiserver/pkg/endpoints/filters:go_default_library",
|
|
"//staging/src/k8s.io/apiserver/pkg/endpoints/handlers:go_default_library",
|
|
"//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/request:go_default_library",
|
|
"//staging/src/k8s.io/apiserver/pkg/endpoints/testing: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/filters:go_default_library",
|
|
"//staging/src/k8s.io/apiserver/pkg/util/feature:go_default_library",
|
|
"//staging/src/k8s.io/client-go/dynamic:go_default_library",
|
|
"//staging/src/k8s.io/client-go/rest:go_default_library",
|
|
"//staging/src/k8s.io/component-base/featuregate/testing:go_default_library",
|
|
"//vendor/github.com/emicklei/go-restful:go_default_library",
|
|
"//vendor/golang.org/x/net/websocket:go_default_library",
|
|
],
|
|
)
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = [
|
|
"doc.go",
|
|
"groupversion.go",
|
|
"installer.go",
|
|
],
|
|
importmap = "k8s.io/kubernetes/vendor/k8s.io/apiserver/pkg/endpoints",
|
|
importpath = "k8s.io/apiserver/pkg/endpoints",
|
|
deps = [
|
|
"//staging/src/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library",
|
|
"//staging/src/k8s.io/apimachinery/pkg/conversion: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/types:go_default_library",
|
|
"//staging/src/k8s.io/apimachinery/pkg/util/errors:go_default_library",
|
|
"//staging/src/k8s.io/apimachinery/pkg/util/sets:go_default_library",
|
|
"//staging/src/k8s.io/apiserver/pkg/admission:go_default_library",
|
|
"//staging/src/k8s.io/apiserver/pkg/authorization/authorizer:go_default_library",
|
|
"//staging/src/k8s.io/apiserver/pkg/endpoints/discovery:go_default_library",
|
|
"//staging/src/k8s.io/apiserver/pkg/endpoints/handlers:go_default_library",
|
|
"//staging/src/k8s.io/apiserver/pkg/endpoints/handlers/fieldmanager:go_default_library",
|
|
"//staging/src/k8s.io/apiserver/pkg/endpoints/handlers/negotiation:go_default_library",
|
|
"//staging/src/k8s.io/apiserver/pkg/endpoints/metrics: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/filters:go_default_library",
|
|
"//staging/src/k8s.io/apiserver/pkg/util/feature:go_default_library",
|
|
"//vendor/github.com/emicklei/go-restful:go_default_library",
|
|
"//vendor/k8s.io/kube-openapi/pkg/util/proto:go_default_library",
|
|
],
|
|
)
|
|
|
|
filegroup(
|
|
name = "package-srcs",
|
|
srcs = glob(["**"]),
|
|
tags = ["automanaged"],
|
|
visibility = ["//visibility:private"],
|
|
)
|
|
|
|
filegroup(
|
|
name = "all-srcs",
|
|
srcs = [
|
|
":package-srcs",
|
|
"//staging/src/k8s.io/apiserver/pkg/endpoints/discovery:all-srcs",
|
|
"//staging/src/k8s.io/apiserver/pkg/endpoints/filters:all-srcs",
|
|
"//staging/src/k8s.io/apiserver/pkg/endpoints/handlers:all-srcs",
|
|
"//staging/src/k8s.io/apiserver/pkg/endpoints/metrics:all-srcs",
|
|
"//staging/src/k8s.io/apiserver/pkg/endpoints/openapi:all-srcs",
|
|
"//staging/src/k8s.io/apiserver/pkg/endpoints/request:all-srcs",
|
|
"//staging/src/k8s.io/apiserver/pkg/endpoints/testing:all-srcs",
|
|
],
|
|
tags = ["automanaged"],
|
|
)
|