mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-12-24 05:50:22 +00:00
116 lines
4.9 KiB
Python
116 lines
4.9 KiB
Python
package(default_visibility = ["//visibility:public"])
|
|
|
|
load(
|
|
"@io_bazel_rules_go//go:def.bzl",
|
|
"go_library",
|
|
"go_test",
|
|
)
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = [
|
|
"conntrack.go",
|
|
"server.go",
|
|
"server_others.go",
|
|
] + select({
|
|
"@io_bazel_rules_go//go/platform:windows_amd64": [
|
|
"server_windows.go",
|
|
],
|
|
"//conditions:default": [],
|
|
}),
|
|
importpath = "k8s.io/kubernetes/cmd/kube-proxy/app",
|
|
deps = [
|
|
"//pkg/apis/componentconfig:go_default_library",
|
|
"//pkg/apis/core:go_default_library",
|
|
"//pkg/client/clientset_generated/internalclientset:go_default_library",
|
|
"//pkg/client/informers/informers_generated/internalversion:go_default_library",
|
|
"//pkg/features:go_default_library",
|
|
"//pkg/kubectl/cmd/util:go_default_library",
|
|
"//pkg/kubelet/qos:go_default_library",
|
|
"//pkg/master/ports:go_default_library",
|
|
"//pkg/proxy:go_default_library",
|
|
"//pkg/proxy/apis/kubeproxyconfig:go_default_library",
|
|
"//pkg/proxy/apis/kubeproxyconfig/scheme:go_default_library",
|
|
"//pkg/proxy/apis/kubeproxyconfig/v1alpha1:go_default_library",
|
|
"//pkg/proxy/apis/kubeproxyconfig/validation:go_default_library",
|
|
"//pkg/proxy/config:go_default_library",
|
|
"//pkg/proxy/healthcheck:go_default_library",
|
|
"//pkg/proxy/iptables:go_default_library",
|
|
"//pkg/proxy/ipvs:go_default_library",
|
|
"//pkg/proxy/metrics:go_default_library",
|
|
"//pkg/proxy/userspace:go_default_library",
|
|
"//pkg/util/configz:go_default_library",
|
|
"//pkg/util/dbus:go_default_library",
|
|
"//pkg/util/ipset:go_default_library",
|
|
"//pkg/util/iptables:go_default_library",
|
|
"//pkg/util/ipvs:go_default_library",
|
|
"//pkg/util/mount:go_default_library",
|
|
"//pkg/util/node:go_default_library",
|
|
"//pkg/util/oom:go_default_library",
|
|
"//pkg/util/pointer:go_default_library",
|
|
"//pkg/util/resourcecontainer:go_default_library",
|
|
"//pkg/util/sysctl:go_default_library",
|
|
"//pkg/version:go_default_library",
|
|
"//pkg/version/verflag:go_default_library",
|
|
"//vendor/github.com/golang/glog:go_default_library",
|
|
"//vendor/github.com/prometheus/client_golang/prometheus:go_default_library",
|
|
"//vendor/github.com/spf13/cobra:go_default_library",
|
|
"//vendor/github.com/spf13/pflag:go_default_library",
|
|
"//vendor/k8s.io/api/core/v1:go_default_library",
|
|
"//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library",
|
|
"//vendor/k8s.io/apimachinery/pkg/runtime:go_default_library",
|
|
"//vendor/k8s.io/apimachinery/pkg/runtime/serializer:go_default_library",
|
|
"//vendor/k8s.io/apimachinery/pkg/runtime/serializer/json:go_default_library",
|
|
"//vendor/k8s.io/apimachinery/pkg/types:go_default_library",
|
|
"//vendor/k8s.io/apimachinery/pkg/util/net:go_default_library",
|
|
"//vendor/k8s.io/apimachinery/pkg/util/runtime:go_default_library",
|
|
"//vendor/k8s.io/apimachinery/pkg/util/wait:go_default_library",
|
|
"//vendor/k8s.io/apiserver/pkg/server/healthz:go_default_library",
|
|
"//vendor/k8s.io/apiserver/pkg/util/feature:go_default_library",
|
|
"//vendor/k8s.io/client-go/kubernetes:go_default_library",
|
|
"//vendor/k8s.io/client-go/kubernetes/typed/core/v1:go_default_library",
|
|
"//vendor/k8s.io/client-go/rest:go_default_library",
|
|
"//vendor/k8s.io/client-go/tools/clientcmd:go_default_library",
|
|
"//vendor/k8s.io/client-go/tools/clientcmd/api:go_default_library",
|
|
"//vendor/k8s.io/client-go/tools/record:go_default_library",
|
|
"//vendor/k8s.io/utils/exec:go_default_library",
|
|
] + select({
|
|
"@io_bazel_rules_go//go/platform:windows_amd64": [
|
|
"//pkg/proxy/winkernel:go_default_library",
|
|
"//pkg/proxy/winuserspace:go_default_library",
|
|
"//pkg/util/netsh:go_default_library",
|
|
],
|
|
"//conditions:default": [],
|
|
}),
|
|
)
|
|
|
|
go_test(
|
|
name = "go_default_test",
|
|
srcs = ["server_test.go"],
|
|
importpath = "k8s.io/kubernetes/cmd/kube-proxy/app",
|
|
library = ":go_default_library",
|
|
deps = [
|
|
"//pkg/apis/core:go_default_library",
|
|
"//pkg/proxy/apis/kubeproxyconfig:go_default_library",
|
|
"//pkg/util/configz:go_default_library",
|
|
"//pkg/util/iptables:go_default_library",
|
|
"//pkg/util/pointer:go_default_library",
|
|
"//vendor/github.com/stretchr/testify/assert:go_default_library",
|
|
"//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library",
|
|
"//vendor/k8s.io/apimachinery/pkg/util/diff:go_default_library",
|
|
],
|
|
)
|
|
|
|
filegroup(
|
|
name = "package-srcs",
|
|
srcs = glob(["**"]),
|
|
tags = ["automanaged"],
|
|
visibility = ["//visibility:private"],
|
|
)
|
|
|
|
filegroup(
|
|
name = "all-srcs",
|
|
srcs = [":package-srcs"],
|
|
tags = ["automanaged"],
|
|
)
|