ceph-csi/vendor/k8s.io/kubernetes/pkg/scheduler/BUILD

109 lines
4.9 KiB
Python
Raw Normal View History

2018-11-26 18:23:56 +00:00
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
2018-01-09 18:57:14 +00:00
2018-11-26 18:23:56 +00:00
go_library(
name = "go_default_library",
srcs = [
"scheduler.go",
"testutil.go",
],
importpath = "k8s.io/kubernetes/pkg/scheduler",
visibility = ["//visibility:public"],
2018-01-09 18:57:14 +00:00
deps = [
2018-11-26 18:23:56 +00:00
"//pkg/features:go_default_library",
2018-03-06 22:33:18 +00:00
"//pkg/scheduler/algorithm:go_default_library",
"//pkg/scheduler/algorithm/predicates:go_default_library",
2018-11-26 18:23:56 +00:00
"//pkg/scheduler/api:go_default_library",
"//pkg/scheduler/api/latest:go_default_library",
"//pkg/scheduler/apis/config:go_default_library",
2018-03-06 22:33:18 +00:00
"//pkg/scheduler/core:go_default_library",
2018-11-26 18:23:56 +00:00
"//pkg/scheduler/factory:go_default_library",
"//pkg/scheduler/internal/cache:go_default_library",
"//pkg/scheduler/internal/queue:go_default_library",
"//pkg/scheduler/metrics:go_default_library",
"//pkg/scheduler/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/util/sets:go_default_library",
"//staging/src/k8s.io/apimachinery/pkg/util/wait:go_default_library",
"//staging/src/k8s.io/apiserver/pkg/util/feature:go_default_library",
"//staging/src/k8s.io/client-go/informers/apps/v1:go_default_library",
"//staging/src/k8s.io/client-go/informers/core/v1:go_default_library",
"//staging/src/k8s.io/client-go/informers/policy/v1beta1:go_default_library",
"//staging/src/k8s.io/client-go/informers/storage/v1:go_default_library",
"//staging/src/k8s.io/client-go/kubernetes:go_default_library",
"//staging/src/k8s.io/client-go/listers/core/v1:go_default_library",
"//staging/src/k8s.io/client-go/tools/record:go_default_library",
"//vendor/k8s.io/klog:go_default_library",
2018-01-09 18:57:14 +00:00
],
)
2018-11-26 18:23:56 +00:00
go_test(
name = "go_default_test",
2018-01-09 18:57:14 +00:00
srcs = [
2018-11-26 18:23:56 +00:00
"main_test.go",
"scheduler_test.go",
2018-01-09 18:57:14 +00:00
],
2018-11-26 18:23:56 +00:00
embed = [":go_default_library"],
2018-01-09 18:57:14 +00:00
deps = [
2018-11-26 18:23:56 +00:00
"//pkg/api/legacyscheme:go_default_library",
"//pkg/controller/volume/persistentvolume:go_default_library",
2018-01-09 18:57:14 +00:00
"//pkg/features:go_default_library",
2018-03-06 22:33:18 +00:00
"//pkg/scheduler/algorithm:go_default_library",
"//pkg/scheduler/algorithm/predicates:go_default_library",
"//pkg/scheduler/api:go_default_library",
2018-11-26 18:23:56 +00:00
"//pkg/scheduler/apis/config:go_default_library",
2018-07-18 14:47:22 +00:00
"//pkg/scheduler/cache:go_default_library",
2018-03-06 22:33:18 +00:00
"//pkg/scheduler/core:go_default_library",
2018-11-26 18:23:56 +00:00
"//pkg/scheduler/factory:go_default_library",
"//pkg/scheduler/internal/cache:go_default_library",
"//pkg/scheduler/internal/cache/fake:go_default_library",
2018-03-06 22:33:18 +00:00
"//pkg/scheduler/volumebinder:go_default_library",
2018-11-26 18:23:56 +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",
"//staging/src/k8s.io/apimachinery/pkg/labels:go_default_library",
"//staging/src/k8s.io/apimachinery/pkg/runtime:go_default_library",
"//staging/src/k8s.io/apimachinery/pkg/types:go_default_library",
"//staging/src/k8s.io/apimachinery/pkg/util/diff:go_default_library",
"//staging/src/k8s.io/apimachinery/pkg/util/sets:go_default_library",
"//staging/src/k8s.io/apimachinery/pkg/util/wait: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/informers:go_default_library",
"//staging/src/k8s.io/client-go/kubernetes/fake:go_default_library",
"//staging/src/k8s.io/client-go/listers/core/v1:go_default_library",
"//staging/src/k8s.io/client-go/tools/cache:go_default_library",
"//staging/src/k8s.io/client-go/tools/record:go_default_library",
2018-01-09 18:57:14 +00:00
],
)
filegroup(
name = "package-srcs",
srcs = glob(["**"]),
tags = ["automanaged"],
visibility = ["//visibility:private"],
)
filegroup(
name = "all-srcs",
srcs = [
":package-srcs",
2018-03-06 22:33:18 +00:00
"//pkg/scheduler/algorithm:all-srcs",
"//pkg/scheduler/algorithmprovider:all-srcs",
"//pkg/scheduler/api:all-srcs",
2018-11-26 18:23:56 +00:00
"//pkg/scheduler/apis/config:all-srcs",
2018-07-18 14:47:22 +00:00
"//pkg/scheduler/cache:all-srcs",
2018-03-06 22:33:18 +00:00
"//pkg/scheduler/core:all-srcs",
"//pkg/scheduler/factory:all-srcs",
2018-11-26 18:23:56 +00:00
"//pkg/scheduler/internal/cache:all-srcs",
"//pkg/scheduler/internal/queue:all-srcs",
2018-03-06 22:33:18 +00:00
"//pkg/scheduler/metrics:all-srcs",
"//pkg/scheduler/testing:all-srcs",
"//pkg/scheduler/util:all-srcs",
"//pkg/scheduler/volumebinder:all-srcs",
2018-01-09 18:57:14 +00:00
],
tags = ["automanaged"],
2018-11-26 18:23:56 +00:00
visibility = ["//visibility:public"],
2018-01-09 18:57:14 +00:00
)