mirror of https://github.com/status-im/consul.git
34 lines
2.8 KiB
Go
34 lines
2.8 KiB
Go
// 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.resource.ResourceService/Delete": rate.OperationTypeWrite,
|
|
"/hashicorp.consul.resource.ResourceService/List": rate.OperationTypeRead,
|
|
"/hashicorp.consul.resource.ResourceService/Read": rate.OperationTypeRead,
|
|
"/hashicorp.consul.resource.ResourceService/Watch": rate.OperationTypeRead,
|
|
"/hashicorp.consul.resource.ResourceService/Write": rate.OperationTypeWrite,
|
|
"/hashicorp.consul.resource.ResourceService/WriteStatus": rate.OperationTypeWrite,
|
|
"/hashicorp.consul.serverdiscovery.ServerDiscoveryService/WatchServers": rate.OperationTypeRead,
|
|
"/subscribe.StateChangeSubscription/Subscribe": rate.OperationTypeRead,
|
|
}
|