8e5b17cf13
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
73 lines
2.5 KiB
Text
73 lines
2.5 KiB
Text
package(default_visibility = ["//visibility:public"])
|
|
|
|
licenses(["notice"])
|
|
|
|
load(
|
|
"@io_bazel_rules_go//go:def.bzl",
|
|
"go_library",
|
|
"go_test",
|
|
)
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = ["testapi.go"],
|
|
tags = ["automanaged"],
|
|
deps = [
|
|
"//cmd/kubeadm/app/apis/kubeadm:go_default_library",
|
|
"//cmd/kubeadm/app/apis/kubeadm/install:go_default_library",
|
|
"//federation/apis/federation:go_default_library",
|
|
"//federation/apis/federation/install:go_default_library",
|
|
"//pkg/api:go_default_library",
|
|
"//pkg/api/install:go_default_library",
|
|
"//pkg/apis/apps:go_default_library",
|
|
"//pkg/apis/apps/install:go_default_library",
|
|
"//pkg/apis/authentication/install:go_default_library",
|
|
"//pkg/apis/authorization:go_default_library",
|
|
"//pkg/apis/authorization/install:go_default_library",
|
|
"//pkg/apis/autoscaling:go_default_library",
|
|
"//pkg/apis/autoscaling/install:go_default_library",
|
|
"//pkg/apis/batch:go_default_library",
|
|
"//pkg/apis/batch/install:go_default_library",
|
|
"//pkg/apis/certificates:go_default_library",
|
|
"//pkg/apis/certificates/install:go_default_library",
|
|
"//pkg/apis/componentconfig/install:go_default_library",
|
|
"//pkg/apis/extensions:go_default_library",
|
|
"//pkg/apis/extensions/install:go_default_library",
|
|
"//pkg/apis/imagepolicy:go_default_library",
|
|
"//pkg/apis/imagepolicy/install:go_default_library",
|
|
"//pkg/apis/policy:go_default_library",
|
|
"//pkg/apis/policy/install:go_default_library",
|
|
"//pkg/apis/rbac:go_default_library",
|
|
"//pkg/apis/rbac/install:go_default_library",
|
|
"//pkg/apis/storage:go_default_library",
|
|
"//pkg/apis/storage/install:go_default_library",
|
|
"//vendor:k8s.io/apimachinery/pkg/api/meta",
|
|
"//vendor:k8s.io/apimachinery/pkg/runtime",
|
|
"//vendor:k8s.io/apimachinery/pkg/runtime/schema",
|
|
"//vendor:k8s.io/apimachinery/pkg/runtime/serializer/recognizer",
|
|
],
|
|
)
|
|
|
|
go_test(
|
|
name = "go_default_test",
|
|
srcs = ["testapi_test.go"],
|
|
library = ":go_default_library",
|
|
tags = ["automanaged"],
|
|
deps = [
|
|
"//vendor:k8s.io/apimachinery/pkg/apis/meta/v1",
|
|
"//vendor:k8s.io/apimachinery/pkg/runtime",
|
|
],
|
|
)
|
|
|
|
filegroup(
|
|
name = "package-srcs",
|
|
srcs = glob(["**"]),
|
|
tags = ["automanaged"],
|
|
visibility = ["//visibility:private"],
|
|
)
|
|
|
|
filegroup(
|
|
name = "all-srcs",
|
|
srcs = [":package-srcs"],
|
|
tags = ["automanaged"],
|
|
)
|