mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-27 00:30:18 +00:00
71 lines
2.1 KiB
Python
71 lines
2.1 KiB
Python
package(default_visibility = ["//visibility:public"])
|
|
|
|
load(
|
|
"@io_bazel_rules_go//go:def.bzl",
|
|
"go_library",
|
|
"go_test",
|
|
)
|
|
|
|
filegroup(
|
|
name = "config",
|
|
srcs = glob([
|
|
"**/*.yaml",
|
|
"**/*.yml",
|
|
"**/*.json",
|
|
]) + [
|
|
"pod",
|
|
],
|
|
)
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = ["doc.go"],
|
|
importpath = "k8s.io/kubernetes/examples",
|
|
)
|
|
|
|
go_test(
|
|
name = "go_default_xtest",
|
|
srcs = ["examples_test.go"],
|
|
tags = ["manual"], # this test is broken and examples in-tree is deprecated
|
|
deps = [
|
|
"//pkg/api/testapi:go_default_library",
|
|
"//pkg/apis/apps:go_default_library",
|
|
"//pkg/apis/apps/validation:go_default_library",
|
|
"//pkg/apis/batch:go_default_library",
|
|
"//pkg/apis/core:go_default_library",
|
|
"//pkg/apis/core/validation:go_default_library",
|
|
"//pkg/apis/extensions:go_default_library",
|
|
"//pkg/apis/extensions/validation:go_default_library",
|
|
"//pkg/capabilities:go_default_library",
|
|
"//pkg/registry/batch/job:go_default_library",
|
|
"//pkg/scheduler/api:go_default_library",
|
|
"//pkg/scheduler/api/latest:go_default_library",
|
|
"//pkg/scheduler/api/validation:go_default_library",
|
|
"//vendor/github.com/golang/glog:go_default_library",
|
|
"//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library",
|
|
"//vendor/k8s.io/apimachinery/pkg/runtime:go_default_library",
|
|
"//vendor/k8s.io/apimachinery/pkg/types:go_default_library",
|
|
"//vendor/k8s.io/apimachinery/pkg/util/validation/field:go_default_library",
|
|
"//vendor/k8s.io/apimachinery/pkg/util/yaml:go_default_library",
|
|
],
|
|
)
|
|
|
|
filegroup(
|
|
name = "package-srcs",
|
|
srcs = glob(["**"]),
|
|
tags = ["automanaged"],
|
|
visibility = ["//visibility:private"],
|
|
)
|
|
|
|
filegroup(
|
|
name = "all-srcs",
|
|
srcs = [
|
|
":package-srcs",
|
|
"//examples/explorer:all-srcs",
|
|
"//examples/guestbook-go:all-srcs",
|
|
"//examples/https-nginx:all-srcs",
|
|
"//examples/sharing-clusters:all-srcs",
|
|
],
|
|
tags = ["automanaged"],
|
|
)
|