144 lines
5.7 KiB
Text
144 lines
5.7 KiB
Text
|
package(default_visibility = ["//visibility:public"])
|
||
|
|
||
|
licenses(["notice"])
|
||
|
|
||
|
load(
|
||
|
"@io_bazel_rules_go//go:def.bzl",
|
||
|
"go_library",
|
||
|
"go_test",
|
||
|
)
|
||
|
|
||
|
go_test(
|
||
|
name = "go_default_test",
|
||
|
srcs = [
|
||
|
"bootstrap_test.go",
|
||
|
"server_test.go",
|
||
|
],
|
||
|
library = ":go_default_library",
|
||
|
tags = ["automanaged"],
|
||
|
deps = [
|
||
|
"//pkg/client/restclient:go_default_library",
|
||
|
"//pkg/kubelet:go_default_library",
|
||
|
"//pkg/util/config:go_default_library",
|
||
|
"//vendor:k8s.io/apimachinery/pkg/util/diff",
|
||
|
],
|
||
|
)
|
||
|
|
||
|
go_library(
|
||
|
name = "go_default_library",
|
||
|
srcs = [
|
||
|
"auth.go",
|
||
|
"bootstrap.go",
|
||
|
"clientgo.go",
|
||
|
"plugins.go",
|
||
|
"server.go",
|
||
|
"server_linux.go",
|
||
|
],
|
||
|
tags = ["automanaged"],
|
||
|
deps = [
|
||
|
"//cmd/kubelet/app/options:go_default_library",
|
||
|
"//pkg/api:go_default_library",
|
||
|
"//pkg/api/v1:go_default_library",
|
||
|
"//pkg/apis/componentconfig:go_default_library",
|
||
|
"//pkg/apis/componentconfig/v1alpha1:go_default_library",
|
||
|
"//pkg/capabilities:go_default_library",
|
||
|
"//pkg/client/chaosclient:go_default_library",
|
||
|
"//pkg/client/clientset_generated/clientset:go_default_library",
|
||
|
"//pkg/client/clientset_generated/clientset/typed/certificates/v1alpha1:go_default_library",
|
||
|
"//pkg/client/clientset_generated/clientset/typed/core/v1:go_default_library",
|
||
|
"//pkg/client/record:go_default_library",
|
||
|
"//pkg/client/restclient:go_default_library",
|
||
|
"//pkg/client/unversioned/auth:go_default_library",
|
||
|
"//pkg/client/unversioned/clientcmd:go_default_library",
|
||
|
"//pkg/client/unversioned/clientcmd/api:go_default_library",
|
||
|
"//pkg/cloudprovider: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/genericapiserver/authenticator:go_default_library",
|
||
|
"//pkg/genericapiserver/authorizer:go_default_library",
|
||
|
"//pkg/kubelet:go_default_library",
|
||
|
"//pkg/kubelet/cadvisor:go_default_library",
|
||
|
"//pkg/kubelet/cm:go_default_library",
|
||
|
"//pkg/kubelet/config:go_default_library",
|
||
|
"//pkg/kubelet/container:go_default_library",
|
||
|
"//pkg/kubelet/dockertools:go_default_library",
|
||
|
"//pkg/kubelet/network:go_default_library",
|
||
|
"//pkg/kubelet/network/cni:go_default_library",
|
||
|
"//pkg/kubelet/network/kubenet:go_default_library",
|
||
|
"//pkg/kubelet/server:go_default_library",
|
||
|
"//pkg/kubelet/types:go_default_library",
|
||
|
"//pkg/kubelet/util/csr:go_default_library",
|
||
|
"//pkg/util/cert:go_default_library",
|
||
|
"//pkg/util/config:go_default_library",
|
||
|
"//pkg/util/configz:go_default_library",
|
||
|
"//pkg/util/flock:go_default_library",
|
||
|
"//pkg/util/io:go_default_library",
|
||
|
"//pkg/util/mount:go_default_library",
|
||
|
"//pkg/util/node:go_default_library",
|
||
|
"//pkg/util/oom:go_default_library",
|
||
|
"//pkg/util/rlimit:go_default_library",
|
||
|
"//pkg/version:go_default_library",
|
||
|
"//pkg/volume:go_default_library",
|
||
|
"//pkg/volume/aws_ebs: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/downwardapi:go_default_library",
|
||
|
"//pkg/volume/empty_dir:go_default_library",
|
||
|
"//pkg/volume/fc:go_default_library",
|
||
|
"//pkg/volume/flexvolume:go_default_library",
|
||
|
"//pkg/volume/flocker:go_default_library",
|
||
|
"//pkg/volume/gce_pd:go_default_library",
|
||
|
"//pkg/volume/git_repo:go_default_library",
|
||
|
"//pkg/volume/glusterfs:go_default_library",
|
||
|
"//pkg/volume/host_path:go_default_library",
|
||
|
"//pkg/volume/iscsi:go_default_library",
|
||
|
"//pkg/volume/nfs:go_default_library",
|
||
|
"//pkg/volume/photon_pd:go_default_library",
|
||
|
"//pkg/volume/quobyte:go_default_library",
|
||
|
"//pkg/volume/rbd:go_default_library",
|
||
|
"//pkg/volume/secret:go_default_library",
|
||
|
"//pkg/volume/vsphere_volume:go_default_library",
|
||
|
"//vendor:github.com/golang/glog",
|
||
|
"//vendor:github.com/spf13/cobra",
|
||
|
"//vendor:github.com/spf13/pflag",
|
||
|
"//vendor:golang.org/x/exp/inotify",
|
||
|
"//vendor:k8s.io/apimachinery/pkg/apis/meta/v1",
|
||
|
"//vendor:k8s.io/apimachinery/pkg/runtime",
|
||
|
"//vendor:k8s.io/apimachinery/pkg/types",
|
||
|
"//vendor:k8s.io/apimachinery/pkg/util/runtime",
|
||
|
"//vendor:k8s.io/apimachinery/pkg/util/wait",
|
||
|
"//vendor:k8s.io/apiserver/pkg/authentication/authenticator",
|
||
|
"//vendor:k8s.io/apiserver/pkg/authorization/authorizer",
|
||
|
"//vendor:k8s.io/apiserver/pkg/healthz",
|
||
|
"//vendor:k8s.io/client-go/kubernetes",
|
||
|
"//vendor:k8s.io/client-go/kubernetes/typed/authentication/v1beta1",
|
||
|
"//vendor:k8s.io/client-go/kubernetes/typed/authorization/v1beta1",
|
||
|
"//vendor:k8s.io/client-go/rest",
|
||
|
"//vendor:k8s.io/client-go/tools/auth",
|
||
|
"//vendor:k8s.io/client-go/tools/clientcmd",
|
||
|
"//vendor:k8s.io/client-go/tools/clientcmd/api",
|
||
|
],
|
||
|
)
|
||
|
|
||
|
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"],
|
||
|
)
|