mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-12-22 13:00:19 +00:00
110 lines
4.6 KiB
Python
110 lines
4.6 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 = [
|
|
"conversion.go",
|
|
"doc.go",
|
|
"fuzzer.go",
|
|
"pod_specs.go",
|
|
],
|
|
importpath = "k8s.io/kubernetes/pkg/api/testing",
|
|
deps = [
|
|
"//pkg/api/legacyscheme:go_default_library",
|
|
"//pkg/apis/admissionregistration/fuzzer:go_default_library",
|
|
"//pkg/apis/apps/fuzzer:go_default_library",
|
|
"//pkg/apis/autoscaling/fuzzer:go_default_library",
|
|
"//pkg/apis/batch/fuzzer:go_default_library",
|
|
"//pkg/apis/certificates/fuzzer:go_default_library",
|
|
"//pkg/apis/core:go_default_library",
|
|
"//pkg/apis/core/fuzzer:go_default_library",
|
|
"//pkg/apis/extensions:go_default_library",
|
|
"//pkg/apis/extensions/fuzzer:go_default_library",
|
|
"//pkg/apis/extensions/v1beta1:go_default_library",
|
|
"//pkg/apis/networking/fuzzer:go_default_library",
|
|
"//pkg/apis/policy/fuzzer:go_default_library",
|
|
"//pkg/apis/rbac/fuzzer:go_default_library",
|
|
"//pkg/apis/storage/fuzzer:go_default_library",
|
|
"//vendor/github.com/google/gofuzz:go_default_library",
|
|
"//vendor/k8s.io/api/core/v1:go_default_library",
|
|
"//vendor/k8s.io/apimachinery/pkg/api/testing:go_default_library",
|
|
"//vendor/k8s.io/apimachinery/pkg/api/testing/fuzzer:go_default_library",
|
|
"//vendor/k8s.io/apimachinery/pkg/apis/meta/fuzzer:go_default_library",
|
|
"//vendor/k8s.io/apimachinery/pkg/fields:go_default_library",
|
|
"//vendor/k8s.io/apimachinery/pkg/runtime:go_default_library",
|
|
"//vendor/k8s.io/apimachinery/pkg/runtime/serializer:go_default_library",
|
|
],
|
|
)
|
|
|
|
filegroup(
|
|
name = "package-srcs",
|
|
srcs = glob(["**"]),
|
|
tags = ["automanaged"],
|
|
visibility = ["//visibility:private"],
|
|
)
|
|
|
|
filegroup(
|
|
name = "all-srcs",
|
|
srcs = [
|
|
":package-srcs",
|
|
"//pkg/api/testing/compat:all-srcs",
|
|
],
|
|
tags = ["automanaged"],
|
|
)
|
|
|
|
go_test(
|
|
name = "go_default_test",
|
|
srcs = [
|
|
"backward_compatibility_test.go",
|
|
"conversion_test.go",
|
|
"copy_test.go",
|
|
"deep_copy_test.go",
|
|
"defaulting_test.go",
|
|
"meta_test.go",
|
|
"serialization_proto_test.go",
|
|
"serialization_test.go",
|
|
"unstructured_test.go",
|
|
],
|
|
embed = [":go_default_library"],
|
|
deps = [
|
|
"//pkg/api/legacyscheme:go_default_library",
|
|
"//pkg/api/testapi:go_default_library",
|
|
"//pkg/api/testing/compat:go_default_library",
|
|
"//pkg/apis/core:go_default_library",
|
|
"//pkg/apis/core/install:go_default_library",
|
|
"//pkg/apis/core/v1:go_default_library",
|
|
"//pkg/apis/core/validation:go_default_library",
|
|
"//pkg/apis/extensions:go_default_library",
|
|
"//pkg/apis/extensions/v1beta1:go_default_library",
|
|
"//vendor/github.com/gogo/protobuf/proto:go_default_library",
|
|
"//vendor/github.com/google/gofuzz:go_default_library",
|
|
"//vendor/github.com/json-iterator/go:go_default_library",
|
|
"//vendor/k8s.io/api/core/v1:go_default_library",
|
|
"//vendor/k8s.io/api/extensions/v1beta1:go_default_library",
|
|
"//vendor/k8s.io/apimachinery/pkg/api/equality:go_default_library",
|
|
"//vendor/k8s.io/apimachinery/pkg/api/meta:go_default_library",
|
|
"//vendor/k8s.io/apimachinery/pkg/api/testing/fuzzer:go_default_library",
|
|
"//vendor/k8s.io/apimachinery/pkg/api/testing/roundtrip:go_default_library",
|
|
"//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library",
|
|
"//vendor/k8s.io/apimachinery/pkg/apis/meta/v1/unstructured:go_default_library",
|
|
"//vendor/k8s.io/apimachinery/pkg/conversion:go_default_library",
|
|
"//vendor/k8s.io/apimachinery/pkg/runtime:go_default_library",
|
|
"//vendor/k8s.io/apimachinery/pkg/runtime/schema:go_default_library",
|
|
"//vendor/k8s.io/apimachinery/pkg/runtime/serializer/json:go_default_library",
|
|
"//vendor/k8s.io/apimachinery/pkg/runtime/serializer/protobuf:go_default_library",
|
|
"//vendor/k8s.io/apimachinery/pkg/runtime/serializer/streaming:go_default_library",
|
|
"//vendor/k8s.io/apimachinery/pkg/types:go_default_library",
|
|
"//vendor/k8s.io/apimachinery/pkg/util/diff:go_default_library",
|
|
"//vendor/k8s.io/apimachinery/pkg/util/json:go_default_library",
|
|
"//vendor/k8s.io/apimachinery/pkg/util/sets:go_default_library",
|
|
"//vendor/k8s.io/apimachinery/pkg/util/validation/field:go_default_library",
|
|
"//vendor/k8s.io/apimachinery/pkg/watch:go_default_library",
|
|
],
|
|
)
|