k3s/vendor/k8s.io/kubernetes/pkg/scheduler/framework/BUILD

68 lines
2.4 KiB
Python
Raw Normal View History

2019-09-27 21:51:53 +00:00
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
2019-01-12 04:58:27 +00:00
go_library(
name = "go_default_library",
2019-04-07 17:07:55 +00:00
srcs = [
2019-12-12 01:27:03 +00:00
"cycle_state.go",
2020-08-10 17:43:49 +00:00
"extender.go",
2019-04-07 17:07:55 +00:00
"interface.go",
2020-08-10 17:43:49 +00:00
"listers.go",
"types.go",
2019-04-07 17:07:55 +00:00
],
importpath = "k8s.io/kubernetes/pkg/scheduler/framework",
2019-01-12 04:58:27 +00:00
visibility = ["//visibility:public"],
deps = [
2020-08-10 17:43:49 +00:00
"//pkg/apis/core/v1/helper:go_default_library",
"//pkg/features:go_default_library",
2019-08-30 18:33:25 +00:00
"//pkg/scheduler/apis/config:go_default_library",
2019-09-27 21:51:53 +00:00
"//pkg/scheduler/util:go_default_library",
2019-04-07 17:07:55 +00:00
"//staging/src/k8s.io/api/core/v1:go_default_library",
2020-08-10 17:43:49 +00:00
"//staging/src/k8s.io/apimachinery/pkg/api/resource:go_default_library",
"//staging/src/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library",
"//staging/src/k8s.io/apimachinery/pkg/labels:go_default_library",
2019-08-30 18:33:25 +00:00
"//staging/src/k8s.io/apimachinery/pkg/types:go_default_library",
2019-12-12 01:27:03 +00:00
"//staging/src/k8s.io/apimachinery/pkg/util/sets:go_default_library",
2020-08-10 17:43:49 +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/client-go/informers:go_default_library",
"//staging/src/k8s.io/client-go/kubernetes:go_default_library",
2020-08-10 17:43:49 +00:00
"//staging/src/k8s.io/client-go/tools/events:go_default_library",
"//staging/src/k8s.io/kube-scheduler/extender/v1:go_default_library",
"//vendor/k8s.io/klog/v2:go_default_library",
2019-01-12 04:58:27 +00:00
],
)
filegroup(
name = "package-srcs",
srcs = glob(["**"]),
tags = ["automanaged"],
visibility = ["//visibility:private"],
)
filegroup(
name = "all-srcs",
2020-08-10 17:43:49 +00:00
srcs = [
":package-srcs",
"//pkg/scheduler/framework/fake:all-srcs",
"//pkg/scheduler/framework/plugins:all-srcs",
"//pkg/scheduler/framework/runtime:all-srcs",
2020-08-10 17:43:49 +00:00
],
2019-01-12 04:58:27 +00:00
tags = ["automanaged"],
visibility = ["//visibility:public"],
)
2019-09-27 21:51:53 +00:00
go_test(
name = "go_default_test",
srcs = [
2019-12-12 01:27:03 +00:00
"cycle_state_test.go",
2019-09-27 21:51:53 +00:00
"interface_test.go",
2020-08-10 17:43:49 +00:00
"types_test.go",
2019-09-27 21:51:53 +00:00
],
embed = [":go_default_library"],
deps = [
"//staging/src/k8s.io/api/core/v1:go_default_library",
2020-08-10 17:43:49 +00:00
"//staging/src/k8s.io/apimachinery/pkg/api/resource:go_default_library",
2019-09-27 21:51:53 +00:00
"//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-09-27 21:51:53 +00:00
],
)