blob: 0bf3fe0a8d91cfcbbea8c3d85f8acc5e9aed043d [file] [log] [blame]
syntax = "proto3";
package dubbo.mesh.v1alpha1;
option go_package = "github.com/apache/dubbo-kubernetes/api/mesh/v1alpha1";
import "api/mesh/options.proto";
import "api/mesh/v1alpha1/envoy_admin.proto";
message ZoneEgress {
option (dubbo.mesh.resource).name = "ZoneEgressResource";
option (dubbo.mesh.resource).type = "ZoneEgress";
option (dubbo.mesh.resource).package = "mesh";
option (dubbo.mesh.resource).dds.send_to_zone = true;
option (dubbo.mesh.resource).ws.name = "zoneegress";
option (dubbo.mesh.resource).ws.plural = "zoneegresses";
option (dubbo.mesh.resource).global = true;
option (dubbo.mesh.resource).dds.send_to_global = true;
option (dubbo.mesh.resource).allow_to_inspect = true;
option (dubbo.mesh.resource).scope_namespace = true;
// Zone field contains Zone name where egress is serving, field will be
// automatically set by Global Dubbo CP
string zone = 1;
message Networking {
// Address on which inbound listener will be exposed
string address = 1;
// Port of the inbound interface that will forward requests to the service.
uint32 port = 2;
// Admin contains configuration related to Envoy Admin API
EnvoyAdmin admin = 3;
}
// Networking defines the address and port of the Egress to listen on.
Networking networking = 2;
}