k3s/vendor/k8s.io/kubernetes/pkg/proxy/winkernel/BUILD

82 lines
3.2 KiB
Python
Raw Normal View History

2019-04-07 17:07:55 +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",
srcs = [
2019-04-07 17:07:55 +00:00
"hnsV1.go",
"hnsV2.go",
2019-01-12 04:58:27 +00:00
"metrics.go",
"proxier.go",
],
importpath = "k8s.io/kubernetes/pkg/proxy/winkernel",
visibility = ["//visibility:public"],
deps = [
2019-09-27 21:51:53 +00:00
"//staging/src/k8s.io/component-base/metrics:go_default_library",
"//staging/src/k8s.io/component-base/metrics/legacyregistry:go_default_library",
2019-01-12 04:58:27 +00:00
] + select({
"@io_bazel_rules_go//go/platform:windows": [
"//pkg/apis/core/v1/helper:go_default_library",
2020-08-10 17:43:49 +00:00
"//pkg/features:go_default_library",
2019-01-12 04:58:27 +00:00
"//pkg/proxy:go_default_library",
2019-04-07 17:07:55 +00:00
"//pkg/proxy/apis/config:go_default_library",
2019-09-27 21:51:53 +00:00
"//pkg/proxy/config:go_default_library",
2019-01-12 04:58:27 +00:00
"//pkg/proxy/healthcheck:go_default_library",
2020-08-10 17:43:49 +00:00
"//pkg/proxy/metaproxier:go_default_library",
2020-03-26 21:07:15 +00:00
"//pkg/proxy/metrics:go_default_library",
2020-08-10 17:43:49 +00:00
"//pkg/proxy/util:go_default_library",
2019-01-12 04:58:27 +00:00
"//pkg/util/async:go_default_library",
"//staging/src/k8s.io/api/core/v1:go_default_library",
2020-08-10 17:43:49 +00:00
"//staging/src/k8s.io/api/discovery/v1beta1:go_default_library",
2019-01-12 04:58:27 +00:00
"//staging/src/k8s.io/apimachinery/pkg/types:go_default_library",
2020-03-26 21:07:15 +00:00
"//staging/src/k8s.io/apimachinery/pkg/util/intstr:go_default_library",
2019-01-12 04:58:27 +00:00
"//staging/src/k8s.io/apimachinery/pkg/util/wait:go_default_library",
2019-04-07 17:07:55 +00:00
"//staging/src/k8s.io/apiserver/pkg/util/feature:go_default_library",
2019-01-12 04:58:27 +00:00
"//staging/src/k8s.io/client-go/tools/record:go_default_library",
"//vendor/github.com/Microsoft/hcsshim:go_default_library",
2019-04-07 17:07:55 +00:00
"//vendor/github.com/Microsoft/hcsshim/hcn:go_default_library",
2019-01-12 04:58:27 +00:00
"//vendor/github.com/davecgh/go-spew/spew:go_default_library",
2020-08-10 17:43:49 +00:00
"//vendor/k8s.io/klog/v2:go_default_library",
"//vendor/k8s.io/utils/net:go_default_library",
2019-01-12 04:58:27 +00:00
],
"//conditions:default": [],
}),
)
filegroup(
name = "package-srcs",
srcs = glob(["**"]),
tags = ["automanaged"],
visibility = ["//visibility:private"],
)
filegroup(
name = "all-srcs",
srcs = [":package-srcs"],
tags = ["automanaged"],
visibility = ["//visibility:public"],
)
2019-04-07 17:07:55 +00:00
go_test(
name = "go_default_test",
srcs = [
"hns_test.go",
"proxier_test.go",
],
embed = [":go_default_library"],
deps = select({
"@io_bazel_rules_go//go/platform:windows": [
"//pkg/proxy:go_default_library",
2019-12-12 01:27:03 +00:00
"//pkg/proxy/healthcheck:go_default_library",
2020-08-10 17:43:49 +00:00
"//pkg/proxy/util:go_default_library",
2019-04-07 17:07:55 +00:00
"//staging/src/k8s.io/api/core/v1:go_default_library",
2019-12-12 01:27:03 +00:00
"//staging/src/k8s.io/api/discovery/v1beta1:go_default_library",
2019-04-07 17:07:55 +00:00
"//staging/src/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library",
"//staging/src/k8s.io/apimachinery/pkg/types:go_default_library",
2020-08-10 17:43:49 +00:00
"//staging/src/k8s.io/apimachinery/pkg/util/intstr:go_default_library",
2019-04-07 17:07:55 +00:00
"//vendor/github.com/Microsoft/hcsshim/hcn:go_default_library",
2020-08-10 17:43:49 +00:00
"//vendor/k8s.io/utils/pointer:go_default_library",
2019-04-07 17:07:55 +00:00
],
"//conditions:default": [],
}),
)