mirror of
https://github.com/k3s-io/k3s.git
synced 2024-06-07 19:41:36 +00:00
61 lines
2.6 KiB
Python
61 lines
2.6 KiB
Python
package(default_visibility = ["//visibility:public"])
|
|
|
|
load(
|
|
"@io_bazel_rules_go//go:def.bzl",
|
|
"go_binary",
|
|
"go_library",
|
|
)
|
|
load("//vendor/k8s.io/client-go/pkg/version:def.bzl", "version_x_defs")
|
|
|
|
go_binary(
|
|
name = "kube-aggregator",
|
|
embed = [":go_default_library"],
|
|
pure = "on",
|
|
x_defs = version_x_defs(),
|
|
)
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = ["main.go"],
|
|
importmap = "k8s.io/kubernetes/vendor/k8s.io/kube-aggregator",
|
|
importpath = "k8s.io/kube-aggregator",
|
|
deps = [
|
|
"//staging/src/k8s.io/apiserver/pkg/server:go_default_library",
|
|
"//staging/src/k8s.io/apiserver/pkg/util/logs:go_default_library",
|
|
"//staging/src/k8s.io/kube-aggregator/pkg/apis/apiregistration/install:go_default_library",
|
|
"//staging/src/k8s.io/kube-aggregator/pkg/apis/apiregistration/validation:go_default_library",
|
|
"//staging/src/k8s.io/kube-aggregator/pkg/client/clientset_generated/internalclientset:go_default_library",
|
|
"//staging/src/k8s.io/kube-aggregator/pkg/client/listers/apiregistration/internalversion:go_default_library",
|
|
"//staging/src/k8s.io/kube-aggregator/pkg/client/listers/apiregistration/v1beta1:go_default_library",
|
|
"//staging/src/k8s.io/kube-aggregator/pkg/cmd/server:go_default_library",
|
|
"//vendor/k8s.io/klog:go_default_library",
|
|
],
|
|
)
|
|
|
|
filegroup(
|
|
name = "package-srcs",
|
|
srcs = glob(["**"]),
|
|
tags = ["automanaged"],
|
|
visibility = ["//visibility:private"],
|
|
)
|
|
|
|
filegroup(
|
|
name = "all-srcs",
|
|
srcs = [
|
|
":package-srcs",
|
|
"//staging/src/k8s.io/kube-aggregator/pkg/apis/apiregistration:all-srcs",
|
|
"//staging/src/k8s.io/kube-aggregator/pkg/apiserver:all-srcs",
|
|
"//staging/src/k8s.io/kube-aggregator/pkg/client/clientset_generated/clientset:all-srcs",
|
|
"//staging/src/k8s.io/kube-aggregator/pkg/client/clientset_generated/internalclientset:all-srcs",
|
|
"//staging/src/k8s.io/kube-aggregator/pkg/client/informers/externalversions:all-srcs",
|
|
"//staging/src/k8s.io/kube-aggregator/pkg/client/informers/internalversion:all-srcs",
|
|
"//staging/src/k8s.io/kube-aggregator/pkg/client/listers/apiregistration/internalversion:all-srcs",
|
|
"//staging/src/k8s.io/kube-aggregator/pkg/client/listers/apiregistration/v1:all-srcs",
|
|
"//staging/src/k8s.io/kube-aggregator/pkg/client/listers/apiregistration/v1beta1:all-srcs",
|
|
"//staging/src/k8s.io/kube-aggregator/pkg/cmd/server:all-srcs",
|
|
"//staging/src/k8s.io/kube-aggregator/pkg/controllers:all-srcs",
|
|
"//staging/src/k8s.io/kube-aggregator/pkg/registry/apiservice:all-srcs",
|
|
],
|
|
tags = ["automanaged"],
|
|
)
|