Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for MirrorPercentByPolicy (0.18 sec)

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

    		return &core.RuntimeFractionalPercent{
    			DefaultValue: translateIntegerToFractionalPercent(100),
    		}
    	}
    }
    
    // MirrorPercentByPolicy computes the mirror percent to be used based on HTTPMirrorPolicy.
    func MirrorPercentByPolicy(mirror *networking.HTTPMirrorPolicy) *core.RuntimeFractionalPercent {
    	switch {
    	case mirror.Percentage != nil:
    		if mirror.Percentage.GetValue() > 0 {
    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