Consul is a distributed, highly available, and data center aware solution to connect and configure applications across dynamic, distributed infrastructure.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
2.2 KiB

2 years ago
// 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,
}