├── .gitignore ├── .travis.yml ├── LICENSE ├── README.md ├── index.js ├── lib ├── composer.js ├── config.json ├── configuration.js ├── orchestrator.js └── parser.js ├── package.json └── test ├── config.sync.js ├── configuration.test.js ├── fixtures ├── README.md ├── another.cfg ├── broken.cfg ├── comment.cfg ├── default.cfg ├── default.json ├── empty.out ├── index.js ├── nobackend.out ├── noserver.out ├── orchestrator.cfg ├── showinfo.out ├── showsess.out ├── showstat-parsed.js ├── showstat.out ├── showstatall.out ├── weight-initial.out └── weight.out ├── hamock.js ├── haproxy.test.js └── orchestrator.test.js /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/observing/haproxy/HEAD/.gitignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/observing/haproxy/HEAD/.travis.yml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/observing/haproxy/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/observing/haproxy/HEAD/README.md -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/observing/haproxy/HEAD/index.js -------------------------------------------------------------------------------- /lib/composer.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/observing/haproxy/HEAD/lib/composer.js -------------------------------------------------------------------------------- /lib/config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/observing/haproxy/HEAD/lib/config.json -------------------------------------------------------------------------------- /lib/configuration.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/observing/haproxy/HEAD/lib/configuration.js -------------------------------------------------------------------------------- /lib/orchestrator.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/observing/haproxy/HEAD/lib/orchestrator.js -------------------------------------------------------------------------------- /lib/parser.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/observing/haproxy/HEAD/lib/parser.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/observing/haproxy/HEAD/package.json -------------------------------------------------------------------------------- /test/config.sync.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/observing/haproxy/HEAD/test/config.sync.js -------------------------------------------------------------------------------- /test/configuration.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/observing/haproxy/HEAD/test/configuration.test.js -------------------------------------------------------------------------------- /test/fixtures/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/observing/haproxy/HEAD/test/fixtures/README.md -------------------------------------------------------------------------------- /test/fixtures/another.cfg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/observing/haproxy/HEAD/test/fixtures/another.cfg -------------------------------------------------------------------------------- /test/fixtures/broken.cfg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/observing/haproxy/HEAD/test/fixtures/broken.cfg -------------------------------------------------------------------------------- /test/fixtures/comment.cfg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/observing/haproxy/HEAD/test/fixtures/comment.cfg -------------------------------------------------------------------------------- /test/fixtures/default.cfg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/observing/haproxy/HEAD/test/fixtures/default.cfg -------------------------------------------------------------------------------- /test/fixtures/default.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/observing/haproxy/HEAD/test/fixtures/default.json -------------------------------------------------------------------------------- /test/fixtures/empty.out: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /test/fixtures/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/observing/haproxy/HEAD/test/fixtures/index.js -------------------------------------------------------------------------------- /test/fixtures/nobackend.out: -------------------------------------------------------------------------------- 1 | No such backend. 2 | 3 | -------------------------------------------------------------------------------- /test/fixtures/noserver.out: -------------------------------------------------------------------------------- 1 | No such server. 2 | 3 | -------------------------------------------------------------------------------- /test/fixtures/orchestrator.cfg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/observing/haproxy/HEAD/test/fixtures/orchestrator.cfg -------------------------------------------------------------------------------- /test/fixtures/showinfo.out: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/observing/haproxy/HEAD/test/fixtures/showinfo.out -------------------------------------------------------------------------------- /test/fixtures/showsess.out: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/observing/haproxy/HEAD/test/fixtures/showsess.out -------------------------------------------------------------------------------- /test/fixtures/showstat-parsed.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/observing/haproxy/HEAD/test/fixtures/showstat-parsed.js -------------------------------------------------------------------------------- /test/fixtures/showstat.out: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/observing/haproxy/HEAD/test/fixtures/showstat.out -------------------------------------------------------------------------------- /test/fixtures/showstatall.out: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/observing/haproxy/HEAD/test/fixtures/showstatall.out -------------------------------------------------------------------------------- /test/fixtures/weight-initial.out: -------------------------------------------------------------------------------- 1 | 5 (initial 1) 2 | 3 | -------------------------------------------------------------------------------- /test/fixtures/weight.out: -------------------------------------------------------------------------------- 1 | 1 (initial 1) 2 | 3 | -------------------------------------------------------------------------------- /test/hamock.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/observing/haproxy/HEAD/test/hamock.js -------------------------------------------------------------------------------- /test/haproxy.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/observing/haproxy/HEAD/test/haproxy.test.js -------------------------------------------------------------------------------- /test/orchestrator.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/observing/haproxy/HEAD/test/orchestrator.test.js --------------------------------------------------------------------------------