2019-01-12 04:58:27 +00:00
|
|
|
package(default_visibility = ["//visibility:public"])
|
|
|
|
|
|
|
|
load(
|
|
|
|
"@io_bazel_rules_go//go:def.bzl",
|
|
|
|
"go_library",
|
|
|
|
"go_test",
|
|
|
|
)
|
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
|
|
|
srcs = ["plugins.go"],
|
|
|
|
importpath = "k8s.io/kubernetes/pkg/scheduler/algorithmprovider",
|
|
|
|
deps = ["//pkg/scheduler/algorithmprovider/defaults:go_default_library"],
|
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
2019-04-07 17:07:55 +00:00
|
|
|
srcs = ["plugins_test.go"],
|
2019-01-12 04:58:27 +00:00
|
|
|
embed = [":go_default_library"],
|
2019-12-12 01:27:03 +00:00
|
|
|
deps = ["//pkg/scheduler: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",
|
|
|
|
srcs = [
|
|
|
|
":package-srcs",
|
|
|
|
"//pkg/scheduler/algorithmprovider/defaults:all-srcs",
|
|
|
|
],
|
|
|
|
tags = ["automanaged"],
|
|
|
|
)
|