mirror of https://github.com/status-im/consul.git
28 lines
929 B
Protocol Buffer
28 lines
929 B
Protocol Buffer
// Copyright (c) HashiCorp, Inc.
|
|
// SPDX-License-Identifier: MPL-2.0
|
|
|
|
syntax = "proto3";
|
|
|
|
package hashicorp.consul.mesh.v2beta1;
|
|
|
|
import "pbmesh/v2beta1/computed_routes.proto";
|
|
import "pbresource/annotations.proto";
|
|
import "pbresource/resource.proto";
|
|
|
|
// This is a Resource type.
|
|
message ComputedGatewayRoutes {
|
|
option (hashicorp.consul.resource.spec) = {scope: SCOPE_NAMESPACE};
|
|
|
|
// PortedConfigs is the map of service ports to the ComputedPortRoutes for
|
|
// those ports.
|
|
//
|
|
// The port identifier key here is always normalized to the target (workload)
|
|
// port name regardless of whether a virtual or target port identifier was
|
|
// provided in input config.
|
|
map<string, ComputedPortRoutes> ported_configs = 1;
|
|
|
|
// BoundReferences is a slice of mixed type references of resources that were
|
|
// involved in the formulation of this resource.
|
|
repeated hashicorp.consul.resource.Reference bound_references = 2;
|
|
}
|