Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
42 lines (32 sloc) 1.81 KB
syntax = "proto3";
option go_package = "";
import "gogoproto/gogo.proto";
option (gogoproto.equal_all) = true;
import "";
import "";
import "";
* Upstreams represent destination for routing HTTP requests. Upstreams can be compared to
* [clusters]( in Envoy terminology.
* Each upstream in Gloo has a type. Supported types include `static`, `kubernetes`, `aws`, `consul`, and more.
* Each upstream type is handled by a corresponding Gloo plugin.
message Upstream {
// Type-specific configuration. Examples include static, kubernetes, and aws.
// The type-specific config for the upstream is called a spec.
UpstreamSpec upstream_spec = 2;
// Status indicates the validation status of the resource. Status is read-only by clients, and set by gloo during validation status = 6 [(gogoproto.nullable) = false, (gogoproto.moretags) = "testdiff:\"ignore\""];
// Metadata contains the object metadata for this resource metadata = 7 [(gogoproto.nullable) = false];
// Upstreams and their configuration can be automatically by Gloo Discovery
// if this upstream is created or modified by Discovery, metadata about the operation will be placed here.
DiscoveryMetadata discovery_metadata = 8;
// created by discovery services
message DiscoveryMetadata {