1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00
Commit Graph

12 Commits

Author SHA1 Message Date
Jari Kolehmainen
5d6826771a serve react app via router
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-06-22 13:13:57 +03:00
Jari Kolehmainen
5f0581e194 load react app from filesystem
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-06-18 09:03:20 +03:00
Roman
1fa523c012 clean up / optimizations 2020-06-16 12:44:03 +03:00
Roman
606d1a9198 chore 2020-06-15 22:00:48 +03:00
Roman
d6258b38d0 random micro fixes & refactoring 2020-06-15 17:47:07 +03:00
Roman
81c2a75d73 revert base folder structure to src/* 2020-06-10 11:25:17 +03:00
Roman
aa0eca2dc4 project restructuring and initial refactoring 2020-06-09 15:14:40 +03:00
Jari Kolehmainen
5c1974f07b
Auto-detect prometheus installation (#343)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-05-06 18:55:49 +03:00
Alexis Deruelle
6412d73a5a
Fix port availability test (#333)
* Let OS allocate port number

Port availability might be tricky if some port is already in use on the
'all' interface '0.0.0.0'.

The proposed solution is to let the OS allocate the port for us using 0
as port specifier :

- first create a server instance to allocate a port number
- save port number
- close the server
- return the port number to the caller

This should be safe granted the OS doesn't reuse the port numbers on
consecutive port allocations.

see :
- about Node.js Net module : https://nodejs.org/docs/latest-v12.x/api/net.html#net_server_listen_port_host_backlog_callback
- about safety around reusing port number : https://unix.stackexchange.com/a/132524

Signed-off-by: Alexis Deruelle <alexis.deruelle@gmail.com>
2020-05-05 07:31:58 +03:00
Lauri Nevala
ac552087d5
Do not timeout watch requests (#273)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
2020-04-19 17:48:14 +03:00
Jari Kolehmainen
1aaa695cfe
Refactor dashboard server logic to electron main (#146)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-03-24 07:37:47 +02:00
Jari Kolehmainen
1d0815abd2
Lens app source code (#119)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-03-15 09:52:02 +02:00