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.
consul/proto-public/pbmesh/v2beta1/expose.proto

26 lines
595 B

// 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;
}
// +kubebuilder:validation:Enum=EXPOSE_PATH_PROTOCOL_HTTP;EXPOSE_PATH_PROTOCOL_HTTP2
// +kubebuilder:validation:Type=string
enum ExposePathProtocol {
// buf:lint:ignore ENUM_ZERO_VALUE_SUFFIX
EXPOSE_PATH_PROTOCOL_HTTP = 0;
EXPOSE_PATH_PROTOCOL_HTTP2 = 1;
}