mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-12-22 11:23:21 +00:00
Remove the "OrDie" from the name (since it doesn't "or die") and add an extra check that there is at least 1 node available, since many callers already did that themselves, and many others should have.
47 lines
1.4 KiB
Python
47 lines
1.4 KiB
Python
package(default_visibility = ["//visibility:public"])
|
|
|
|
load(
|
|
"@io_bazel_rules_go//go:def.bzl",
|
|
"go_library",
|
|
)
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = [
|
|
"log_provider.go",
|
|
"logging_agent.go",
|
|
"logging_pod.go",
|
|
"misc.go",
|
|
"types.go",
|
|
"wait.go",
|
|
],
|
|
importpath = "k8s.io/kubernetes/test/e2e/instrumentation/logging/utils",
|
|
deps = [
|
|
"//pkg/apis/core:go_default_library",
|
|
"//staging/src/k8s.io/api/core/v1:go_default_library",
|
|
"//staging/src/k8s.io/apimachinery/pkg/api/resource:go_default_library",
|
|
"//staging/src/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library",
|
|
"//staging/src/k8s.io/apimachinery/pkg/labels:go_default_library",
|
|
"//staging/src/k8s.io/apimachinery/pkg/util/wait:go_default_library",
|
|
"//staging/src/k8s.io/client-go/kubernetes:go_default_library",
|
|
"//test/e2e/framework:go_default_library",
|
|
"//test/e2e/framework/node:go_default_library",
|
|
"//test/e2e/framework/pod:go_default_library",
|
|
"//test/utils/image:go_default_library",
|
|
"//vendor/k8s.io/utils/integer:go_default_library",
|
|
],
|
|
)
|
|
|
|
filegroup(
|
|
name = "package-srcs",
|
|
srcs = glob(["**"]),
|
|
tags = ["automanaged"],
|
|
visibility = ["//visibility:private"],
|
|
)
|
|
|
|
filegroup(
|
|
name = "all-srcs",
|
|
srcs = [":package-srcs"],
|
|
tags = ["automanaged"],
|
|
)
|