mirror of
https://github.com/k3s-io/k3s.git
synced 2024-06-07 19:41:36 +00:00
150 lines
8.2 KiB
Python
150 lines
8.2 KiB
Python
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = [
|
|
"admission.go",
|
|
"api_enablement.go",
|
|
"audit.go",
|
|
"authentication.go",
|
|
"authorization.go",
|
|
"coreapi.go",
|
|
"deprecated_insecure_serving.go",
|
|
"doc.go",
|
|
"egress_selector.go",
|
|
"etcd.go",
|
|
"events.go",
|
|
"feature.go",
|
|
"recommended.go",
|
|
"server_run_options.go",
|
|
"serving.go",
|
|
"serving_with_loopback.go",
|
|
"webhook.go",
|
|
],
|
|
importmap = "k8s.io/kubernetes/vendor/k8s.io/apiserver/pkg/server/options",
|
|
importpath = "k8s.io/apiserver/pkg/server/options",
|
|
visibility = ["//visibility:public"],
|
|
deps = [
|
|
"//staging/src/k8s.io/api/core/v1:go_default_library",
|
|
"//staging/src/k8s.io/apimachinery/pkg/api/errors:go_default_library",
|
|
"//staging/src/k8s.io/apimachinery/pkg/apis/meta/v1: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/util/net: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/apiserver/pkg/admission:go_default_library",
|
|
"//staging/src/k8s.io/apiserver/pkg/admission/initializer:go_default_library",
|
|
"//staging/src/k8s.io/apiserver/pkg/admission/metrics:go_default_library",
|
|
"//staging/src/k8s.io/apiserver/pkg/admission/plugin/namespace/lifecycle:go_default_library",
|
|
"//staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/mutating:go_default_library",
|
|
"//staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/validating:go_default_library",
|
|
"//staging/src/k8s.io/apiserver/pkg/apis/apiserver:go_default_library",
|
|
"//staging/src/k8s.io/apiserver/pkg/apis/apiserver/v1alpha1:go_default_library",
|
|
"//staging/src/k8s.io/apiserver/pkg/apis/audit:go_default_library",
|
|
"//staging/src/k8s.io/apiserver/pkg/apis/audit/v1:go_default_library",
|
|
"//staging/src/k8s.io/apiserver/pkg/apis/audit/v1alpha1:go_default_library",
|
|
"//staging/src/k8s.io/apiserver/pkg/apis/audit/v1beta1: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/authentication/authenticatorfactory:go_default_library",
|
|
"//staging/src/k8s.io/apiserver/pkg/authorization/authorizer:go_default_library",
|
|
"//staging/src/k8s.io/apiserver/pkg/authorization/authorizerfactory:go_default_library",
|
|
"//staging/src/k8s.io/apiserver/pkg/authorization/path:go_default_library",
|
|
"//staging/src/k8s.io/apiserver/pkg/authorization/union:go_default_library",
|
|
"//staging/src/k8s.io/apiserver/pkg/features:go_default_library",
|
|
"//staging/src/k8s.io/apiserver/pkg/registry/generic:go_default_library",
|
|
"//staging/src/k8s.io/apiserver/pkg/registry/generic/registry:go_default_library",
|
|
"//staging/src/k8s.io/apiserver/pkg/server:go_default_library",
|
|
"//staging/src/k8s.io/apiserver/pkg/server/egressselector:go_default_library",
|
|
"//staging/src/k8s.io/apiserver/pkg/server/healthz:go_default_library",
|
|
"//staging/src/k8s.io/apiserver/pkg/server/options/encryptionconfig:go_default_library",
|
|
"//staging/src/k8s.io/apiserver/pkg/server/resourceconfig:go_default_library",
|
|
"//staging/src/k8s.io/apiserver/pkg/server/storage:go_default_library",
|
|
"//staging/src/k8s.io/apiserver/pkg/storage/storagebackend:go_default_library",
|
|
"//staging/src/k8s.io/apiserver/pkg/storage/storagebackend/factory:go_default_library",
|
|
"//staging/src/k8s.io/apiserver/pkg/util/feature:go_default_library",
|
|
"//staging/src/k8s.io/apiserver/pkg/util/webhook:go_default_library",
|
|
"//staging/src/k8s.io/apiserver/plugin/pkg/audit/buffered:go_default_library",
|
|
"//staging/src/k8s.io/apiserver/plugin/pkg/audit/dynamic:go_default_library",
|
|
"//staging/src/k8s.io/apiserver/plugin/pkg/audit/dynamic/enforced:go_default_library",
|
|
"//staging/src/k8s.io/apiserver/plugin/pkg/audit/log:go_default_library",
|
|
"//staging/src/k8s.io/apiserver/plugin/pkg/audit/truncate:go_default_library",
|
|
"//staging/src/k8s.io/apiserver/plugin/pkg/audit/webhook:go_default_library",
|
|
"//staging/src/k8s.io/client-go/informers:go_default_library",
|
|
"//staging/src/k8s.io/client-go/kubernetes:go_default_library",
|
|
"//staging/src/k8s.io/client-go/kubernetes/typed/core/v1:go_default_library",
|
|
"//staging/src/k8s.io/client-go/rest:go_default_library",
|
|
"//staging/src/k8s.io/client-go/tools/clientcmd:go_default_library",
|
|
"//staging/src/k8s.io/client-go/util/cert:go_default_library",
|
|
"//staging/src/k8s.io/client-go/util/keyutil:go_default_library",
|
|
"//staging/src/k8s.io/component-base/cli/flag:go_default_library",
|
|
"//vendor/github.com/pborman/uuid:go_default_library",
|
|
"//vendor/github.com/spf13/pflag:go_default_library",
|
|
"//vendor/gopkg.in/natefinch/lumberjack.v2:go_default_library",
|
|
"//vendor/k8s.io/klog:go_default_library",
|
|
"//vendor/k8s.io/kube-openapi/pkg/common:go_default_library",
|
|
"//vendor/k8s.io/utils/path:go_default_library",
|
|
],
|
|
)
|
|
|
|
go_test(
|
|
name = "go_default_test",
|
|
srcs = [
|
|
"admission_test.go",
|
|
"api_enablement_test.go",
|
|
"audit_test.go",
|
|
"authentication_test.go",
|
|
"etcd_test.go",
|
|
"server_run_options_test.go",
|
|
"serving_test.go",
|
|
],
|
|
data = glob(["testdata/**"]),
|
|
embed = [":go_default_library"],
|
|
deps = [
|
|
"//staging/src/k8s.io/apimachinery/pkg/apis/meta/v1: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/util/errors:go_default_library",
|
|
"//staging/src/k8s.io/apimachinery/pkg/util/sets:go_default_library",
|
|
"//staging/src/k8s.io/apimachinery/pkg/version:go_default_library",
|
|
"//staging/src/k8s.io/apiserver/pkg/admission:go_default_library",
|
|
"//staging/src/k8s.io/apiserver/pkg/apis/audit/v1:go_default_library",
|
|
"//staging/src/k8s.io/apiserver/pkg/authentication/authenticatorfactory:go_default_library",
|
|
"//staging/src/k8s.io/apiserver/pkg/features:go_default_library",
|
|
"//staging/src/k8s.io/apiserver/pkg/server:go_default_library",
|
|
"//staging/src/k8s.io/apiserver/pkg/storage/storagebackend:go_default_library",
|
|
"//staging/src/k8s.io/apiserver/pkg/util/feature:go_default_library",
|
|
"//staging/src/k8s.io/client-go/discovery:go_default_library",
|
|
"//staging/src/k8s.io/client-go/informers:go_default_library",
|
|
"//staging/src/k8s.io/client-go/kubernetes/fake:go_default_library",
|
|
"//staging/src/k8s.io/client-go/rest:go_default_library",
|
|
"//staging/src/k8s.io/client-go/tools/clientcmd/api/v1:go_default_library",
|
|
"//staging/src/k8s.io/component-base/cli/flag:go_default_library",
|
|
"//staging/src/k8s.io/component-base/featuregate/testing:go_default_library",
|
|
"//vendor/github.com/spf13/pflag:go_default_library",
|
|
"//vendor/github.com/stretchr/testify/assert:go_default_library",
|
|
"//vendor/github.com/stretchr/testify/require:go_default_library",
|
|
"//vendor/k8s.io/kube-openapi/pkg/common: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/server/options/encryptionconfig:all-srcs",
|
|
],
|
|
tags = ["automanaged"],
|
|
visibility = ["//visibility:public"],
|
|
)
|