consul/proto-public/pbmesh/v1alpha1/connection.proto

27 lines
643 B
Protocol Buffer
Raw Normal View History

// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0
syntax = "proto3";
package hashicorp.consul.mesh.v1alpha1;
import "google/protobuf/duration.proto";
// Referenced by ProxyConfiguration
message ConnectionConfig {
google.protobuf.Duration connect_timeout = 1;
google.protobuf.Duration request_timeout = 2;
}
// Referenced by ProxyConfiguration
message InboundConnectionsConfig {
uint64 max_inbound_connections = 12;
BalanceConnections balance_inbound_connections = 13;
}
enum BalanceConnections {
// buf:lint:ignore ENUM_ZERO_VALUE_SUFFIX
BALANCE_CONNECTIONS_DEFAULT = 0;
BALANCE_CONNECTIONS_EXACT = 1;
}