WaitForEndpoint() of the endpoints e2e framework was used in test/e2e/network/proxy.go only. In addition, the endpoints e2e framework imported the core of e2e framework only for the function. So this moves the function into test/e2e/network/proxy.go then we can remove dependency of core framework from the sub e2e framework.
31 lines
936 B
Python
31 lines
936 B
Python
load("@io_bazel_rules_go//go:def.bzl", "go_library")
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = ["ports.go"],
|
|
importpath = "k8s.io/kubernetes/test/e2e/framework/endpoints",
|
|
visibility = ["//visibility:public"],
|
|
deps = [
|
|
"//staging/src/k8s.io/api/core/v1:go_default_library",
|
|
"//staging/src/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library",
|
|
"//staging/src/k8s.io/apimachinery/pkg/types:go_default_library",
|
|
"//staging/src/k8s.io/client-go/kubernetes:go_default_library",
|
|
"//test/e2e/framework/log:go_default_library",
|
|
"//vendor/github.com/onsi/ginkgo:go_default_library",
|
|
],
|
|
)
|
|
|
|
filegroup(
|
|
name = "package-srcs",
|
|
srcs = glob(["**"]),
|
|
tags = ["automanaged"],
|
|
visibility = ["//visibility:private"],
|
|
)
|
|
|
|
filegroup(
|
|
name = "all-srcs",
|
|
srcs = [":package-srcs"],
|
|
tags = ["automanaged"],
|
|
visibility = ["//visibility:public"],
|
|
)
|