mirror of
https://github.com/status-im/consul.git
synced 2025-01-10 22:06:20 +00:00
326c0ecfbe
* Implement In-Process gRPC for use by controller caching/indexing This replaces the pipe base listener implementation we were previously using. The new style CAN avoid cloning resources which our controller caching/indexing is taking advantage of to not duplicate resource objects in memory. To maintain safety for controllers and for them to be able to modify data they get back from the cache and the resource service, the client they are presented in their runtime will be wrapped with an autogenerated client which clones request and response messages as they pass through the client. Another sizable change in this PR is to consolidate how server specific gRPC services get registered and managed. Before this was in a bunch of different methods and it was difficult to track down how gRPC services were registered. Now its all in one place. * Fix race in tests * Ensure the resource service is registered to the multiplexed handler for forwarding from client agents * Expose peer streaming on the internal handler
81 lines
3.2 KiB
Go
81 lines
3.2 KiB
Go
// Copyright (c) HashiCorp, Inc.
|
|
// SPDX-License-Identifier: BUSL-1.1
|
|
|
|
package logging
|
|
|
|
const (
|
|
ACL string = "acl"
|
|
Agent string = "agent"
|
|
AntiEntropy string = "anti_entropy"
|
|
AutoEncrypt string = "auto_encrypt"
|
|
AutoConfig string = "auto_config"
|
|
Autopilot string = "autopilot"
|
|
AWS string = "aws"
|
|
Azure string = "azure"
|
|
CA string = "ca"
|
|
Catalog string = "catalog"
|
|
CentralConfig string = "central_config"
|
|
ConfigEntry string = "config_entry"
|
|
Connect string = "connect"
|
|
ConnectCA string = "connect-ca"
|
|
Consul string = "consul"
|
|
ConsulClient string = "client"
|
|
ConsulServer string = "server"
|
|
ControllerRuntime string = "controller-runtime"
|
|
Coordinate string = "coordinate"
|
|
DNS string = "dns"
|
|
Envoy string = "envoy"
|
|
FederationState string = "federation_state"
|
|
FSM string = "fsm"
|
|
APIGatewayController string = "api_gateway_controller"
|
|
GatewayLocator string = "gateway_locator"
|
|
HTTP string = "http"
|
|
HTTPRouteController string = "http_route_controller"
|
|
IngressGateway string = "ingress_gateway"
|
|
Intentions string = "intentions"
|
|
Internal string = "internal"
|
|
KV string = "kvs"
|
|
LAN string = "lan"
|
|
Leader string = "leader"
|
|
Legacy string = "legacy"
|
|
License string = "license"
|
|
Manager string = "manager"
|
|
Memberlist string = "memberlist"
|
|
MeshGateway string = "mesh_gateway"
|
|
Namespace string = "namespace"
|
|
NetworkAreas string = "network_areas"
|
|
Operator string = "operator"
|
|
PreparedQuery string = "prepared_query"
|
|
Proxy string = "proxy"
|
|
ProxyConfig string = "proxycfg"
|
|
Raft string = "raft"
|
|
Replication string = "replication"
|
|
Router string = "router"
|
|
RPC string = "rpc"
|
|
Serf string = "serf"
|
|
Session string = "session"
|
|
Sentinel string = "sentinel"
|
|
Snapshot string = "snapshot"
|
|
Partition string = "partition"
|
|
Peering string = "peering"
|
|
PeerStream string = "peerstream"
|
|
PeeringMetrics string = "peering_metrics"
|
|
TCPRouteController string = "tcp_route_controller"
|
|
TerminatingGateway string = "terminating_gateway"
|
|
TLSUtil string = "tlsutil"
|
|
Transaction string = "txn"
|
|
UsageMetrics string = "usage_metrics"
|
|
UIServer string = "ui_server"
|
|
UIMetricsProxy string = "ui_metrics_proxy"
|
|
WAN string = "wan"
|
|
Watch string = "watch"
|
|
XDS string = "xds"
|
|
XDSCapacityController string = "xds_capacity_controller"
|
|
Vault string = "vault"
|
|
Health string = "health"
|
|
GRPCAPI string = "grpc-api"
|
|
Resource string = "resource"
|
|
Dataplane string = "dataplane"
|
|
ServerDiscovery string = "server-discovery"
|
|
)
|