mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-23 23:00:19 +00:00
107 lines
4.7 KiB
Python
107 lines
4.7 KiB
Python
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",
|
|
"//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",
|
|
"//pkg/kubelet/server/streaming:go_default_library",
|
|
"//pkg/kubelet/types:go_default_library",
|
|
"//pkg/util/configz:go_default_library",
|
|
"//pkg/util/limitwriter:go_default_library",
|
|
"//vendor/github.com/emicklei/go-restful:go_default_library",
|
|
"//vendor/github.com/golang/glog:go_default_library",
|
|
"//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",
|
|
"//vendor/k8s.io/api/core/v1:go_default_library",
|
|
"//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library",
|
|
"//vendor/k8s.io/apimachinery/pkg/runtime:go_default_library",
|
|
"//vendor/k8s.io/apimachinery/pkg/runtime/schema:go_default_library",
|
|
"//vendor/k8s.io/apimachinery/pkg/types:go_default_library",
|
|
"//vendor/k8s.io/apimachinery/pkg/util/remotecommand:go_default_library",
|
|
"//vendor/k8s.io/apimachinery/pkg/util/runtime:go_default_library",
|
|
"//vendor/k8s.io/apiserver/pkg/authentication/authenticator:go_default_library",
|
|
"//vendor/k8s.io/apiserver/pkg/authentication/user:go_default_library",
|
|
"//vendor/k8s.io/apiserver/pkg/authorization/authorizer:go_default_library",
|
|
"//vendor/k8s.io/apiserver/pkg/server/healthz:go_default_library",
|
|
"//vendor/k8s.io/apiserver/pkg/server/httplog:go_default_library",
|
|
"//vendor/k8s.io/apiserver/pkg/util/flushwriter:go_default_library",
|
|
"//vendor/k8s.io/client-go/tools/remotecommand:go_default_library",
|
|
],
|
|
)
|
|
|
|
go_test(
|
|
name = "go_default_test",
|
|
srcs = [
|
|
"auth_test.go",
|
|
"server_test.go",
|
|
"server_websocket_test.go",
|
|
],
|
|
importpath = "k8s.io/kubernetes/pkg/kubelet/server",
|
|
library = ":go_default_library",
|
|
deps = [
|
|
"//pkg/apis/core:go_default_library",
|
|
"//pkg/apis/core/install:go_default_library",
|
|
"//pkg/kubelet/apis/stats/v1alpha1:go_default_library",
|
|
"//pkg/kubelet/cm:go_default_library",
|
|
"//pkg/kubelet/container:go_default_library",
|
|
"//pkg/kubelet/container/testing:go_default_library",
|
|
"//pkg/kubelet/server/portforward:go_default_library",
|
|
"//pkg/kubelet/server/remotecommand:go_default_library",
|
|
"//pkg/kubelet/server/stats:go_default_library",
|
|
"//pkg/volume:go_default_library",
|
|
"//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",
|
|
"//vendor/k8s.io/api/core/v1: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/httpstream:go_default_library",
|
|
"//vendor/k8s.io/apimachinery/pkg/util/httpstream/spdy:go_default_library",
|
|
"//vendor/k8s.io/apimachinery/pkg/util/sets:go_default_library",
|
|
"//vendor/k8s.io/apiserver/pkg/authentication/user:go_default_library",
|
|
"//vendor/k8s.io/apiserver/pkg/authorization/authorizer:go_default_library",
|
|
"//vendor/k8s.io/client-go/tools/remotecommand:go_default_library",
|
|
"//vendor/k8s.io/client-go/util/testing: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"],
|
|
)
|