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 = [
|
|
|
|
"controller_test.go",
|
|
|
|
"delta_fifo_test.go",
|
|
|
|
"expiration_cache_test.go",
|
|
|
|
"fifo_test.go",
|
|
|
|
"heap_test.go",
|
|
|
|
"index_test.go",
|
2019-09-27 21:51:53 +00:00
|
|
|
"main_test.go",
|
2019-01-12 04:58:27 +00:00
|
|
|
"mutation_detector_test.go",
|
|
|
|
"processor_listener_test.go",
|
|
|
|
"reflector_test.go",
|
|
|
|
"shared_informer_test.go",
|
|
|
|
"store_test.go",
|
2019-12-12 01:27:03 +00:00
|
|
|
"thread_safe_store_test.go",
|
2019-01-12 04:58:27 +00:00
|
|
|
"undelta_store_test.go",
|
|
|
|
],
|
|
|
|
embed = [":go_default_library"],
|
|
|
|
race = "off",
|
|
|
|
deps = [
|
|
|
|
"//staging/src/k8s.io/api/core/v1:go_default_library",
|
2020-03-26 21:07:15 +00:00
|
|
|
"//staging/src/k8s.io/apimachinery/pkg/api/errors:go_default_library",
|
2019-01-12 04:58:27 +00:00
|
|
|
"//staging/src/k8s.io/apimachinery/pkg/api/meta:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apimachinery/pkg/apis/meta/v1:go_default_library",
|
2019-12-12 01:27:03 +00:00
|
|
|
"//staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/unstructured:go_default_library",
|
2019-01-12 04:58:27 +00:00
|
|
|
"//staging/src/k8s.io/apimachinery/pkg/runtime:go_default_library",
|
2019-12-12 01:27:03 +00:00
|
|
|
"//staging/src/k8s.io/apimachinery/pkg/runtime/schema:go_default_library",
|
2019-01-12 04:58:27 +00:00
|
|
|
"//staging/src/k8s.io/apimachinery/pkg/util/clock:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apimachinery/pkg/util/sets: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/client-go/tools/cache/testing:go_default_library",
|
|
|
|
"//vendor/github.com/google/gofuzz:go_default_library",
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
|
|
|
srcs = [
|
|
|
|
"controller.go",
|
|
|
|
"delta_fifo.go",
|
|
|
|
"doc.go",
|
|
|
|
"expiration_cache.go",
|
|
|
|
"expiration_cache_fakes.go",
|
|
|
|
"fake_custom_store.go",
|
|
|
|
"fifo.go",
|
|
|
|
"heap.go",
|
|
|
|
"index.go",
|
|
|
|
"listers.go",
|
|
|
|
"listwatch.go",
|
|
|
|
"mutation_cache.go",
|
|
|
|
"mutation_detector.go",
|
|
|
|
"reflector.go",
|
|
|
|
"reflector_metrics.go",
|
|
|
|
"shared_informer.go",
|
|
|
|
"store.go",
|
|
|
|
"thread_safe_store.go",
|
|
|
|
"undelta_store.go",
|
|
|
|
],
|
|
|
|
importmap = "k8s.io/kubernetes/vendor/k8s.io/client-go/tools/cache",
|
|
|
|
importpath = "k8s.io/client-go/tools/cache",
|
|
|
|
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/apis/meta/v1:go_default_library",
|
2019-12-12 01:27:03 +00:00
|
|
|
"//staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/unstructured:go_default_library",
|
2019-01-12 04:58:27 +00:00
|
|
|
"//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/util/cache:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apimachinery/pkg/util/clock:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apimachinery/pkg/util/diff:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apimachinery/pkg/util/naming:go_default_library",
|
2019-09-27 21:51:53 +00:00
|
|
|
"//staging/src/k8s.io/apimachinery/pkg/util/net:go_default_library",
|
2019-01-12 04:58:27 +00:00
|
|
|
"//staging/src/k8s.io/apimachinery/pkg/util/runtime:go_default_library",
|
|
|
|
"//staging/src/k8s.io/apimachinery/pkg/util/sets: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/client-go/rest:go_default_library",
|
|
|
|
"//staging/src/k8s.io/client-go/tools/pager:go_default_library",
|
2020-08-10 17:43:49 +00:00
|
|
|
"//vendor/k8s.io/klog/v2:go_default_library",
|
2019-04-07 17:07:55 +00:00
|
|
|
"//vendor/k8s.io/utils/buffer:go_default_library",
|
|
|
|
"//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/client-go/tools/cache/testing:all-srcs",
|
|
|
|
],
|
|
|
|
tags = ["automanaged"],
|
|
|
|
)
|