mirror of https://github.com/status-im/consul.git
20 lines
522 B
Protocol Buffer
20 lines
522 B
Protocol Buffer
// Copyright (c) HashiCorp, Inc.
|
|
// SPDX-License-Identifier: MPL-2.0
|
|
|
|
syntax = "proto3";
|
|
|
|
package hashicorp.consul.catalog.v2beta1;
|
|
|
|
// +kubebuilder:validation:Enum=PROTOCOL_UNSPECIFIED;PROTOCOL_TCP;PROTOCOL_HTTP;PROTOCOL_HTTP2;PROTOCOL_GRPC
|
|
// +kubebuilder:validation:Type=string
|
|
enum Protocol {
|
|
PROTOCOL_UNSPECIFIED = 0;
|
|
PROTOCOL_TCP = 1;
|
|
PROTOCOL_HTTP = 2;
|
|
PROTOCOL_HTTP2 = 3;
|
|
PROTOCOL_GRPC = 4;
|
|
|
|
// Protocol Mesh indicates that this port can speak Consul's mTLS based mesh protocol.
|
|
PROTOCOL_MESH = 5;
|
|
}
|