Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for FlowSchemaSpec (2.4 sec)

  1. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/format/formatting.go

    func FmtFlowSchemaSpec(fsSpec *flowcontrol.FlowSchemaSpec) string {
    	var buf bytes.Buffer
    	BufferFlowSchemaSpec(&buf, fsSpec)
    	return buf.String()
    }
    
    // BufferFlowSchemaSpec writes a golang source expression for the
    // given value to the given buffer
    func BufferFlowSchemaSpec(buf *bytes.Buffer, fsSpec *flowcontrol.FlowSchemaSpec) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 12:18:35 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  2. pkg/apis/flowcontrol/v1beta1/defaults.go

    	PriorityLevelConfigurationDefaultAssuredConcurrencyShares int32 = 30
    )
    
    // SetDefaults_FlowSchema sets default values for flow schema
    func SetDefaults_FlowSchemaSpec(spec *v1beta1.FlowSchemaSpec) {
    	if spec.MatchingPrecedence == 0 {
    		spec.MatchingPrecedence = FlowSchemaDefaultMatchingPrecedence
    	}
    }
    
    func SetDefaults_ExemptPriorityLevelConfiguration(eplc *v1beta1.ExemptPriorityLevelConfiguration) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 14 00:47:58 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  3. pkg/apis/flowcontrol/v1beta2/defaults.go

    	PriorityLevelConfigurationDefaultAssuredConcurrencyShares int32 = 30
    )
    
    // SetDefaults_FlowSchema sets default values for flow schema
    func SetDefaults_FlowSchemaSpec(spec *v1beta2.FlowSchemaSpec) {
    	if spec.MatchingPrecedence == 0 {
    		spec.MatchingPrecedence = FlowSchemaDefaultMatchingPrecedence
    	}
    }
    
    func SetDefaults_ExemptPriorityLevelConfiguration(eplc *v1beta2.ExemptPriorityLevelConfiguration) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 14 00:47:58 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  4. pkg/apis/flowcontrol/v1/defaults.go

    	PriorityLevelConfigurationDefaultNominalConcurrencyShares int32 = 30
    )
    
    // SetDefaults_FlowSchema sets default values for flow schema
    func SetDefaults_FlowSchemaSpec(spec *v1.FlowSchemaSpec) {
    	if spec.MatchingPrecedence == 0 {
    		spec.MatchingPrecedence = FlowSchemaDefaultMatchingPrecedence
    	}
    }
    
    func SetDefaults_ExemptPriorityLevelConfiguration(eplc *v1.ExemptPriorityLevelConfiguration) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 12:18:40 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  5. pkg/apis/flowcontrol/v1beta3/defaults.go

    	PriorityLevelConfigurationDefaultNominalConcurrencyShares int32 = 30
    )
    
    // SetDefaults_FlowSchema sets default values for flow schema
    func SetDefaults_FlowSchemaSpec(spec *v1beta3.FlowSchemaSpec) {
    	if spec.MatchingPrecedence == 0 {
    		spec.MatchingPrecedence = FlowSchemaDefaultMatchingPrecedence
    	}
    }
    
    // SetDefaults_PriorityLevelConfiguration sets the default values for a
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 22:22:51 UTC 2023
    - 3K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/apf_filter_test.go

    	username := "test-user"
    	fsName := "test-fs"
    	lendable := int32(0)
    	borrowingLimit := int32(0)
    	fsObj = &flowcontrol.FlowSchema{
    		ObjectMeta: metav1.ObjectMeta{
    			Name: fsName,
    		},
    		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
    - 5.6K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/borrowing_test.go

    				plName := fmt.Sprintf("test-pl%d", flow)
    				fsObjs[flow] = &flowcontrol.FlowSchema{
    					ObjectMeta: metav1.ObjectMeta{
    						Name: fmt.Sprintf("test-fs%d", flow),
    					},
    					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
    - 9K bytes
    - Viewed (0)
Back to top