k3s/vendor/k8s.io/kubernetes/pkg/kubelet/cm/devicemanager/BUILD

92 lines
3.9 KiB
Python
Raw Normal View History

2019-01-12 04:58:27 +00:00
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
go_library(
name = "go_default_library",
srcs = [
"device_plugin_stub.go",
"endpoint.go",
"manager.go",
"manager_stub.go",
"pod_devices.go",
2019-09-27 21:51:53 +00:00
"topology_hints.go",
2019-01-12 04:58:27 +00:00
"types.go",
],
importpath = "k8s.io/kubernetes/pkg/kubelet/cm/devicemanager",
visibility = ["//visibility:public"],
deps = [
"//pkg/apis/core/v1/helper:go_default_library",
2019-08-30 18:33:25 +00:00
"//pkg/features:go_default_library",
2019-01-12 04:58:27 +00:00
"//pkg/kubelet/apis/podresources/v1alpha1:go_default_library",
"//pkg/kubelet/checkpointmanager:go_default_library",
"//pkg/kubelet/checkpointmanager/errors:go_default_library",
2019-09-27 21:51:53 +00:00
"//pkg/kubelet/cm/cpumanager/topology:go_default_library",
2019-01-12 04:58:27 +00:00
"//pkg/kubelet/cm/devicemanager/checkpoint:go_default_library",
2019-09-27 21:51:53 +00:00
"//pkg/kubelet/cm/topologymanager:go_default_library",
2019-12-12 01:27:03 +00:00
"//pkg/kubelet/cm/topologymanager/bitmask:go_default_library",
2019-01-12 04:58:27 +00:00
"//pkg/kubelet/config:go_default_library",
"//pkg/kubelet/container:go_default_library",
"//pkg/kubelet/lifecycle:go_default_library",
"//pkg/kubelet/metrics:go_default_library",
2019-08-30 18:33:25 +00:00
"//pkg/kubelet/pluginmanager/cache:go_default_library",
2020-08-10 17:43:49 +00:00
"//pkg/scheduler/framework/v1alpha1:go_default_library",
2019-08-30 18:33:25 +00:00
"//pkg/util/selinux:go_default_library",
2019-01-12 04:58:27 +00:00
"//staging/src/k8s.io/api/core/v1:go_default_library",
"//staging/src/k8s.io/apimachinery/pkg/api/resource:go_default_library",
2019-12-12 01:27:03 +00:00
"//staging/src/k8s.io/apimachinery/pkg/util/errors:go_default_library",
2019-01-12 04:58:27 +00:00
"//staging/src/k8s.io/apimachinery/pkg/util/sets:go_default_library",
2019-08-30 18:33:25 +00:00
"//staging/src/k8s.io/apiserver/pkg/util/feature:go_default_library",
2019-12-12 01:27:03 +00:00
"//staging/src/k8s.io/kubelet/pkg/apis/deviceplugin/v1beta1:go_default_library",
"//staging/src/k8s.io/kubelet/pkg/apis/pluginregistration/v1:go_default_library",
2019-01-12 04:58:27 +00:00
"//vendor/google.golang.org/grpc:go_default_library",
2020-08-10 17:43:49 +00:00
"//vendor/k8s.io/klog/v2:go_default_library",
2019-01-12 04:58:27 +00:00
],
)
go_test(
name = "go_default_test",
srcs = [
"endpoint_test.go",
"manager_test.go",
2019-09-27 21:51:53 +00:00
"topology_hints_test.go",
2019-01-12 04:58:27 +00:00
],
embed = [":go_default_library"],
deps = [
"//pkg/kubelet/checkpointmanager:go_default_library",
2019-09-27 21:51:53 +00:00
"//pkg/kubelet/cm/topologymanager:go_default_library",
2019-12-12 01:27:03 +00:00
"//pkg/kubelet/cm/topologymanager/bitmask:go_default_library",
2019-08-30 18:33:25 +00:00
"//pkg/kubelet/config:go_default_library",
2019-01-12 04:58:27 +00:00
"//pkg/kubelet/lifecycle:go_default_library",
2019-08-30 18:33:25 +00:00
"//pkg/kubelet/pluginmanager:go_default_library",
2020-08-10 17:43:49 +00:00
"//pkg/scheduler/framework/v1alpha1:go_default_library",
2019-01-12 04:58:27 +00:00
"//staging/src/k8s.io/api/core/v1:go_default_library",
"//staging/src/k8s.io/apimachinery/pkg/api/resource:go_default_library",
"//staging/src/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library",
2019-12-12 01:27:03 +00:00
"//staging/src/k8s.io/apimachinery/pkg/types:go_default_library",
2019-01-12 04:58:27 +00:00
"//staging/src/k8s.io/apimachinery/pkg/util/sets:go_default_library",
"//staging/src/k8s.io/apimachinery/pkg/util/uuid:go_default_library",
2019-08-30 18:33:25 +00:00
"//staging/src/k8s.io/apimachinery/pkg/util/wait:go_default_library",
"//staging/src/k8s.io/client-go/tools/record:go_default_library",
2019-12-12 01:27:03 +00:00
"//staging/src/k8s.io/kubelet/pkg/apis/deviceplugin/v1beta1:go_default_library",
"//staging/src/k8s.io/kubelet/pkg/apis/pluginregistration/v1:go_default_library",
2019-01-12 04:58:27 +00:00
"//vendor/github.com/stretchr/testify/assert:go_default_library",
"//vendor/github.com/stretchr/testify/require:go_default_library",
],
)
filegroup(
name = "package-srcs",
srcs = glob(["**"]),
tags = ["automanaged"],
visibility = ["//visibility:private"],
)
filegroup(
name = "all-srcs",
srcs = [
":package-srcs",
"//pkg/kubelet/cm/devicemanager/checkpoint:all-srcs",
],
tags = ["automanaged"],
visibility = ["//visibility:public"],
)