Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 73 for distinguisherMethod (0.43 sec)

  1. pkg/printers/internalversion/printers.go

    		Object: runtime.RawExtension{Object: obj},
    	}
    
    	name := obj.Name
    	plName := obj.Spec.PriorityLevelConfiguration.Name
    	distinguisherMethod := "<none>"
    	if obj.Spec.DistinguisherMethod != nil {
    		distinguisherMethod = string(obj.Spec.DistinguisherMethod.Type)
    	}
    	badPLRef := "?"
    	for _, cond := range obj.Status.Conditions {
    		if cond.Type == flowcontrol.FlowSchemaConditionDangling {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 128.3K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/controller_test.go

    			Name: "test-fs",
    		},
    		Spec: flowcontrol.FlowSchemaSpec{
    			MatchingPrecedence: 100,
    			PriorityLevelConfiguration: flowcontrol.PriorityLevelConfigurationReference{
    				Name: plName,
    			},
    			DistinguisherMethod: &flowcontrol.FlowDistinguisherMethod{
    				Type: flowcontrol.FlowDistinguisherMethodByUserType,
    			},
    		},
    	}
    
    	pl := &flowcontrol.PriorityLevelConfiguration{
    		ObjectMeta: metav1.ObjectMeta{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 12:18:40 UTC 2023
    - 18.4K bytes
    - Viewed (0)
  3. pkg/apis/flowcontrol/validation/validation_test.go

    		MatchingPrecedence: flowcontrol.FlowSchemaMaxMatchingPrecedence,
    		PriorityLevelConfiguration: flowcontrol.PriorityLevelConfigurationReference{
    			Name: flowcontrol.PriorityLevelConfigurationNameCatchAll,
    		},
    		DistinguisherMethod: &flowcontrol.FlowDistinguisherMethod{Type: flowcontrol.FlowDistinguisherMethodByUserType},
    		Rules: []flowcontrol.PolicyRulesWithSubjects{{
    			Subjects: []flowcontrol.Subject{{
    				Kind:  flowcontrol.SubjectKindGroup,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 22:22:51 UTC 2023
    - 54.7K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/gen_test.go

    		Status: dangleStatus}}
    	fs.Spec.MatchingPrecedence = rng.Int31n(9997) + 2
    	if rng.Float32() < 0.8 {
    		fdmt := flowcontrol.FlowDistinguisherMethodType(pickSetString(rng, flowDistinguisherMethodTypes))
    		fs.Spec.DistinguisherMethod = &flowcontrol.FlowDistinguisherMethod{Type: fdmt}
    	}
    	fs.Spec.Rules = []flowcontrol.PolicyRulesWithSubjects{}
    	everyResourceMatcher := -1
    	if ftr.matchesAllResourceRequests {
    		if mayMatchClusterScope {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 12:18:40 UTC 2023
    - 24.8K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/apf_controller.go

    			numQueues = plState.pl.Spec.Limited.LimitResponse.Queuing.Queues
    		}
    		if numQueues > 1 {
    			flowDistinguisher = computeFlowDistinguisher(rd, selectedFlowSchema.Spec.DistinguisherMethod)
    			hashValue = hashFlowID(selectedFlowSchema.Name, flowDistinguisher)
    		}
    	}
    
    	noteFn(selectedFlowSchema, plState.pl, flowDistinguisher)
    	workEstimate := workEstimator()
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 48.8K bytes
    - Viewed (0)
  6. pkg/printers/internalversion/printers_test.go

    				},
    				Spec: flowcontrol.FlowSchemaSpec{
    					PriorityLevelConfiguration: flowcontrol.PriorityLevelConfigurationReference{Name: "allee"},
    					MatchingPrecedence:         math.MaxInt32,
    					DistinguisherMethod:        &flowcontrol.FlowDistinguisherMethod{Type: flowcontrol.FlowDistinguisherMethodByUserType},
    					Rules: []flowcontrol.PolicyRulesWithSubjects{{
    						Subjects: []flowcontrol.Subject{{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 218.6K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/server/filters/priority-and-fairness_test.go

    		},
    		Spec: flowcontrol.FlowSchemaSpec{
    			MatchingPrecedence: 1,
    			PriorityLevelConfiguration: flowcontrol.PriorityLevelConfigurationReference{
    				Name: plName,
    			},
    			DistinguisherMethod: &flowcontrol.FlowDistinguisherMethod{
    				Type: flowcontrol.FlowDistinguisherMethodByUserType,
    			},
    			Rules: []flowcontrol.PolicyRulesWithSubjects{
    				{
    					Subjects: []flowcontrol.Subject{
    						{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 12:18:40 UTC 2023
    - 52.6K bytes
    - Viewed (0)
  8. api/openapi-spec/v3/apis__flowcontrol.apiserver.k8s.io__v1beta3_openapi.json

            "properties": {
              "distinguisherMethod": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/io.k8s.api.flowcontrol.v1beta3.FlowDistinguisherMethod"
                  }
                ],
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 04:18:56 UTC 2024
    - 232.7K bytes
    - Viewed (0)
  9. api/openapi-spec/v3/apis__flowcontrol.apiserver.k8s.io__v1_openapi.json

            "properties": {
              "distinguisherMethod": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/io.k8s.api.flowcontrol.v1.FlowDistinguisherMethod"
                  }
                ],
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 04:18:56 UTC 2024
    - 231.7K bytes
    - Viewed (0)
  10. pkg/generated/openapi/zz_generated.openapi.go

    							Default:     0,
    							Type:        []string{"integer"},
    							Format:      "int32",
    						},
    					},
    					"distinguisherMethod": {
    						SchemaProps: spec.SchemaProps{
    							Description: "`distinguisherMethod` defines how to compute the flow distinguisher for requests that match this schema. `nil` specifies that the distinguisher is disabled and thus will always be the empty string.",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 18:37:07 UTC 2024
    - 3M bytes
    - Viewed (0)
Back to top