Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ComputeHealthCheckConfig ¶
func ComputeHealthCheckConfig(config *gwpav1alpha1.HealthCheckConfig, defaultConfig *gwpav1alpha1.HealthCheckConfig) *gwpav1alpha1.HealthCheckConfig
ComputeHealthCheckConfig computes the circuit breaking config based on the port config and default config
func GetHealthCheckConfigIfPortMatchesPolicy ¶
func GetHealthCheckConfigIfPortMatchesPolicy(port int32, healthCheckPolicy gwpav1alpha1.HealthCheckPolicy) *gwpav1alpha1.HealthCheckConfig
GetHealthCheckConfigIfPortMatchesPolicy returns true if the port matches the circuit breaking policy
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.