peridot/vendor/k8s.io/client-go/util/flowcontrol/BUILD.bazel
2022-07-07 22:13:21 +02:00

18 lines
491 B
Python

load("@io_bazel_rules_go//go:def.bzl", "go_library")
go_library(
name = "flowcontrol",
srcs = [
"backoff.go",
"throttle.go",
],
importmap = "peridot.resf.org/vendor/k8s.io/client-go/util/flowcontrol",
importpath = "k8s.io/client-go/util/flowcontrol",
visibility = ["//visibility:public"],
deps = [
"//vendor/golang.org/x/time/rate",
"//vendor/k8s.io/apimachinery/pkg/util/clock",
"//vendor/k8s.io/utils/integer",
],
)