Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for mirrorPercentage (0.17 sec)

  1. pilot/pkg/networking/core/route/route.go

    func MirrorPercent(in *networking.HTTPRoute) *core.RuntimeFractionalPercent {
    	switch {
    	case in.MirrorPercentage != nil:
    		if in.MirrorPercentage.GetValue() > 0 {
    			return &core.RuntimeFractionalPercent{
    				DefaultValue: translatePercentToFractionalPercent(in.MirrorPercentage),
    			}
    		}
    		// If zero percent is provided explicitly, we should not mirror.
    		return nil
    	// nolint: staticcheck
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 14:12:39 UTC 2024
    - 56.1K bytes
    - Viewed (0)
Back to top