You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7-3Lines changed: 7 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@
6
6
7
7
## Building the Data Plane API
8
8
9
-
In order to build the Data Plane API you need go 1.12 installed on your system with go modules support enabled, and execute the following steps:
9
+
In order to build the Data Plane API you need go 1.14 installed on your system with go modules support enabled, and execute the following steps:
10
10
11
11
1\. Clone dataplaneapi repository
12
12
@@ -71,6 +71,10 @@ HAProxy options:
71
71
-i, --show-system-info Show system info on info endpoint
72
72
-f= Path to the dataplane configuration file
73
73
--userlist-file= Path to the dataplaneapi userlist file. By default userlist is read from HAProxy conf. When specified userlist would be read from this file
74
+
--fid= Path to file that will dataplaneapi use to write its id (not a pid) that was given to him after joining a cluster
75
+
-p, --maps-dir= Path to maps directory (default: /etc/haproxy/maps)
76
+
--update-map-files Flag used for syncing map files with runtime maps values
77
+
--update-map-files-period= Elapsed time in seconds between two maps syncing operations (default: 10)
74
78
75
79
Logging options:
76
80
--log-to=[stdout|file] Log target, can be stdout or file (default: stdout)
@@ -96,7 +100,7 @@ You can test it by simply running:
96
100
Test it out with curl, note that you need user/pass combination setup in HAProxy userlist in haproxy configuration (in above example: /etc/haproxy/haproxy.cfg, userlist controller):
If you are using secure passwords, supported algorithms are: md5, sha-256 and sha-512.
@@ -105,7 +109,7 @@ If you are using secure passwords, supported algorithms are: md5, sha-256 and sh
105
109
106
110
For more docs how to use the Data Plane API check our [documentation](https://www.haproxy.com/documentation/hapee/1-9r1/configuration/dataplaneapi/)
107
111
108
-
Alternatively, dataplaneapi serves it's own interactive documentation relevant for the current build on the `/v1/docs` uri. Just point your browser to the host/port dataplane was started with (i.e. `http://localhost:5555/v1/docs`)
112
+
Alternatively, dataplaneapi serves it's own interactive documentation relevant for the current build on the `/v2/docs` uri. Just point your browser to the host/port dataplane was started with (i.e. `http://localhost:5555/v2/docs`)
0 commit comments