mirror of
https://github.com/status-im/consul.git
synced 2025-01-09 21:35:52 +00:00
60b75a55f7
Implement exposed paths listeners in the sidecar proxy controller.
24 lines
471 B
Protocol Buffer
24 lines
471 B
Protocol Buffer
// Copyright (c) HashiCorp, Inc.
|
|
// SPDX-License-Identifier: MPL-2.0
|
|
|
|
syntax = "proto3";
|
|
|
|
package hashicorp.consul.mesh.v2beta1;
|
|
|
|
message ExposeConfig {
|
|
repeated ExposePath expose_paths = 1;
|
|
}
|
|
|
|
message ExposePath {
|
|
uint32 listener_port = 1;
|
|
string path = 2;
|
|
uint32 local_path_port = 3;
|
|
ExposePathProtocol protocol = 4;
|
|
}
|
|
|
|
enum ExposePathProtocol {
|
|
// buf:lint:ignore ENUM_ZERO_VALUE_SUFFIX
|
|
EXPOSE_PATH_PROTOCOL_HTTP = 0;
|
|
EXPOSE_PATH_PROTOCOL_HTTP2 = 1;
|
|
}
|