mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-06 07:57:35 +00:00
Extract TestSuite, TestDriver, TestPattern, TestConfig and VolumeResource, SnapshotVolumeResource from testsuite package and put them into a new package called api. The ultimate goal here is to make the testsuites as clean as possible. And only testsuites in the package.
43 lines
1.3 KiB
Python
43 lines
1.3 KiB
Python
package(default_visibility = ["//visibility:public"])
|
|
|
|
load(
|
|
"@io_bazel_rules_go//go:def.bzl",
|
|
"go_library",
|
|
)
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = [
|
|
"persistent_volumes.go",
|
|
"volume_mode.go",
|
|
],
|
|
importpath = "k8s.io/kubernetes/test/e2e/upgrades/storage",
|
|
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/util/errors:go_default_library",
|
|
"//staging/src/k8s.io/apimachinery/pkg/util/version:go_default_library",
|
|
"//test/e2e/framework:go_default_library",
|
|
"//test/e2e/framework/pod:go_default_library",
|
|
"//test/e2e/framework/pv:go_default_library",
|
|
"//test/e2e/framework/skipper:go_default_library",
|
|
"//test/e2e/framework/volume:go_default_library",
|
|
"//test/e2e/storage/utils:go_default_library",
|
|
"//test/e2e/upgrades: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"],
|
|
)
|