Code Review
/
src
/
xds
/
xds-agent.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Add LowCollector & rename Supervisor to Monitoring
[src/xds/xds-agent.git]
/
lib
/
xdsconfig
/
configfile.go
diff --git
a/lib/xdsconfig/configfile.go
b/lib/xdsconfig/configfile.go
index
7ddb010
..
85e26bc
100644
(file)
--- a/
lib/xdsconfig/configfile.go
+++ b/
lib/xdsconfig/configfile.go
@@
-1,5
+1,5
@@
/*
/*
- * Copyright (C) 2017-201
8
"IoT.bzh"
+ * Copyright (C) 2017-201
9
"IoT.bzh"
* Author Sebastien Douheret <sebastien@iot.bzh>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* Author Sebastien Douheret <sebastien@iot.bzh>
*
* Licensed under the Apache License, Version 2.0 (the "License");
@@
-43,13
+43,19
@@
type XDSServerConf struct {
APIPartialURL string `json:"-"`
}
APIPartialURL string `json:"-"`
}
-type XDSBinderConf struct {
+type XDSMonitoringConf struct {
+ URL string `json:"url"`
+ ConnRetry int `json:"connRetry"`
+}
+
+type XDSLowCollectorConf struct {
URL string `json:"url"`
ConnRetry int `json:"connRetry"`
}
type ProfileConfT struct {
URL string `json:"url"`
ConnRetry int `json:"connRetry"`
}
type ProfileConfT struct {
- XDSBinder XDSBinderConf `json:"xdsBinder"`
+ XDSMonitoring XDSMonitoringConf `json:"xdsMonitoring"`
+ XDSLowCollector XDSLowCollectorConf `json:"xdsLowCollector"`
}
type FileConfig struct {
}
type FileConfig struct {