go fmt
This commit is contained in:
@@ -17,10 +17,10 @@ type ProbeFunc func(ctx context.Context, cfg ProbeConfig) health.ProbeResult
|
||||
|
||||
// ProbeConfig holds all parameters needed to execute a single probe.
|
||||
type ProbeConfig struct {
|
||||
Target net.IP // backend address to probe
|
||||
Port uint16 // destination port (used by TCP and HTTP probers)
|
||||
ProbeSrc net.IP // source address to bind; nil lets the OS choose
|
||||
HealthCheckNetns string // network namespace name; sockets are created inside it
|
||||
Target net.IP // backend address to probe
|
||||
Port uint16 // destination port (used by TCP and HTTP probers)
|
||||
ProbeSrc net.IP // source address to bind; nil lets the OS choose
|
||||
HealthCheckNetns string // network namespace name; sockets are created inside it
|
||||
Timeout time.Duration
|
||||
HTTP *config.HTTPParams // non-nil for type http/https
|
||||
TCP *config.TCPParams // non-nil for type tcp
|
||||
|
||||
Reference in New Issue
Block a user