Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ComputeCircuitBreakingConfig ¶
func ComputeCircuitBreakingConfig(config *gwpav1alpha1.CircuitBreakingConfig, defaultConfig *gwpav1alpha1.CircuitBreakingConfig) *gwpav1alpha1.CircuitBreakingConfig
ComputeCircuitBreakingConfig computes the circuit breaking config based on the config and default config
func GetCircuitBreakingConfigIfPortMatchesPolicy ¶
func GetCircuitBreakingConfigIfPortMatchesPolicy(port int32, circuitBreakingPolicy gwpav1alpha1.CircuitBreakingPolicy) *gwpav1alpha1.CircuitBreakingConfig
GetCircuitBreakingConfigIfPortMatchesPolicy 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.