Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for mirrorPercentage (0.2 sec)

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

    			route: &networking.HTTPRoute{
    				Mirror:           &networking.Destination{},
    				MirrorPercentage: &networking.Percent{Value: 0.0},
    			},
    			want: nil,
    		},
    		{
    			name: "mirrorpercentage with actual percent",
    			route: &networking.HTTPRoute{
    				Mirror:           &networking.Destination{},
    				MirrorPercentage: &networking.Percent{Value: 50.0},
    			},
    			want: &core.RuntimeFractionalPercent{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat May 11 02:47:57 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  2. pkg/config/validation/virtualservice_test.go

    			MirrorPercentage: &networking.Percent{
    				Value: 101,
    			},
    			Route: []*networking.HTTPRouteDestination{{
    				Destination: &networking.Destination{Host: "foo.bar"},
    			}},
    			Match: []*networking.HTTPMatchRequest{nil},
    		}, valid: false},
    		{name: "valid mirror percentage", route: &networking.HTTPRoute{
    			MirrorPercentage: &networking.Percent{
    				Value: 1,
    			},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 15:33:55 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  3. pilot/pkg/model/virtualservice.go

    		delegate.Mirror = root.Mirror
    	}
    	// nolint: staticcheck
    	if delegate.MirrorPercent == nil {
    		delegate.MirrorPercent = root.MirrorPercent
    	}
    	if delegate.MirrorPercentage == nil {
    		delegate.MirrorPercentage = root.MirrorPercentage
    	}
    	if delegate.CorsPolicy == nil {
    		delegate.CorsPolicy = root.CorsPolicy
    	}
    	if delegate.Mirrors == nil {
    		delegate.Mirrors = root.Mirrors
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Mar 30 11:17:03 UTC 2024
    - 17.4K bytes
    - Viewed (0)
Back to top