2019-01-12 04:58:27 +00:00
|
|
|
package(default_visibility = ["//visibility:public"])
|
|
|
|
|
|
|
|
load(
|
|
|
|
"@io_bazel_rules_go//go:def.bzl",
|
|
|
|
"go_library",
|
|
|
|
"go_test",
|
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
|
|
|
srcs = [
|
|
|
|
"compact_test.go",
|
2019-06-12 21:00:25 +00:00
|
|
|
"event_test.go",
|
2019-01-12 04:58:27 +00:00
|
|
|
"lease_manager_test.go",
|
|
|
|
"store_test.go",
|
|
|
|
"watcher_test.go",
|
|
|
|
],
|
|
|
|
embed = [":go_default_library"],
|
|
|
|
deps = [
|
|
|
|
"//staging/src/k8s.io/apimachinery/pkg/api/apitesting:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apimachinery/pkg/api/errors:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apimachinery/pkg/fields:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apimachinery/pkg/labels:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apimachinery/pkg/runtime:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apimachinery/pkg/runtime/schema:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apimachinery/pkg/runtime/serializer:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apimachinery/pkg/util/runtime:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apimachinery/pkg/util/wait:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apimachinery/pkg/watch:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apiserver/pkg/apis/example:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apiserver/pkg/apis/example/v1:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apiserver/pkg/storage:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apiserver/pkg/storage/etcd:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apiserver/pkg/storage/tests:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apiserver/pkg/storage/value:go_default_library",
|
|
|
|
"//vendor/github.com/coreos/etcd/clientv3:go_default_library",
|
|
|
|
"//vendor/github.com/coreos/etcd/etcdserver/api/v3rpc/rpctypes:go_default_library",
|
|
|
|
"//vendor/github.com/coreos/etcd/integration:go_default_library",
|
2019-06-12 21:00:25 +00:00
|
|
|
"//vendor/github.com/coreos/etcd/mvcc/mvccpb:go_default_library",
|
2019-01-12 04:58:27 +00:00
|
|
|
"//vendor/github.com/coreos/pkg/capnslog:go_default_library",
|
2019-06-12 21:00:25 +00:00
|
|
|
"//vendor/github.com/stretchr/testify/assert:go_default_library",
|
|
|
|
"//vendor/github.com/stretchr/testify/require:go_default_library",
|
2019-01-12 04:58:27 +00:00
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
|
|
|
srcs = [
|
|
|
|
"compact.go",
|
|
|
|
"errors.go",
|
|
|
|
"event.go",
|
|
|
|
"lease_manager.go",
|
2019-04-07 17:07:55 +00:00
|
|
|
"logger.go",
|
2019-01-12 04:58:27 +00:00
|
|
|
"store.go",
|
|
|
|
"watcher.go",
|
|
|
|
],
|
|
|
|
importmap = "k8s.io/kubernetes/vendor/k8s.io/apiserver/pkg/storage/etcd3",
|
|
|
|
importpath = "k8s.io/apiserver/pkg/storage/etcd3",
|
|
|
|
deps = [
|
|
|
|
"//staging/src/k8s.io/apimachinery/pkg/api/errors:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apimachinery/pkg/api/meta:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apimachinery/pkg/conversion:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apimachinery/pkg/runtime:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apimachinery/pkg/util/runtime:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apimachinery/pkg/watch:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apiserver/pkg/storage:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apiserver/pkg/storage/etcd:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apiserver/pkg/storage/value:go_default_library",
|
|
|
|
"//vendor/github.com/coreos/etcd/clientv3:go_default_library",
|
|
|
|
"//vendor/github.com/coreos/etcd/etcdserver/api/v3rpc/rpctypes:go_default_library",
|
|
|
|
"//vendor/github.com/coreos/etcd/mvcc/mvccpb:go_default_library",
|
|
|
|
"//vendor/k8s.io/klog:go_default_library",
|
2019-04-07 17:07:55 +00:00
|
|
|
"//vendor/k8s.io/utils/trace:go_default_library",
|
2019-01-12 04:58:27 +00:00
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
filegroup(
|
|
|
|
name = "package-srcs",
|
|
|
|
srcs = glob(["**"]),
|
|
|
|
tags = ["automanaged"],
|
|
|
|
visibility = ["//visibility:private"],
|
|
|
|
)
|
|
|
|
|
|
|
|
filegroup(
|
|
|
|
name = "all-srcs",
|
|
|
|
srcs = [
|
|
|
|
":package-srcs",
|
|
|
|
"//staging/src/k8s.io/apiserver/pkg/storage/etcd3/preflight:all-srcs",
|
|
|
|
],
|
|
|
|
tags = ["automanaged"],
|
|
|
|
)
|