2023-05-05 13:47:28 +00:00
|
|
|
// Copyright (c) HashiCorp, Inc.
|
2023-08-21 17:31:54 +00:00
|
|
|
// SPDX-License-Identifier: MPL-2.0
|
2023-05-05 13:47:28 +00:00
|
|
|
|
|
|
|
syntax = "proto3";
|
|
|
|
|
2023-09-22 16:51:15 +00:00
|
|
|
package hashicorp.consul.catalog.v2beta1;
|
2023-05-05 13:47:28 +00:00
|
|
|
|
2023-10-13 14:55:58 +00:00
|
|
|
// +kubebuilder:validation:Enum=PROTOCOL_UNSPECIFIED;PROTOCOL_TCP;PROTOCOL_HTTP;PROTOCOL_HTTP2;PROTOCOL_GRPC
|
|
|
|
// +kubebuilder:validation:Type=string
|
2023-05-05 13:47:28 +00:00
|
|
|
enum Protocol {
|
2023-08-29 22:14:56 +00:00
|
|
|
PROTOCOL_UNSPECIFIED = 0;
|
|
|
|
PROTOCOL_TCP = 1;
|
|
|
|
PROTOCOL_HTTP = 2;
|
|
|
|
PROTOCOL_HTTP2 = 3;
|
|
|
|
PROTOCOL_GRPC = 4;
|
2023-05-05 13:47:28 +00:00
|
|
|
|
|
|
|
// Protocol Mesh indicates that this port can speak Consul's mTLS based mesh protocol.
|
2023-08-29 22:14:56 +00:00
|
|
|
PROTOCOL_MESH = 5;
|
2023-05-05 13:47:28 +00:00
|
|
|
}
|