File tree Expand file tree Collapse file tree 4 files changed +1079
-2
lines changed Expand file tree Collapse file tree 4 files changed +1079
-2
lines changed Original file line number Diff line number Diff line change @@ -145,7 +145,7 @@ depend: vendor binaries
145
145
# Generation Rules
146
146
# ####################
147
147
148
- generate : generate-broker-go generate-mesh-go generate-mixer-go generate-routing-go generate-rbac-go
148
+ generate : generate-broker-go generate-mesh-go generate-mixer-go generate-routing-go generate-rbac-go generate-authn-go
149
149
150
150
# ####################
151
151
# broker/...
@@ -301,6 +301,27 @@ clean-rbac-generated:
301
301
rm -f $(rbac_v1alpha1_pb_gos )
302
302
rm -f $(rbac_v1alpha1_pb_doc )
303
303
304
+
305
+ # ####################
306
+ # authentication/...
307
+ # ####################
308
+
309
+ authn_v1alpha1_path := authentication/v1alpha1
310
+ authn_v1alpha1_protos := $(shell find $(authn_v1alpha1_path ) -type f -name '* .proto' | sort)
311
+ authn_v1alpha1_pb_gos := $(authn_v1alpha1_protos:.proto=.pb.go )
312
+ authn_v1alpha1_pb_doc := $(authn_v1alpha1_path ) /istio.authentication.v1alpha1.pb.html
313
+
314
+ generate-authn-go : $(authn_v1alpha1_pb_gos ) $(authn_v1alpha1_pb_doc )
315
+
316
+ $(authn_v1alpha1_pb_gos ) $(authn_v1alpha1_pb_doc ) : $(authn_v1alpha1_protos ) | depend $(protoc_gen_go ) $(protoc_bin )
317
+ # # Generate authentication/v1alpha1/*.pb.go
318
+ $(protoc ) $(proto_path ) $(protoc_gen_go_plugin ) $(protoc_gen_docs_plugin )$(authn_v1alpha1_path ) $^
319
+
320
+ clean-authn-generated :
321
+ rm -f $(authn_v1alpha1_pb_gos )
322
+ rm -f $(authn_v1alpha1_pb_doc )
323
+
324
+
304
325
# ####################
305
326
# Cleanup
306
327
# ####################
@@ -309,4 +330,4 @@ clean:
309
330
rm -rf genbin
310
331
rm -rf vendor
311
332
312
- clean-generated : clean-broker-generated clean-mesh-generated clean-mixer-generated clean-routing-generated clean-rbac-generated
333
+ clean-generated : clean-broker-generated clean-mesh-generated clean-mixer-generated clean-routing-generated clean-rbac-generated clean-authn-generated
You can’t perform that action at this time.
0 commit comments