ceph-csi/vendor/k8s.io/kubernetes/pkg/kubelet/server/BUILD

114 lines
5.3 KiB
Python
Raw Normal View History

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_library(
name = "go_default_library",
srcs = [
"auth.go",
"doc.go",
"server.go",
],
importpath = "k8s.io/kubernetes/pkg/kubelet/server",
deps = [
"//pkg/api/legacyscheme:go_default_library",
"//pkg/apis/core:go_default_library",
"//pkg/apis/core/v1/validation:go_default_library",
2018-11-26 18:23:56 +00:00
"//pkg/kubelet/apis/podresources:go_default_library",
"//pkg/kubelet/apis/podresources/v1alpha1:go_default_library",
2018-01-09 18:57:14 +00:00
"//pkg/kubelet/container:go_default_library",
2018-07-18 14:47:22 +00:00
"//pkg/kubelet/prober:go_default_library",
2018-01-09 18:57:14 +00:00
"//pkg/kubelet/server/portforward:go_default_library",
"//pkg/kubelet/server/remotecommand:go_default_library",
"//pkg/kubelet/server/stats:go_default_library",
"//pkg/kubelet/server/streaming:go_default_library",
"//pkg/kubelet/types:go_default_library",
2018-11-26 18:23:56 +00:00
"//pkg/kubelet/util:go_default_library",
2018-01-09 18:57:14 +00:00
"//pkg/util/configz:go_default_library",
2018-11-26 18:23:56 +00:00
"//staging/src/k8s.io/api/core/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/runtime/schema:go_default_library",
"//staging/src/k8s.io/apimachinery/pkg/types:go_default_library",
"//staging/src/k8s.io/apimachinery/pkg/util/proxy:go_default_library",
"//staging/src/k8s.io/apimachinery/pkg/util/runtime:go_default_library",
"//staging/src/k8s.io/apiserver/pkg/authentication/authenticator:go_default_library",
"//staging/src/k8s.io/apiserver/pkg/authentication/user:go_default_library",
"//staging/src/k8s.io/apiserver/pkg/authorization/authorizer:go_default_library",
"//staging/src/k8s.io/apiserver/pkg/server/healthz:go_default_library",
"//staging/src/k8s.io/apiserver/pkg/server/httplog:go_default_library",
"//staging/src/k8s.io/apiserver/pkg/server/routes:go_default_library",
"//staging/src/k8s.io/apiserver/pkg/util/flushwriter:go_default_library",
"//staging/src/k8s.io/apiserver/pkg/util/logs:go_default_library",
2018-01-09 18:57:14 +00:00
"//vendor/github.com/emicklei/go-restful:go_default_library",
2018-11-26 18:23:56 +00:00
"//vendor/github.com/google/cadvisor/container:go_default_library",
2018-01-09 18:57:14 +00:00
"//vendor/github.com/google/cadvisor/info/v1:go_default_library",
"//vendor/github.com/google/cadvisor/metrics:go_default_library",
"//vendor/github.com/prometheus/client_golang/prometheus:go_default_library",
"//vendor/github.com/prometheus/client_golang/prometheus/promhttp:go_default_library",
2018-11-26 18:23:56 +00:00
"//vendor/google.golang.org/grpc:go_default_library",
"//vendor/k8s.io/klog:go_default_library",
2018-01-09 18:57:14 +00:00
],
)
go_test(
name = "go_default_test",
srcs = [
"auth_test.go",
"server_test.go",
"server_websocket_test.go",
],
2018-03-06 22:33:18 +00:00
embed = [":go_default_library"],
2018-01-09 18:57:14 +00:00
deps = [
"//pkg/apis/core:go_default_library",
"//pkg/apis/core/install:go_default_library",
2018-07-18 14:47:22 +00:00
"//pkg/kubelet/apis/cri/runtime/v1alpha2:go_default_library",
2018-01-09 18:57:14 +00:00
"//pkg/kubelet/apis/stats/v1alpha1:go_default_library",
"//pkg/kubelet/cm:go_default_library",
"//pkg/kubelet/container:go_default_library",
"//pkg/kubelet/server/portforward:go_default_library",
"//pkg/kubelet/server/remotecommand:go_default_library",
"//pkg/kubelet/server/stats:go_default_library",
2018-07-18 14:47:22 +00:00
"//pkg/kubelet/server/streaming:go_default_library",
2018-01-09 18:57:14 +00:00
"//pkg/volume:go_default_library",
2018-11-26 18:23:56 +00:00
"//staging/src/k8s.io/api/core/v1:go_default_library",
"//staging/src/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library",
"//staging/src/k8s.io/apimachinery/pkg/types:go_default_library",
"//staging/src/k8s.io/apimachinery/pkg/util/httpstream:go_default_library",
"//staging/src/k8s.io/apimachinery/pkg/util/httpstream/spdy:go_default_library",
"//staging/src/k8s.io/apimachinery/pkg/util/sets:go_default_library",
"//staging/src/k8s.io/apiserver/pkg/authentication/authenticator:go_default_library",
"//staging/src/k8s.io/apiserver/pkg/authentication/user:go_default_library",
"//staging/src/k8s.io/apiserver/pkg/authorization/authorizer:go_default_library",
"//staging/src/k8s.io/client-go/tools/remotecommand:go_default_library",
"//staging/src/k8s.io/client-go/util/testing:go_default_library",
2018-01-09 18:57:14 +00:00
"//vendor/github.com/google/cadvisor/info/v1:go_default_library",
"//vendor/github.com/stretchr/testify/assert:go_default_library",
"//vendor/github.com/stretchr/testify/require:go_default_library",
"//vendor/golang.org/x/net/websocket:go_default_library",
],
)
filegroup(
name = "package-srcs",
srcs = glob(["**"]),
tags = ["automanaged"],
visibility = ["//visibility:private"],
)
filegroup(
name = "all-srcs",
srcs = [
":package-srcs",
"//pkg/kubelet/server/portforward:all-srcs",
"//pkg/kubelet/server/remotecommand:all-srcs",
"//pkg/kubelet/server/stats:all-srcs",
"//pkg/kubelet/server/streaming:all-srcs",
],
tags = ["automanaged"],
)