mirror of
https://github.com/k3s-io/k3s.git
synced 2024-06-07 19:41:36 +00:00
c6950d2cb0
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
120 lines
5.7 KiB
Python
120 lines
5.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/features:go_default_library",
|
|
"//pkg/kubelet/apis/podresources:go_default_library",
|
|
"//pkg/kubelet/container:go_default_library",
|
|
"//pkg/kubelet/cri/streaming:go_default_library",
|
|
"//pkg/kubelet/cri/streaming/portforward:go_default_library",
|
|
"//pkg/kubelet/cri/streaming/remotecommand:go_default_library",
|
|
"//pkg/kubelet/metrics/collectors:go_default_library",
|
|
"//pkg/kubelet/prober:go_default_library",
|
|
"//pkg/kubelet/server/metrics:go_default_library",
|
|
"//pkg/kubelet/server/stats:go_default_library",
|
|
"//pkg/kubelet/types:go_default_library",
|
|
"//pkg/kubelet/util:go_default_library",
|
|
"//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/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/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/feature:go_default_library",
|
|
"//staging/src/k8s.io/apiserver/pkg/util/flushwriter:go_default_library",
|
|
"//staging/src/k8s.io/component-base/configz:go_default_library",
|
|
"//staging/src/k8s.io/component-base/logs:go_default_library",
|
|
"//staging/src/k8s.io/component-base/metrics:go_default_library",
|
|
"//staging/src/k8s.io/component-base/metrics/legacyregistry:go_default_library",
|
|
"//staging/src/k8s.io/kubelet/pkg/apis/podresources/v1:go_default_library",
|
|
"//staging/src/k8s.io/kubelet/pkg/apis/podresources/v1alpha1:go_default_library",
|
|
"//vendor/github.com/emicklei/go-restful:go_default_library",
|
|
"//vendor/github.com/google/cadvisor/container:go_default_library",
|
|
"//vendor/github.com/google/cadvisor/info/v1:go_default_library",
|
|
"//vendor/github.com/google/cadvisor/info/v2:go_default_library",
|
|
"//vendor/github.com/google/cadvisor/metrics:go_default_library",
|
|
"//vendor/google.golang.org/grpc:go_default_library",
|
|
"//vendor/k8s.io/klog/v2:go_default_library",
|
|
"//vendor/k8s.io/utils/clock:go_default_library",
|
|
],
|
|
)
|
|
|
|
go_test(
|
|
name = "go_default_test",
|
|
srcs = [
|
|
"auth_test.go",
|
|
"server_test.go",
|
|
"server_websocket_test.go",
|
|
],
|
|
embed = [":go_default_library"],
|
|
deps = [
|
|
"//pkg/apis/core:go_default_library",
|
|
"//pkg/apis/core/install:go_default_library",
|
|
"//pkg/kubelet/cm:go_default_library",
|
|
"//pkg/kubelet/container:go_default_library",
|
|
"//pkg/kubelet/cri/streaming:go_default_library",
|
|
"//pkg/kubelet/cri/streaming/portforward:go_default_library",
|
|
"//pkg/kubelet/cri/streaming/remotecommand:go_default_library",
|
|
"//pkg/kubelet/server/stats:go_default_library",
|
|
"//pkg/volume:go_default_library",
|
|
"//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/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/cri-api/pkg/apis/runtime/v1alpha2:go_default_library",
|
|
"//staging/src/k8s.io/kubelet/pkg/apis/stats/v1alpha1:go_default_library",
|
|
"//vendor/github.com/google/cadvisor/info/v1:go_default_library",
|
|
"//vendor/github.com/google/cadvisor/info/v2: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/utils/pointer:go_default_library",
|
|
],
|
|
)
|
|
|
|
filegroup(
|
|
name = "package-srcs",
|
|
srcs = glob(["**"]),
|
|
tags = ["automanaged"],
|
|
visibility = ["//visibility:private"],
|
|
)
|
|
|
|
filegroup(
|
|
name = "all-srcs",
|
|
srcs = [
|
|
":package-srcs",
|
|
"//pkg/kubelet/server/metrics:all-srcs",
|
|
"//pkg/kubelet/server/stats:all-srcs",
|
|
],
|
|
tags = ["automanaged"],
|
|
)
|