Matthieu MOREL
|
b81bad8711
|
use Go standard errors
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
|
2023-12-08 16:44:13 +01:00 |
Simon Pasquier
|
aea6204d58
|
cluster: fix panic when `tls_client_config` is empty
Closes #3403
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
|
2023-08-04 14:29:06 +02:00 |
Matthias Loibl
|
a6d10bd5bc
|
Update golangci-lint and fix complaints (#2853)
* Copy latest golangci-lint files from Prometheus
Signed-off-by: Matthias Loibl <mail@matthiasloibl.com>
* Use grafana/regexp over stdlib regexp
Signed-off-by: Matthias Loibl <mail@matthiasloibl.com>
* Fix typos in comments
Signed-off-by: Matthias Loibl <mail@matthiasloibl.com>
* Fix goimports complains in import sorting
Signed-off-by: Matthias Loibl <mail@matthiasloibl.com>
* gofumpt all Go files
Signed-off-by: Matthias Loibl <mail@matthiasloibl.com>
* Update naming to comply with revive linter
Signed-off-by: Matthias Loibl <mail@matthiasloibl.com>
* config: Fix error messages to be lower case
Signed-off-by: Matthias Loibl <mail@matthiasloibl.com>
* test/cli: Fix error messages to be lower case
Signed-off-by: Matthias Loibl <mail@matthiasloibl.com>
* .golangci.yaml: Remove obsolete space
Signed-off-by: Matthias Loibl <mail@matthiasloibl.com>
* config: Fix expected victorOps error
Signed-off-by: Matthias Loibl <mail@matthiasloibl.com>
* Use stdlib regexp
Signed-off-by: Matthias Loibl <mail@matthiasloibl.com>
* Clean up Go modules
Signed-off-by: Matthias Loibl <mail@matthiasloibl.com>
|
2022-03-25 17:59:51 +01:00 |
Dustin Hooten
|
ff85bec45b
|
Secure cluster traffic via mutual TLS (#2237)
* Add TLS option to gossip cluster
Co-authored-by: Sharad Gaur <sharadgaur@gmail.com>
Signed-off-by: Dustin Hooten <dustinhooten@gmail.com>
* generate new certs that expire in 100 years
Signed-off-by: Dustin Hooten <dustinhooten@gmail.com>
* Fix tls_connection attributes
Signed-off-by: Dustin Hooten <dustinhooten@gmail.com>
* Improve error message
Signed-off-by: Dustin Hooten <dustinhooten@gmail.com>
* Fix tls client config docs
Signed-off-by: Dustin Hooten <dustinhooten@gmail.com>
* Add capacity arg to message buffer
Signed-off-by: Dustin Hooten <dustinhooten@gmail.com>
* fix formatting
Signed-off-by: Dustin Hooten <dustinhooten@gmail.com>
* Update version; add version validation
Signed-off-by: Dustin Hooten <dustinhooten@gmail.com>
* use lru cache for connection pool
Signed-off-by: Dustin Hooten <dustinhooten@gmail.com>
* lock reading from the connection
Signed-off-by: Dustin Hooten <dustinhooten@gmail.com>
* when extracting net.Conn from tlsConn, lock and throw away wrapper
Signed-off-by: Dustin Hooten <dustinhooten@gmail.com>
* Add mutex to connection pool to protect cache
Signed-off-by: Dustin Hooten <dustinhooten@gmail.com>
* fix linting
Signed-off-by: Dustin Hooten <dustinhooten@gmail.com>
Co-authored-by: Sharad Gaur <sharadgaur@gmail.com>
|
2021-08-09 14:58:06 -06:00 |