Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 93 for NominalConcurrencyShares (0.34 sec)

  1. pkg/apis/flowcontrol/v1beta2/conversion.go

    		return err
    	}
    
    	out.NominalConcurrencyShares = in.AssuredConcurrencyShares
    	return nil
    }
    
    // LimitedPriorityLevelConfiguration.AssuredConcurrencyShares has been
    // renamed to NominalConcurrencyShares in v1beta3.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Sep 26 19:34:10 UTC 2022
    - 1.8K bytes
    - Viewed (0)
  2. pkg/apis/flowcontrol/v1/defaults.go

    	if eplc.NominalConcurrencyShares == nil {
    		eplc.NominalConcurrencyShares = new(int32)
    		*eplc.NominalConcurrencyShares = 0
    	}
    	if eplc.LendablePercent == nil {
    		eplc.LendablePercent = new(int32)
    		*eplc.LendablePercent = 0
    	}
    }
    
    func SetDefaults_LimitedPriorityLevelConfiguration(lplc *v1.LimitedPriorityLevelConfiguration) {
    	if lplc.NominalConcurrencyShares == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 12:18:40 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  3. pkg/apis/flowcontrol/v1beta1/conversion_test.go

    				AssuredConcurrencyShares: 100,
    				LimitResponse: v1beta1.LimitResponse{
    					Type: v1beta1.LimitResponseTypeReject,
    				},
    			},
    			expected: &flowcontrol.LimitedPriorityLevelConfiguration{
    				NominalConcurrencyShares: 100,
    				LimitResponse: flowcontrol.LimitResponse{
    					Type: flowcontrol.LimitResponseTypeReject,
    				},
    			},
    		},
    	}
    
    	for _, test := range tests {
    		t.Run(test.name, func(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Sep 26 19:34:10 UTC 2022
    - 3K bytes
    - Viewed (0)
  4. pkg/apis/flowcontrol/v1beta3/conversion.go

    	}
    
    	// during internal -> v1beta3 conversion:
    	//  - add the roundtrip annotation for the 'NominalConcurrencyShares' field,
    	//      IIF the 'NominalConcurrencyShares' field has a value of zero.
    	//  - make sure we don't mutate the source (internal) object's annotations
    	if limited := in.Spec.Limited; limited != nil && limited.NominalConcurrencyShares == 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 22:22:51 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  5. pkg/apis/flowcontrol/fuzzer/fuzzer.go

    			if obj.NominalConcurrencyShares == 0 {
    				obj.NominalConcurrencyShares = int32(1)
    			}
    			if obj.LendablePercent == nil {
    				obj.LendablePercent = ptr.To(int32(0))
    			}
    		},
    		func(obj *flowcontrol.ExemptPriorityLevelConfiguration, c fuzz.Continue) {
    			c.FuzzNoCustom(obj) // fuzz self without calling this function again
    			if obj.NominalConcurrencyShares == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 12:18:40 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/testdata/HEAD/flowcontrol.apiserver.k8s.io.v1.PriorityLevelConfiguration.yaml

      selfLink: selfLinkValue
      uid: uidValue
    spec:
      exempt:
        lendablePercent: 2
        nominalConcurrencyShares: 1
      limited:
        borrowingLimitPercent: 4
        lendablePercent: 3
        limitResponse:
          queuing:
            handSize: 2
            queueLengthLimit: 3
            queues: 1
          type: typeValue
        nominalConcurrencyShares: 1
      type: typeValue
    status:
      conditions:
      - lastTransitionTime: "2003-01-01T01:01:01Z"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 12:18:41 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/testdata/v1.30.0/flowcontrol.apiserver.k8s.io.v1beta3.PriorityLevelConfiguration.json

        "type": "typeValue",
        "limited": {
          "nominalConcurrencyShares": 1,
          "limitResponse": {
            "type": "typeValue",
            "queuing": {
              "queues": 1,
              "handSize": 2,
              "queueLengthLimit": 3
            }
          },
          "lendablePercent": 3,
          "borrowingLimitPercent": 4
        },
        "exempt": {
          "nominalConcurrencyShares": 1,
          "lendablePercent": 2
        }
      },
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/testdata/v1.29.0/flowcontrol.apiserver.k8s.io.v1.PriorityLevelConfiguration.yaml

      selfLink: selfLinkValue
      uid: uidValue
    spec:
      exempt:
        lendablePercent: 2
        nominalConcurrencyShares: 1
      limited:
        borrowingLimitPercent: 4
        lendablePercent: 3
        limitResponse:
          queuing:
            handSize: 2
            queueLengthLimit: 3
            queues: 1
          type: typeValue
        nominalConcurrencyShares: 1
      type: typeValue
    status:
      conditions:
      - lastTransitionTime: "2003-01-01T01:01:01Z"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 04:12:07 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/testdata/v1.29.0/flowcontrol.apiserver.k8s.io.v1beta3.PriorityLevelConfiguration.json

        "type": "typeValue",
        "limited": {
          "nominalConcurrencyShares": 1,
          "limitResponse": {
            "type": "typeValue",
            "queuing": {
              "queues": 1,
              "handSize": 2,
              "queueLengthLimit": 3
            }
          },
          "lendablePercent": 3,
          "borrowingLimitPercent": 4
        },
        "exempt": {
          "nominalConcurrencyShares": 1,
          "lendablePercent": 2
        }
      },
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 04:12:07 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  10. pkg/apis/flowcontrol/v1beta2/defaults.go

    	}
    }
    
    func SetDefaults_ExemptPriorityLevelConfiguration(eplc *v1beta2.ExemptPriorityLevelConfiguration) {
    	if eplc.NominalConcurrencyShares == nil {
    		eplc.NominalConcurrencyShares = new(int32)
    		*eplc.NominalConcurrencyShares = 0
    	}
    	if eplc.LendablePercent == nil {
    		eplc.LendablePercent = new(int32)
    		*eplc.LendablePercent = 0
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 14 00:47:58 UTC 2023
    - 2.3K bytes
    - Viewed (0)
Back to top