Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 86 for LimitResponse (0.65 sec)

  1. pkg/apis/flowcontrol/v1beta1/conversion_test.go

    			in: &v1beta1.LimitedPriorityLevelConfiguration{
    				AssuredConcurrencyShares: 100,
    				LimitResponse: v1beta1.LimitResponse{
    					Type: v1beta1.LimitResponseTypeReject,
    				},
    			},
    			expected: &flowcontrol.LimitedPriorityLevelConfiguration{
    				NominalConcurrencyShares: 100,
    				LimitResponse: flowcontrol.LimitResponse{
    					Type: flowcontrol.LimitResponseTypeReject,
    				},
    			},
    		},
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Sep 26 19:34:10 UTC 2022
    - 3K bytes
    - Viewed (0)
  2. pkg/apis/flowcontrol/v1beta3/defaults_test.go

    					Type: flowcontrolv1beta3.PriorityLevelEnablementLimited,
    					Limited: &flowcontrolv1beta3.LimitedPriorityLevelConfiguration{
    						NominalConcurrencyShares: 5,
    						LimitResponse: flowcontrolv1beta3.LimitResponse{
    							Type: flowcontrolv1beta3.LimitResponseTypeReject,
    						},
    					},
    				},
    			},
    			expected: &flowcontrolv1beta3.PriorityLevelConfiguration{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 22:22:51 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  3. pkg/apis/flowcontrol/v1beta2/defaults_test.go

    					Type: flowcontrolv1beta2.PriorityLevelEnablementLimited,
    					Limited: &flowcontrolv1beta2.LimitedPriorityLevelConfiguration{
    						AssuredConcurrencyShares: 5,
    						LimitResponse: flowcontrolv1beta2.LimitResponse{
    							Type: flowcontrolv1beta2.LimitResponseTypeReject,
    						},
    					},
    				},
    			},
    			expected: &flowcontrolv1beta2.PriorityLevelConfiguration{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 14 00:47:58 UTC 2023
    - 3K bytes
    - Viewed (0)
  4. pkg/apis/flowcontrol/validation/validation_test.go

    					NominalConcurrencyShares: 100,
    					LimitResponse: flowcontrol.LimitResponse{
    						Type: flowcontrol.LimitResponseTypeQueue,
    					}}},
    		},
    		expectedErrors: field.ErrorList{field.Required(field.NewPath("spec").Child("limited").Child("limitResponse").Child("queuing"), "must not be empty if limited.limitResponse.type is Limited")},
    	}, {
    		name: "normal customized priority level should work",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 22:22:51 UTC 2023
    - 54.7K bytes
    - Viewed (0)
  5. pkg/apis/flowcontrol/v1/defaults_test.go

    					Type: flowcontrolv1.PriorityLevelEnablementLimited,
    					Limited: &flowcontrolv1.LimitedPriorityLevelConfiguration{
    						NominalConcurrencyShares: ptr.To(int32(5)),
    						LimitResponse: flowcontrolv1.LimitResponse{
    							Type: flowcontrolv1.LimitResponseTypeReject,
    						},
    					},
    				},
    			},
    			expected: &flowcontrolv1.PriorityLevelConfiguration{
    				Spec: flowcontrolv1.PriorityLevelConfigurationSpec{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 12:18:40 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  6. pkg/apis/flowcontrol/v1beta2/conversion_test.go

    			in: &v1beta2.LimitedPriorityLevelConfiguration{
    				AssuredConcurrencyShares: 100,
    				LimitResponse: v1beta2.LimitResponse{
    					Type: v1beta2.LimitResponseTypeReject,
    				},
    			},
    			expected: &flowcontrol.LimitedPriorityLevelConfiguration{
    				NominalConcurrencyShares: 100,
    				LimitResponse: flowcontrol.LimitResponse{
    					Type: flowcontrol.LimitResponseTypeReject,
    				},
    			},
    		},
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Sep 26 19:34:10 UTC 2022
    - 3K bytes
    - Viewed (0)
  7. pkg/apis/flowcontrol/v1beta3/conversion_test.go

    			},
    			Spec: v1beta3.PriorityLevelConfigurationSpec{
    				Type: v1beta3.PriorityLevelEnablementLimited,
    				Limited: &v1beta3.LimitedPriorityLevelConfiguration{
    					NominalConcurrencyShares: shares,
    					LimitResponse: v1beta3.LimitResponse{
    						Type: v1beta3.LimitResponseTypeReject,
    					},
    				},
    			},
    		}
    	}
    
    	outObjFn := func(shares int32, annotations map[string]string) *flowcontrol.PriorityLevelConfiguration {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 22:22:51 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/apis/flowcontrol/bootstrap/default.go

    			Limited: &flowcontrol.LimitedPriorityLevelConfiguration{
    				NominalConcurrencyShares: ptr.To(int32(5)),
    				LendablePercent:          ptr.To(int32(0)),
    				LimitResponse: flowcontrol.LimitResponse{
    					Type: flowcontrol.LimitResponseTypeReject,
    				},
    			},
    		})
    )
    
    // Mandatory FlowSchema objects
    var (
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 12:18:40 UTC 2023
    - 20.5K bytes
    - Viewed (0)
  9. pkg/apis/flowcontrol/v1beta3/zz_generated.conversion.go

    	}
    	if err := s.AddGeneratedConversionFunc((*v1beta3.LimitResponse)(nil), (*flowcontrol.LimitResponse)(nil), func(a, b interface{}, scope conversion.Scope) error {
    		return Convert_v1beta3_LimitResponse_To_flowcontrol_LimitResponse(a.(*v1beta3.LimitResponse), b.(*flowcontrol.LimitResponse), scope)
    	}); err != nil {
    		return err
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 12:18:41 UTC 2023
    - 53.1K bytes
    - Viewed (0)
  10. pkg/apis/flowcontrol/v1/zz_generated.conversion.go

    	}
    	if err := s.AddGeneratedConversionFunc((*v1.LimitResponse)(nil), (*flowcontrol.LimitResponse)(nil), func(a, b interface{}, scope conversion.Scope) error {
    		return Convert_v1_LimitResponse_To_flowcontrol_LimitResponse(a.(*v1.LimitResponse), b.(*flowcontrol.LimitResponse), scope)
    	}); err != nil {
    		return err
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 12:18:41 UTC 2023
    - 52.4K bytes
    - Viewed (0)
Back to top