Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
30 lines (23 sloc) 1.18 KB
syntax = "proto3";
option go_package = "";
import "gogoproto/gogo.proto";
option (gogoproto.equal_all) = true;
import "";
// Upstream Spec for Consul Upstreams
// consul Upstreams represent a set of one or more addressable pods for a consul Service
// the Gloo consul Upstream maps to a single service port. Because consul Services support multiple ports,
// Gloo requires that a different upstream be created for each port
// consul Upstreams are typically generated automatically by Gloo from the consul API
message UpstreamSpec {
// The name of the Consul Service
string service_name = 1;
// The list of service tags Gloo should search for on a service instance
// before deciding whether or not to include the instance as part of this
// upstream
repeated string service_tags = 2;
// An optional Service Spec describing the service listening at this address service_spec = 3;
// is this consul service connect enabled.
bool connect_enabled = 4;