consul/agent/grpc-middleware/rate_limit_mappings.gen.go

28 lines
2.2 KiB
Go
Raw Normal View History

2023-01-04 16:07:02 +00:00
// generated by protoc-gen-consul-rate-limit; DO NOT EDIT.
package middleware
import "github.com/hashicorp/consul/agent/consul/rate"
var rpcRateLimitSpecs = map[string]rate.OperationType{
"/hashicorp.consul.acl.ACLService/Login": rate.OperationTypeWrite,
"/hashicorp.consul.acl.ACLService/Logout": rate.OperationTypeWrite,
"/hashicorp.consul.connectca.ConnectCAService/Sign": rate.OperationTypeWrite,
"/hashicorp.consul.connectca.ConnectCAService/WatchRoots": rate.OperationTypeRead,
"/hashicorp.consul.dataplane.DataplaneService/GetEnvoyBootstrapParams": rate.OperationTypeRead,
"/hashicorp.consul.dataplane.DataplaneService/GetSupportedDataplaneFeatures": rate.OperationTypeRead,
"/hashicorp.consul.dns.DNSService/Query": rate.OperationTypeRead,
"/hashicorp.consul.internal.operator.OperatorService/TransferLeader": rate.OperationTypeExempt,
"/hashicorp.consul.internal.peering.PeeringService/Establish": rate.OperationTypeWrite,
"/hashicorp.consul.internal.peering.PeeringService/GenerateToken": rate.OperationTypeWrite,
"/hashicorp.consul.internal.peering.PeeringService/PeeringDelete": rate.OperationTypeWrite,
"/hashicorp.consul.internal.peering.PeeringService/PeeringList": rate.OperationTypeRead,
"/hashicorp.consul.internal.peering.PeeringService/PeeringRead": rate.OperationTypeRead,
"/hashicorp.consul.internal.peering.PeeringService/PeeringWrite": rate.OperationTypeWrite,
"/hashicorp.consul.internal.peering.PeeringService/TrustBundleListByService": rate.OperationTypeRead,
"/hashicorp.consul.internal.peering.PeeringService/TrustBundleRead": rate.OperationTypeRead,
"/hashicorp.consul.internal.peerstream.PeerStreamService/ExchangeSecret": rate.OperationTypeWrite,
"/hashicorp.consul.internal.peerstream.PeerStreamService/StreamResources": rate.OperationTypeRead,
"/hashicorp.consul.serverdiscovery.ServerDiscoveryService/WatchServers": rate.OperationTypeRead,
"/subscribe.StateChangeSubscription/Subscribe": rate.OperationTypeRead,
}