1
0
mirror of https://github.com/rancher/norman.git synced 2025-09-11 03:59:26 +00:00

Update vendor

This commit is contained in:
Darren Shepherd
2020-02-01 22:12:12 -07:00
parent 52ab7b61fb
commit 57e6592090
4 changed files with 24 additions and 4 deletions

View File

@@ -0,0 +1,19 @@
package ratelimit
import (
"context"
"k8s.io/client-go/util/flowcontrol"
)
var (
None = flowcontrol.RateLimiter((*none)(nil))
)
type none struct{}
func (*none) TryAccept() bool { return true }
func (*none) Stop() {}
func (*none) Accept() {}
func (*none) QPS() float32 { return 1 }
func (*none) Wait(_ context.Context) error { return nil }