mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-23 23:00:19 +00:00
68 lines
2.4 KiB
Python
68 lines
2.4 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 = [
|
||
|
"conditions.go",
|
||
|
"helper.go",
|
||
|
],
|
||
|
importpath = "k8s.io/kubernetes/pkg/client/unversioned",
|
||
|
deps = [
|
||
|
"//pkg/api/legacyscheme:go_default_library",
|
||
|
"//pkg/api/pod:go_default_library",
|
||
|
"//pkg/apis/apps:go_default_library",
|
||
|
"//pkg/apis/batch:go_default_library",
|
||
|
"//pkg/apis/core:go_default_library",
|
||
|
"//pkg/apis/extensions:go_default_library",
|
||
|
"//pkg/client/clientset_generated/internalclientset/typed/apps/internalversion:go_default_library",
|
||
|
"//pkg/client/clientset_generated/internalclientset/typed/batch/internalversion:go_default_library",
|
||
|
"//pkg/client/clientset_generated/internalclientset/typed/core/internalversion:go_default_library",
|
||
|
"//pkg/client/clientset_generated/internalclientset/typed/extensions/internalversion:go_default_library",
|
||
|
"//vendor/k8s.io/apimachinery/pkg/api/errors:go_default_library",
|
||
|
"//vendor/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library",
|
||
|
"//vendor/k8s.io/apimachinery/pkg/runtime/schema:go_default_library",
|
||
|
"//vendor/k8s.io/apimachinery/pkg/util/wait:go_default_library",
|
||
|
"//vendor/k8s.io/apimachinery/pkg/watch:go_default_library",
|
||
|
"//vendor/k8s.io/client-go/plugin/pkg/client/auth:go_default_library",
|
||
|
"//vendor/k8s.io/client-go/rest:go_default_library",
|
||
|
],
|
||
|
)
|
||
|
|
||
|
go_test(
|
||
|
name = "go_default_test",
|
||
|
srcs = ["helper_test.go"],
|
||
|
importpath = "k8s.io/kubernetes/pkg/client/unversioned",
|
||
|
library = ":go_default_library",
|
||
|
deps = [
|
||
|
"//pkg/api/legacyscheme:go_default_library",
|
||
|
"//pkg/api/testapi:go_default_library",
|
||
|
"//pkg/apis/core: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/runtime/schema:go_default_library",
|
||
|
"//vendor/k8s.io/client-go/rest:go_default_library",
|
||
|
],
|
||
|
)
|
||
|
|
||
|
filegroup(
|
||
|
name = "package-srcs",
|
||
|
srcs = glob(["**"]),
|
||
|
tags = ["automanaged"],
|
||
|
visibility = ["//visibility:private"],
|
||
|
)
|
||
|
|
||
|
filegroup(
|
||
|
name = "all-srcs",
|
||
|
srcs = [
|
||
|
":package-srcs",
|
||
|
"//pkg/client/unversioned/testclient/simple:all-srcs",
|
||
|
],
|
||
|
tags = ["automanaged"],
|
||
|
)
|