mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-25 07:40:19 +00:00
145 lines
5.9 KiB
Python
145 lines
5.9 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 = [
|
|
"doc.go",
|
|
"fake_kuberuntime_manager.go",
|
|
"helpers.go",
|
|
"helpers_linux.go",
|
|
"helpers_unsupported.go",
|
|
"helpers_windows.go",
|
|
"instrumented_services.go",
|
|
"kuberuntime_container.go",
|
|
"kuberuntime_container_linux.go",
|
|
"kuberuntime_container_unsupported.go",
|
|
"kuberuntime_container_windows.go",
|
|
"kuberuntime_gc.go",
|
|
"kuberuntime_image.go",
|
|
"kuberuntime_logs.go",
|
|
"kuberuntime_manager.go",
|
|
"kuberuntime_sandbox.go",
|
|
"labels.go",
|
|
"legacy.go",
|
|
"security_context.go",
|
|
],
|
|
importpath = "k8s.io/kubernetes/pkg/kubelet/kuberuntime",
|
|
deps = [
|
|
"//pkg/api/legacyscheme:go_default_library",
|
|
"//pkg/credentialprovider:go_default_library",
|
|
"//pkg/credentialprovider/secrets:go_default_library",
|
|
"//pkg/features:go_default_library",
|
|
"//pkg/kubelet/apis/cri:go_default_library",
|
|
"//pkg/kubelet/apis/cri/runtime/v1alpha2:go_default_library",
|
|
"//pkg/kubelet/cm:go_default_library",
|
|
"//pkg/kubelet/container:go_default_library",
|
|
"//pkg/kubelet/events:go_default_library",
|
|
"//pkg/kubelet/images:go_default_library",
|
|
"//pkg/kubelet/kuberuntime/logs:go_default_library",
|
|
"//pkg/kubelet/lifecycle:go_default_library",
|
|
"//pkg/kubelet/metrics:go_default_library",
|
|
"//pkg/kubelet/prober/results:go_default_library",
|
|
"//pkg/kubelet/runtimeclass:go_default_library",
|
|
"//pkg/kubelet/types:go_default_library",
|
|
"//pkg/kubelet/util/cache:go_default_library",
|
|
"//pkg/kubelet/util/format:go_default_library",
|
|
"//pkg/security/apparmor:go_default_library",
|
|
"//pkg/securitycontext:go_default_library",
|
|
"//pkg/util/parsers:go_default_library",
|
|
"//pkg/util/selinux:go_default_library",
|
|
"//pkg/util/tail: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/errors: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/apimachinery/pkg/util/version:go_default_library",
|
|
"//staging/src/k8s.io/apiserver/pkg/util/feature:go_default_library",
|
|
"//staging/src/k8s.io/client-go/tools/record:go_default_library",
|
|
"//staging/src/k8s.io/client-go/tools/reference:go_default_library",
|
|
"//staging/src/k8s.io/client-go/util/flowcontrol:go_default_library",
|
|
"//vendor/github.com/armon/circbuf:go_default_library",
|
|
"//vendor/github.com/google/cadvisor/info/v1:go_default_library",
|
|
"//vendor/google.golang.org/grpc:go_default_library",
|
|
"//vendor/k8s.io/klog:go_default_library",
|
|
] + select({
|
|
"@io_bazel_rules_go//go/platform:linux": [
|
|
"//pkg/kubelet/qos:go_default_library",
|
|
],
|
|
"@io_bazel_rules_go//go/platform:windows": [
|
|
"//pkg/kubelet/apis:go_default_library",
|
|
"//vendor/github.com/docker/docker/pkg/sysinfo:go_default_library",
|
|
],
|
|
"//conditions:default": [],
|
|
}),
|
|
)
|
|
|
|
go_test(
|
|
name = "go_default_test",
|
|
srcs = [
|
|
"helpers_linux_test.go",
|
|
"helpers_test.go",
|
|
"instrumented_services_test.go",
|
|
"kuberuntime_container_linux_test.go",
|
|
"kuberuntime_container_test.go",
|
|
"kuberuntime_gc_test.go",
|
|
"kuberuntime_image_test.go",
|
|
"kuberuntime_manager_test.go",
|
|
"kuberuntime_sandbox_test.go",
|
|
"labels_test.go",
|
|
"legacy_test.go",
|
|
"main_test.go",
|
|
"security_context_test.go",
|
|
],
|
|
embed = [":go_default_library"],
|
|
deps = [
|
|
"//pkg/credentialprovider:go_default_library",
|
|
"//pkg/features:go_default_library",
|
|
"//pkg/kubelet/apis/cri/runtime/v1alpha2:go_default_library",
|
|
"//pkg/kubelet/apis/cri/testing:go_default_library",
|
|
"//pkg/kubelet/container:go_default_library",
|
|
"//pkg/kubelet/container/testing:go_default_library",
|
|
"//pkg/kubelet/lifecycle:go_default_library",
|
|
"//pkg/kubelet/metrics:go_default_library",
|
|
"//pkg/kubelet/runtimeclass:go_default_library",
|
|
"//pkg/kubelet/runtimeclass/testing: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/intstr:go_default_library",
|
|
"//staging/src/k8s.io/apimachinery/pkg/util/sets:go_default_library",
|
|
"//staging/src/k8s.io/apiserver/pkg/util/feature:go_default_library",
|
|
"//staging/src/k8s.io/apiserver/pkg/util/feature/testing:go_default_library",
|
|
"//staging/src/k8s.io/client-go/util/flowcontrol:go_default_library",
|
|
"//vendor/github.com/golang/mock/gomock:go_default_library",
|
|
"//vendor/github.com/google/cadvisor/info/v1:go_default_library",
|
|
"//vendor/github.com/prometheus/client_golang/prometheus:go_default_library",
|
|
"//vendor/github.com/stretchr/testify/assert:go_default_library",
|
|
"//vendor/github.com/stretchr/testify/require: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/kuberuntime/logs:all-srcs",
|
|
],
|
|
tags = ["automanaged"],
|
|
)
|