mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-23 06:40:23 +00:00
99 lines
4.0 KiB
Python
99 lines
4.0 KiB
Python
package(default_visibility = ["//visibility:public"])
|
|
|
|
load(
|
|
"@io_bazel_rules_go//go:def.bzl",
|
|
"go_library",
|
|
"go_test",
|
|
)
|
|
|
|
go_test(
|
|
name = "go_default_test",
|
|
srcs = [
|
|
"client_test.go",
|
|
"config_test.go",
|
|
"plugin_test.go",
|
|
"request_test.go",
|
|
"url_utils_test.go",
|
|
"urlbackoff_test.go",
|
|
],
|
|
embed = [":go_default_library"],
|
|
deps = [
|
|
"//vendor/github.com/golang/glog:go_default_library",
|
|
"//vendor/github.com/google/gofuzz:go_default_library",
|
|
"//vendor/github.com/stretchr/testify/assert: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/errors: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/apimachinery/pkg/runtime/serializer: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/clock:go_default_library",
|
|
"//vendor/k8s.io/apimachinery/pkg/util/diff:go_default_library",
|
|
"//vendor/k8s.io/apimachinery/pkg/util/httpstream:go_default_library",
|
|
"//vendor/k8s.io/apimachinery/pkg/util/intstr:go_default_library",
|
|
"//vendor/k8s.io/apimachinery/pkg/watch:go_default_library",
|
|
"//vendor/k8s.io/client-go/kubernetes/scheme:go_default_library",
|
|
"//vendor/k8s.io/client-go/rest/watch:go_default_library",
|
|
"//vendor/k8s.io/client-go/tools/clientcmd/api:go_default_library",
|
|
"//vendor/k8s.io/client-go/util/flowcontrol:go_default_library",
|
|
"//vendor/k8s.io/client-go/util/testing:go_default_library",
|
|
],
|
|
)
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = [
|
|
"client.go",
|
|
"config.go",
|
|
"plugin.go",
|
|
"request.go",
|
|
"transport.go",
|
|
"url_utils.go",
|
|
"urlbackoff.go",
|
|
"zz_generated.deepcopy.go",
|
|
],
|
|
importpath = "k8s.io/client-go/rest",
|
|
deps = [
|
|
"//vendor/github.com/golang/glog:go_default_library",
|
|
"//vendor/golang.org/x/net/http2:go_default_library",
|
|
"//vendor/k8s.io/api/core/v1: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:go_default_library",
|
|
"//vendor/k8s.io/apimachinery/pkg/runtime/schema: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/net:go_default_library",
|
|
"//vendor/k8s.io/apimachinery/pkg/util/sets:go_default_library",
|
|
"//vendor/k8s.io/apimachinery/pkg/watch:go_default_library",
|
|
"//vendor/k8s.io/client-go/pkg/version:go_default_library",
|
|
"//vendor/k8s.io/client-go/rest/watch:go_default_library",
|
|
"//vendor/k8s.io/client-go/tools/clientcmd/api:go_default_library",
|
|
"//vendor/k8s.io/client-go/tools/metrics:go_default_library",
|
|
"//vendor/k8s.io/client-go/transport:go_default_library",
|
|
"//vendor/k8s.io/client-go/util/cert:go_default_library",
|
|
"//vendor/k8s.io/client-go/util/flowcontrol:go_default_library",
|
|
],
|
|
)
|
|
|
|
filegroup(
|
|
name = "package-srcs",
|
|
srcs = glob(["**"]),
|
|
tags = ["automanaged"],
|
|
visibility = ["//visibility:private"],
|
|
)
|
|
|
|
filegroup(
|
|
name = "all-srcs",
|
|
srcs = [
|
|
":package-srcs",
|
|
"//staging/src/k8s.io/client-go/rest/fake:all-srcs",
|
|
"//staging/src/k8s.io/client-go/rest/watch:all-srcs",
|
|
],
|
|
tags = ["automanaged"],
|
|
)
|