Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 53 for FlowSchemaSpec (0.83 sec)

  1. staging/src/k8s.io/apiserver/pkg/apis/flowcontrol/bootstrap/default.go

    	}
    	return &flowcontrol.FlowSchema{
    		ObjectMeta: metav1.ObjectMeta{
    			Name: name,
    			Annotations: map[string]string{
    				flowcontrol.AutoUpdateAnnotationKey: "true",
    			},
    		},
    		Spec: flowcontrol.FlowSchemaSpec{
    			PriorityLevelConfiguration: flowcontrol.PriorityLevelConfigurationReference{
    				Name: plName,
    			},
    			MatchingPrecedence:  matchingPrecedence,
    			DistinguisherMethod: dm,
    			Rules:               rules},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 12:18:40 UTC 2023
    - 20.5K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/controller_test.go

    }
    
    func TestAPFControllerWithGracefulShutdown(t *testing.T) {
    	const plName = "test-ps"
    	fs := &flowcontrol.FlowSchema{
    		ObjectMeta: metav1.ObjectMeta{
    			Name: "test-fs",
    		},
    		Spec: flowcontrol.FlowSchemaSpec{
    			MatchingPrecedence: 100,
    			PriorityLevelConfiguration: flowcontrol.PriorityLevelConfigurationReference{
    				Name: plName,
    			},
    			DistinguisherMethod: &flowcontrol.FlowDistinguisherMethod{
    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. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/gen_test.go

    	fs := &flowcontrol.FlowSchema{
    		ObjectMeta: metav1.ObjectMeta{Name: name},
    		Spec:       flowcontrol.FlowSchemaSpec{}}
    	// 5% chance of zero rules, otherwise draw from 1--6 biased low
    	nRules := (1 + rng.Intn(3)) * (1 + rng.Intn(2)) * ((19 + rng.Intn(20)) / 20)
    	ftr := &fsTestingRecord{fs: fs,
    		wellFormed:                    true,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 12:18:40 UTC 2023
    - 24.8K bytes
    - Viewed (0)
  4. pkg/apis/flowcontrol/validation/validation.go

    	return ValidateFlowSchema(fs)
    }
    
    // ValidateFlowSchemaSpec validates the content of flow-schema's spec
    func ValidateFlowSchemaSpec(fsName string, spec *flowcontrol.FlowSchemaSpec, fldPath *field.Path) field.ErrorList {
    	var allErrs field.ErrorList
    	if spec.MatchingPrecedence <= 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 22:22:51 UTC 2023
    - 26.7K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/server/filters/priority-and-fairness_test.go

    	fs := &flowcontrol.FlowSchema{
    		ObjectMeta: metav1.ObjectMeta{
    			Name: fsName,
    			UID:  types.UID(fsName),
    		},
    		Spec: flowcontrol.FlowSchemaSpec{
    			MatchingPrecedence: 1,
    			PriorityLevelConfiguration: flowcontrol.PriorityLevelConfigurationReference{
    				Name: plName,
    			},
    			DistinguisherMethod: &flowcontrol.FlowDistinguisherMethod{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 12:18:40 UTC 2023
    - 52.6K bytes
    - Viewed (0)
  6. pkg/printers/internalversion/printers.go

    		{Name: "MatchingPrecedence", Type: "string", Description: flowcontrolv1.FlowSchemaSpec{}.SwaggerDoc()["matchingPrecedence"]},
    		{Name: "DistinguisherMethod", Type: "string", Description: flowcontrolv1.FlowSchemaSpec{}.SwaggerDoc()["distinguisherMethod"]},
    		{Name: "Age", Type: "string", Description: metav1.ObjectMeta{}.SwaggerDoc()["creationTimestamp"]},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 128.3K bytes
    - Viewed (0)
  7. pkg/printers/internalversion/printers_test.go

    		{
    			fs: flowcontrol.FlowSchema{
    				ObjectMeta: metav1.ObjectMeta{
    					Name:              "all-matcher",
    					CreationTimestamp: metav1.Time{Time: time.Now().Add(1.9e9)},
    				},
    				Spec: flowcontrol.FlowSchemaSpec{
    					PriorityLevelConfiguration: flowcontrol.PriorityLevelConfigurationReference{Name: "allee"},
    					MatchingPrecedence:         math.MaxInt32,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 218.6K bytes
    - Viewed (0)
  8. api/openapi-spec/v3/apis__flowcontrol.apiserver.k8s.io__v1beta3_openapi.json

                "kind": "FlowSchemaList",
                "version": "v1beta3"
              }
            ]
          },
          "io.k8s.api.flowcontrol.v1beta3.FlowSchemaSpec": {
            "description": "FlowSchemaSpec describes how the FlowSchema's specification looks like.",
            "properties": {
              "distinguisherMethod": {
                "allOf": [
                  {
    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

                "group": "flowcontrol.apiserver.k8s.io",
                "kind": "FlowSchemaList",
                "version": "v1"
              }
            ]
          },
          "io.k8s.api.flowcontrol.v1.FlowSchemaSpec": {
            "description": "FlowSchemaSpec describes how the FlowSchema's specification looks like.",
            "properties": {
              "distinguisherMethod": {
                "allOf": [
                  {
    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

    		"k8s.io/api/flowcontrol/v1.FlowSchemaList":                                                              schema_k8sio_api_flowcontrol_v1_FlowSchemaList(ref),
    		"k8s.io/api/flowcontrol/v1.FlowSchemaSpec":                                                              schema_k8sio_api_flowcontrol_v1_FlowSchemaSpec(ref),
    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