Skip to content

Commit a02cfc3

Browse files
committed
Change license notes and add replace mesh api
1 parent daf2f9a commit a02cfc3

File tree

384 files changed

+7002
-6562
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

384 files changed

+7002
-6562
lines changed

api/mesh/v1alpha1/config.pb.go

Lines changed: 599 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

api/mesh/v1alpha1/config.proto

Lines changed: 93 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,93 @@
1+
//
2+
// Licensed to the Apache Software Foundation (ASF) under one or more
3+
// contributor license agreements. See the NOTICE file distributed with
4+
// this work for additional information regarding copyright ownership.
5+
// The ASF licenses this file to You under the Apache License, Version 2.0
6+
// (the "License"); you may not use this file except in compliance with
7+
// the License. You may obtain a copy of the License at
8+
//
9+
// http://www.apache.org/licenses/LICENSE-2.0
10+
//
11+
// Unless required by applicable law or agreed to in writing, software
12+
// distributed under the License is distributed on an "AS IS" BASIS,
13+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
// See the License for the specific language governing permissions and
15+
// limitations under the License.
16+
17+
syntax = "proto3";
18+
19+
package dubbo.mesh.v1alpha1;
20+
21+
import "google/protobuf/duration.proto";
22+
import "google/protobuf/struct.proto";
23+
import "google/protobuf/wrappers.proto";
24+
import "proxy.proto";
25+
26+
option go_package = "/api/mesh/v1alpha1";
27+
28+
// MeshGlobalConfig defines mesh-wide settings for the Dubbo service mesh.
29+
message MeshGlobalConfig {
30+
google.protobuf.Duration connect_timeout = 1;
31+
32+
ProxyConfig default_config = 2;
33+
34+
repeated ConfigSource config_sources = 3;
35+
36+
string trust_domain = 4;
37+
38+
repeated string trust_domain_aliases = 5;
39+
40+
message CertificateData {
41+
oneof certificate_data {
42+
string pem = 1;
43+
string spiffe_bundle_url = 2;
44+
}
45+
repeated string cert_signers = 3;
46+
47+
repeated string trust_domains = 4;
48+
}
49+
50+
repeated CertificateData ca_certificates = 6;
51+
52+
repeated string default_service_export_to = 7;
53+
54+
repeated string default_virtual_service_export_to = 8;
55+
56+
repeated string default_destination_rule_export_to = 9;
57+
58+
string root_namespace = 10;
59+
60+
google.protobuf.Duration dns_refresh_rate = 11;
61+
62+
repeated Certificate certificates = 12 [deprecated = true];
63+
}
64+
65+
message LabelSelector {
66+
// +optional
67+
map<string, string> matchLabels = 1;
68+
69+
// +optional
70+
repeated LabelSelectorRequirement matchExpressions = 2;
71+
}
72+
73+
message LabelSelectorRequirement {
74+
// +patchMergeKey=key
75+
// +patchStrategy=merge
76+
string key = 1;
77+
78+
string operator = 2;
79+
80+
// +optional
81+
repeated string values = 3;
82+
}
83+
84+
message ConfigSource {
85+
string address = 1;
86+
// TLS settings removed - not needed for proxyless mesh
87+
// dubbo.networking.v1alpha3.ClientTLSSettings tls_settings = 2;
88+
}
89+
90+
message Certificate {
91+
string secret_name = 1;
92+
repeated string dns_names = 2;
93+
}

api/mesh/v1alpha1/config_json.gen.go

Lines changed: 78 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)