File tree Expand file tree Collapse file tree 3 files changed +444
-0
lines changed
src/main/java/io/grpc/xds
src/main/proto/envoy/api/v2/auth Expand file tree Collapse file tree 3 files changed +444
-0
lines changed Original file line number Diff line number Diff line change
1
+ /*
2
+ * Copyright 2019 The gRPC Authors
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+
17
+ package io .grpc .xds ;
18
+
19
+ import io .envoyproxy .envoy .api .v2 .auth .SdsSecretConfig ;
20
+ import io .grpc .Attributes ;
21
+ import io .grpc .Grpc ;
22
+
23
+ /**
24
+ * Special attributes that are only useful to gRPC in the XDS context
25
+ */
26
+ final class XdsAttributes {
27
+ /**
28
+ * Attribute key for SdsSecretConfig of a subchannel.
29
+ *
30
+ */
31
+ @ Grpc .TransportAttr
32
+ public static final Attributes .Key <SdsSecretConfig > ATTR_SDS_CONFIG =
33
+ Attributes .Key .create ("io.grpc.xds.XdsAttributes.sdsSecretConfig" );
34
+
35
+ private XdsAttributes () {}
36
+ }
Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ GIT_BASE_DIR=envoy
24
24
SOURCE_PROTO_BASE_DIR=envoy/api
25
25
TARGET_PROTO_BASE_DIR=src/main/proto
26
26
FILES=(
27
+ envoy/api/v2/auth/cert.proto
27
28
envoy/api/v2/core/address.proto
28
29
envoy/api/v2/core/base.proto
29
30
envoy/api/v2/core/config_source.proto
You can’t perform that action at this time.
0 commit comments