aboutsummaryrefslogtreecommitdiffstats
path: root/lib/xdsserver/apiv1.go
diff options
context:
space:
mode:
Diffstat (limited to 'lib/xdsserver/apiv1.go')
-rw-r--r--lib/xdsserver/apiv1.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/xdsserver/apiv1.go b/lib/xdsserver/apiv1.go
index e0bfa7f..e394d9e 100644
--- a/lib/xdsserver/apiv1.go
+++ b/lib/xdsserver/apiv1.go
@@ -78,5 +78,8 @@ func NewAPIV1(ctx *Context) *APIService {
s.apiRouter.POST("/targets/:id/terminals/:tid/signal", s.signalTgtTerm)
s.apiRouter.POST("/targets/:id/terminals/:tid/signal/:sig", s.signalTgtTerm)
+ s.apiRouter.GET("/updates", s.getXdsSrvUpdate)
+ s.apiRouter.POST("/updates", s.xdsSrvUpdate)
+
return s
}