k3s/vendor/k8s.io/kubernetes/cmd/kubelet/app/BUILD

176 lines
8.6 KiB
Python
Raw Normal View History

2020-08-10 17:43:49 +00:00
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
2019-01-12 04:58:27 +00:00
go_library(
name = "go_default_library",
srcs = [
"auth.go",
"init_others.go",
"init_windows.go",
"plugins.go",
2019-09-27 21:51:53 +00:00
"plugins_providers.go",
2019-01-12 04:58:27 +00:00
"server.go",
"server_linux.go",
"server_unsupported.go",
],
importpath = "k8s.io/kubernetes/cmd/kubelet/app",
2020-08-10 17:43:49 +00:00
visibility = ["//visibility:public"],
2019-01-12 04:58:27 +00:00
deps = [
"//cmd/kubelet/app/options:go_default_library",
"//pkg/api/legacyscheme:go_default_library",
"//pkg/apis/core:go_default_library",
"//pkg/capabilities:go_default_library",
"//pkg/cloudprovider/providers:go_default_library",
"//pkg/credentialprovider:go_default_library",
"//pkg/credentialprovider/aws:go_default_library",
"//pkg/credentialprovider/azure:go_default_library",
"//pkg/credentialprovider/gcp:go_default_library",
"//pkg/features:go_default_library",
"//pkg/kubelet:go_default_library",
"//pkg/kubelet/apis/config:go_default_library",
"//pkg/kubelet/apis/config/scheme:go_default_library",
"//pkg/kubelet/apis/config/validation:go_default_library",
"//pkg/kubelet/cadvisor:go_default_library",
"//pkg/kubelet/certificate:go_default_library",
"//pkg/kubelet/certificate/bootstrap:go_default_library",
"//pkg/kubelet/cm:go_default_library",
2019-12-12 01:27:03 +00:00
"//pkg/kubelet/cm/cpuset:go_default_library",
2019-01-12 04:58:27 +00:00
"//pkg/kubelet/config:go_default_library",
"//pkg/kubelet/container:go_default_library",
"//pkg/kubelet/eviction:go_default_library",
"//pkg/kubelet/eviction/api:go_default_library",
"//pkg/kubelet/kubeletconfig:go_default_library",
"//pkg/kubelet/kubeletconfig/configfiles:go_default_library",
2020-08-10 17:43:49 +00:00
"//pkg/kubelet/metrics:go_default_library",
2019-01-12 04:58:27 +00:00
"//pkg/kubelet/server:go_default_library",
2019-04-07 17:07:55 +00:00
"//pkg/kubelet/stats/pidlimit:go_default_library",
2019-01-12 04:58:27 +00:00
"//pkg/kubelet/types:go_default_library",
"//pkg/util/filesystem:go_default_library",
"//pkg/util/flock:go_default_library",
"//pkg/util/node:go_default_library",
"//pkg/util/oom:go_default_library",
"//pkg/util/rlimit:go_default_library",
"//pkg/volume:go_default_library",
"//pkg/volume/awsebs:go_default_library",
"//pkg/volume/azure_dd:go_default_library",
"//pkg/volume/azure_file:go_default_library",
"//pkg/volume/cephfs:go_default_library",
"//pkg/volume/cinder:go_default_library",
"//pkg/volume/configmap:go_default_library",
"//pkg/volume/csi:go_default_library",
2019-12-12 01:27:03 +00:00
"//pkg/volume/csimigration:go_default_library",
2019-01-12 04:58:27 +00:00
"//pkg/volume/downwardapi:go_default_library",
"//pkg/volume/emptydir:go_default_library",
"//pkg/volume/fc:go_default_library",
"//pkg/volume/flexvolume:go_default_library",
"//pkg/volume/flocker:go_default_library",
"//pkg/volume/gcepd:go_default_library",
"//pkg/volume/git_repo:go_default_library",
"//pkg/volume/glusterfs:go_default_library",
2019-08-30 18:33:25 +00:00
"//pkg/volume/hostpath:go_default_library",
2019-01-12 04:58:27 +00:00
"//pkg/volume/iscsi:go_default_library",
"//pkg/volume/local:go_default_library",
"//pkg/volume/nfs:go_default_library",
"//pkg/volume/portworx:go_default_library",
"//pkg/volume/projected:go_default_library",
"//pkg/volume/quobyte:go_default_library",
"//pkg/volume/rbd:go_default_library",
"//pkg/volume/scaleio:go_default_library",
"//pkg/volume/secret:go_default_library",
"//pkg/volume/storageos:go_default_library",
2019-09-27 21:51:53 +00:00
"//pkg/volume/util/hostutil:go_default_library",
2019-04-07 17:07:55 +00:00
"//pkg/volume/util/subpath:go_default_library",
2019-01-12 04:58:27 +00:00
"//pkg/volume/vsphere_volume:go_default_library",
"//staging/src/k8s.io/api/core/v1:go_default_library",
"//staging/src/k8s.io/apimachinery/pkg/api/resource:go_default_library",
"//staging/src/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library",
2019-08-30 18:33:25 +00:00
"//staging/src/k8s.io/apimachinery/pkg/runtime:go_default_library",
2019-01-12 04:58:27 +00:00
"//staging/src/k8s.io/apimachinery/pkg/types: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/apiserver/pkg/authentication/authenticator: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",
2019-08-30 18:33:25 +00:00
"//staging/src/k8s.io/apiserver/pkg/server:go_default_library",
2019-12-12 01:27:03 +00:00
"//staging/src/k8s.io/apiserver/pkg/server/dynamiccertificates:go_default_library",
2019-01-12 04:58:27 +00:00
"//staging/src/k8s.io/apiserver/pkg/server/healthz:go_default_library",
"//staging/src/k8s.io/apiserver/pkg/util/feature:go_default_library",
"//staging/src/k8s.io/client-go/kubernetes:go_default_library",
2019-12-12 01:27:03 +00:00
"//staging/src/k8s.io/client-go/kubernetes/typed/authentication/v1:go_default_library",
"//staging/src/k8s.io/client-go/kubernetes/typed/authorization/v1:go_default_library",
2019-01-12 04:58:27 +00:00
"//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/tools/record:go_default_library",
"//staging/src/k8s.io/client-go/util/cert:go_default_library",
"//staging/src/k8s.io/client-go/util/certificate:go_default_library",
2019-06-12 21:00:25 +00:00
"//staging/src/k8s.io/client-go/util/connrotation:go_default_library",
2019-04-07 17:07:55 +00:00
"//staging/src/k8s.io/client-go/util/keyutil:go_default_library",
2019-01-12 04:58:27 +00:00
"//staging/src/k8s.io/cloud-provider:go_default_library",
2019-04-07 17:07:55 +00:00
"//staging/src/k8s.io/component-base/cli/flag:go_default_library",
2020-08-10 17:43:49 +00:00
"//staging/src/k8s.io/component-base/configz:go_default_library",
2019-12-12 01:27:03 +00:00
"//staging/src/k8s.io/component-base/featuregate:go_default_library",
2020-08-10 17:43:49 +00:00
"//staging/src/k8s.io/component-base/logs:go_default_library",
2020-03-26 21:07:15 +00:00
"//staging/src/k8s.io/component-base/metrics:go_default_library",
2020-08-10 17:43:49 +00:00
"//staging/src/k8s.io/component-base/metrics/legacyregistry:go_default_library",
2019-12-12 01:27:03 +00:00
"//staging/src/k8s.io/component-base/version:go_default_library",
"//staging/src/k8s.io/component-base/version/verflag:go_default_library",
"//staging/src/k8s.io/csi-translation-lib/plugins:go_default_library",
2019-01-12 04:58:27 +00:00
"//staging/src/k8s.io/kubelet/config/v1beta1:go_default_library",
"//vendor/github.com/coreos/go-systemd/daemon:go_default_library",
"//vendor/github.com/spf13/cobra:go_default_library",
"//vendor/github.com/spf13/pflag:go_default_library",
2020-08-10 17:43:49 +00:00
"//vendor/k8s.io/klog/v2:go_default_library",
2019-01-12 04:58:27 +00:00
"//vendor/k8s.io/utils/exec:go_default_library",
2019-12-12 01:27:03 +00:00
"//vendor/k8s.io/utils/mount:go_default_library",
2019-01-12 04:58:27 +00:00
] + select({
2019-12-12 01:27:03 +00:00
"@io_bazel_rules_go//go/platform:android": [
"//vendor/k8s.io/utils/inotify:go_default_library",
],
2019-01-12 04:58:27 +00:00
"@io_bazel_rules_go//go/platform:linux": [
2019-09-27 21:51:53 +00:00
"//vendor/k8s.io/utils/inotify:go_default_library",
2019-01-12 04:58:27 +00:00
],
"@io_bazel_rules_go//go/platform:windows": [
"//pkg/windows/service:go_default_library",
],
"//conditions:default": [],
}),
)
2020-08-10 17:43:49 +00:00
go_test(
name = "go_default_test",
srcs = [
"server_bootstrap_test.go",
"server_test.go",
],
embed = [":go_default_library"],
deps = [
"//pkg/apis/certificates/v1:go_default_library",
"//pkg/controller/certificates/authority:go_default_library",
"//staging/src/k8s.io/api/certificates/v1: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/types:go_default_library",
"//staging/src/k8s.io/client-go/rest:go_default_library",
"//staging/src/k8s.io/client-go/util/cert: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",
"//cmd/kubelet/app/options:all-srcs",
],
tags = ["automanaged"],
2020-08-10 17:43:49 +00:00
visibility = ["//visibility:public"],
2019-01-12 04:58:27 +00:00
)