2018-01-09 18:57:14 +00:00
|
|
|
package(default_visibility = ["//visibility:public"])
|
|
|
|
|
|
|
|
load(
|
|
|
|
"@io_bazel_rules_go//go:def.bzl",
|
|
|
|
"go_library",
|
|
|
|
)
|
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
|
|
|
srcs = [
|
|
|
|
"well_known_annotations.go",
|
|
|
|
"well_known_labels.go",
|
2018-03-06 22:33:18 +00:00
|
|
|
] + select({
|
|
|
|
"@io_bazel_rules_go//go/platform:windows": [
|
|
|
|
"well_known_annotations_windows.go",
|
|
|
|
],
|
|
|
|
"//conditions:default": [],
|
|
|
|
}),
|
2018-01-09 18:57:14 +00:00
|
|
|
importpath = "k8s.io/kubernetes/pkg/kubelet/apis",
|
2018-03-06 22:33:18 +00:00
|
|
|
deps = select({
|
|
|
|
"@io_bazel_rules_go//go/platform:windows": [
|
|
|
|
"//pkg/features:go_default_library",
|
|
|
|
"//vendor/k8s.io/apiserver/pkg/util/feature:go_default_library",
|
|
|
|
],
|
|
|
|
"//conditions:default": [],
|
|
|
|
}),
|
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",
|
|
|
|
"//pkg/kubelet/apis/cri:all-srcs",
|
|
|
|
"//pkg/kubelet/apis/deviceplugin/v1alpha:all-srcs",
|
2018-03-06 22:33:18 +00:00
|
|
|
"//pkg/kubelet/apis/deviceplugin/v1beta1:all-srcs",
|
2018-01-09 18:57:14 +00:00
|
|
|
"//pkg/kubelet/apis/kubeletconfig:all-srcs",
|
|
|
|
"//pkg/kubelet/apis/stats/v1alpha1:all-srcs",
|
|
|
|
],
|
|
|
|
tags = ["automanaged"],
|
|
|
|
)
|