2018-01-09 18:57:14 +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 = ["server_test.go"],
|
2018-03-06 22:33:18 +00:00
|
|
|
embed = [":go_default_library"],
|
2018-01-09 18:57:14 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
|
|
|
srcs = [
|
|
|
|
"auth.go",
|
|
|
|
"plugins.go",
|
|
|
|
"server.go",
|
|
|
|
] + select({
|
2018-03-06 22:33:18 +00:00
|
|
|
"@io_bazel_rules_go//go/platform:android": [
|
|
|
|
"server_unsupported.go",
|
|
|
|
],
|
|
|
|
"@io_bazel_rules_go//go/platform:darwin": [
|
|
|
|
"server_unsupported.go",
|
|
|
|
],
|
|
|
|
"@io_bazel_rules_go//go/platform:dragonfly": [
|
|
|
|
"server_unsupported.go",
|
|
|
|
],
|
|
|
|
"@io_bazel_rules_go//go/platform:freebsd": [
|
|
|
|
"server_unsupported.go",
|
|
|
|
],
|
|
|
|
"@io_bazel_rules_go//go/platform:linux": [
|
2018-01-09 18:57:14 +00:00
|
|
|
"server_linux.go",
|
|
|
|
],
|
2018-03-06 22:33:18 +00:00
|
|
|
"@io_bazel_rules_go//go/platform:nacl": [
|
|
|
|
"server_unsupported.go",
|
|
|
|
],
|
|
|
|
"@io_bazel_rules_go//go/platform:netbsd": [
|
|
|
|
"server_unsupported.go",
|
|
|
|
],
|
|
|
|
"@io_bazel_rules_go//go/platform:openbsd": [
|
|
|
|
"server_unsupported.go",
|
|
|
|
],
|
|
|
|
"@io_bazel_rules_go//go/platform:plan9": [
|
|
|
|
"server_unsupported.go",
|
|
|
|
],
|
|
|
|
"@io_bazel_rules_go//go/platform:solaris": [
|
|
|
|
"server_unsupported.go",
|
|
|
|
],
|
|
|
|
"@io_bazel_rules_go//go/platform:windows": [
|
|
|
|
"server_unsupported.go",
|
|
|
|
],
|
2018-01-09 18:57:14 +00:00
|
|
|
"//conditions:default": [],
|
|
|
|
}),
|
|
|
|
importpath = "k8s.io/kubernetes/cmd/kubelet/app",
|
|
|
|
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/client/chaosclient: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/credentialprovider/rancher:go_default_library",
|
|
|
|
"//pkg/features:go_default_library",
|
|
|
|
"//pkg/kubelet:go_default_library",
|
|
|
|
"//pkg/kubelet/apis/kubeletconfig:go_default_library",
|
|
|
|
"//pkg/kubelet/apis/kubeletconfig/scheme:go_default_library",
|
2018-03-06 22:33:18 +00:00
|
|
|
"//pkg/kubelet/apis/kubeletconfig/v1beta1:go_default_library",
|
2018-01-09 18:57:14 +00:00
|
|
|
"//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",
|
|
|
|
"//pkg/kubelet/config:go_default_library",
|
|
|
|
"//pkg/kubelet/container:go_default_library",
|
|
|
|
"//pkg/kubelet/dockershim:go_default_library",
|
|
|
|
"//pkg/kubelet/dockershim/remote:go_default_library",
|
|
|
|
"//pkg/kubelet/eviction:go_default_library",
|
|
|
|
"//pkg/kubelet/eviction/api:go_default_library",
|
|
|
|
"//pkg/kubelet/kubeletconfig:go_default_library",
|
2018-03-06 22:33:18 +00:00
|
|
|
"//pkg/kubelet/kubeletconfig/configfiles:go_default_library",
|
2018-01-09 18:57:14 +00:00
|
|
|
"//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/server/streaming:go_default_library",
|
|
|
|
"//pkg/kubelet/types:go_default_library",
|
|
|
|
"//pkg/util/configz:go_default_library",
|
2018-03-06 22:33:18 +00:00
|
|
|
"//pkg/util/filesystem:go_default_library",
|
|
|
|
"//pkg/util/flag:go_default_library",
|
2018-01-09 18:57:14 +00:00
|
|
|
"//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",
|
2018-03-06 22:33:18 +00:00
|
|
|
"//pkg/version/verflag:go_default_library",
|
2018-01-09 18:57:14 +00:00
|
|
|
"//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/csi: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/local:go_default_library",
|
|
|
|
"//pkg/volume/nfs:go_default_library",
|
|
|
|
"//pkg/volume/photon_pd: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",
|
|
|
|
"//pkg/volume/vsphere_volume:go_default_library",
|
|
|
|
"//vendor/github.com/golang/glog:go_default_library",
|
|
|
|
"//vendor/github.com/spf13/cobra:go_default_library",
|
|
|
|
"//vendor/github.com/spf13/pflag:go_default_library",
|
|
|
|
"//vendor/k8s.io/api/core/v1:go_default_library",
|
|
|
|
"//vendor/k8s.io/apimachinery/pkg/api/resource:go_default_library",
|
|
|
|
"//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library",
|
|
|
|
"//vendor/k8s.io/apimachinery/pkg/types:go_default_library",
|
|
|
|
"//vendor/k8s.io/apimachinery/pkg/util/runtime:go_default_library",
|
|
|
|
"//vendor/k8s.io/apimachinery/pkg/util/sets:go_default_library",
|
|
|
|
"//vendor/k8s.io/apimachinery/pkg/util/wait:go_default_library",
|
|
|
|
"//vendor/k8s.io/apiserver/pkg/authentication/authenticator:go_default_library",
|
|
|
|
"//vendor/k8s.io/apiserver/pkg/authentication/authenticatorfactory:go_default_library",
|
|
|
|
"//vendor/k8s.io/apiserver/pkg/authorization/authorizer:go_default_library",
|
|
|
|
"//vendor/k8s.io/apiserver/pkg/authorization/authorizerfactory:go_default_library",
|
|
|
|
"//vendor/k8s.io/apiserver/pkg/server/healthz:go_default_library",
|
|
|
|
"//vendor/k8s.io/apiserver/pkg/util/feature:go_default_library",
|
|
|
|
"//vendor/k8s.io/apiserver/pkg/util/flag:go_default_library",
|
|
|
|
"//vendor/k8s.io/client-go/kubernetes:go_default_library",
|
|
|
|
"//vendor/k8s.io/client-go/kubernetes/typed/authentication/v1beta1:go_default_library",
|
|
|
|
"//vendor/k8s.io/client-go/kubernetes/typed/authorization/v1beta1:go_default_library",
|
|
|
|
"//vendor/k8s.io/client-go/kubernetes/typed/core/v1:go_default_library",
|
|
|
|
"//vendor/k8s.io/client-go/rest:go_default_library",
|
|
|
|
"//vendor/k8s.io/client-go/tools/clientcmd:go_default_library",
|
|
|
|
"//vendor/k8s.io/client-go/tools/record:go_default_library",
|
|
|
|
"//vendor/k8s.io/client-go/util/cert:go_default_library",
|
|
|
|
"//vendor/k8s.io/client-go/util/certificate:go_default_library",
|
|
|
|
] + select({
|
2018-03-06 22:33:18 +00:00
|
|
|
"@io_bazel_rules_go//go/platform:linux": [
|
2018-01-09 18:57:14 +00:00
|
|
|
"//vendor/golang.org/x/exp/inotify:go_default_library",
|
|
|
|
],
|
|
|
|
"//conditions:default": [],
|
|
|
|
}),
|
|
|
|
)
|
|
|
|
|
|
|
|
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"],
|
|
|
|
)
|