mirror of
https://github.com/status-im/consul.git
synced 2025-01-11 06:16:08 +00:00
f8812eddf1
Even though we intend to default to TCP when this field is not explicitly provided, uncluding an `UNSPECIFIED` default enum value allows us to create inheritance chains, e.g. service to workload.
18 lines
375 B
Protocol Buffer
18 lines
375 B
Protocol Buffer
// Copyright (c) HashiCorp, Inc.
|
|
// SPDX-License-Identifier: MPL-2.0
|
|
|
|
syntax = "proto3";
|
|
|
|
package hashicorp.consul.catalog.v1alpha1;
|
|
|
|
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;
|
|
}
|