Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 34 for prioritylevelconfiguration (0.43 sec)

  1. pkg/registry/flowcontrol/ensurer/prioritylevelconfiguration_test.go

    		return copy
    	}()
    
    	tests := []struct {
    		name      string
    		strategy  func() EnsureStrategy[*flowcontrolv1.PriorityLevelConfiguration]
    		current   *flowcontrolv1.PriorityLevelConfiguration
    		bootstrap *flowcontrolv1.PriorityLevelConfiguration
    		expected  *flowcontrolv1.PriorityLevelConfiguration
    	}{
    		// for suggested configurations
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 15 14:34:53 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/controller_test.go

    }
    
    func genPLs(rng *rand.Rand, trial string, oldPLNames sets.String, n int) (pls []*flowcontrol.PriorityLevelConfiguration, plMap map[string]*flowcontrol.PriorityLevelConfiguration, goodNames, badNames sets.String) {
    	pls = make([]*flowcontrol.PriorityLevelConfiguration, 0, n)
    	plMap = make(map[string]*flowcontrol.PriorityLevelConfiguration, n)
    	goodNames = sets.NewString()
    	badNames = sets.NewString(trial+"-nopl1", trial+"-nopl2")
    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/apf_controller.go

    			pl := obj.(*flowcontrol.PriorityLevelConfiguration)
    			klog.V(7).Infof("Triggered API priority and fairness config reloading in %s due to creation of PLC %s", cfgCtlr.name, pl.Name)
    			cfgCtlr.configQueue.Add(0)
    		},
    		UpdateFunc: func(oldObj, newObj interface{}) {
    			newPL := newObj.(*flowcontrol.PriorityLevelConfiguration)
    			oldPL := oldObj.(*flowcontrol.PriorityLevelConfiguration)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 48.8K bytes
    - Viewed (0)
  4. staging/src/k8s.io/api/flowcontrol/v1/zz_generated.deepcopy.go

    // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PriorityLevelConfiguration.
    func (in *PriorityLevelConfiguration) DeepCopy() *PriorityLevelConfiguration {
    	if in == nil {
    		return nil
    	}
    	out := new(PriorityLevelConfiguration)
    	in.DeepCopyInto(out)
    	return out
    }
    
    // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 12:18:41 UTC 2023
    - 17.3K bytes
    - Viewed (0)
  5. pkg/apis/flowcontrol/zz_generated.deepcopy.go

    // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PriorityLevelConfiguration.
    func (in *PriorityLevelConfiguration) DeepCopy() *PriorityLevelConfiguration {
    	if in == nil {
    		return nil
    	}
    	out := new(PriorityLevelConfiguration)
    	in.DeepCopyInto(out)
    	return out
    }
    
    // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 14 01:00:06 UTC 2023
    - 17.1K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/flowcontrol/v1beta2/zz_generated.deepcopy.go

    // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PriorityLevelConfiguration.
    func (in *PriorityLevelConfiguration) DeepCopy() *PriorityLevelConfiguration {
    	if in == nil {
    		return nil
    	}
    	out := new(PriorityLevelConfiguration)
    	in.DeepCopyInto(out)
    	return out
    }
    
    // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 14 01:00:06 UTC 2023
    - 17.1K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/flowcontrol/v1beta3/zz_generated.deepcopy.go

    // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PriorityLevelConfiguration.
    func (in *PriorityLevelConfiguration) DeepCopy() *PriorityLevelConfiguration {
    	if in == nil {
    		return nil
    	}
    	out := new(PriorityLevelConfiguration)
    	in.DeepCopyInto(out)
    	return out
    }
    
    // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 14 01:00:06 UTC 2023
    - 17.1K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/flowcontrol/v1beta1/zz_generated.deepcopy.go

    // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PriorityLevelConfiguration.
    func (in *PriorityLevelConfiguration) DeepCopy() *PriorityLevelConfiguration {
    	if in == nil {
    		return nil
    	}
    	out := new(PriorityLevelConfiguration)
    	in.DeepCopyInto(out)
    	return out
    }
    
    // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 14 01:00:06 UTC 2023
    - 17.1K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/apis/flowcontrol/bootstrap/default.go

    					[]string{flowcontrol.NonResourceAll}),
    			},
    		},
    	)
    )
    
    func newPriorityLevelConfiguration(name string, spec flowcontrol.PriorityLevelConfigurationSpec) *flowcontrol.PriorityLevelConfiguration {
    	return &flowcontrol.PriorityLevelConfiguration{
    		ObjectMeta: metav1.ObjectMeta{
    			Name: name,
    			Annotations: map[string]string{
    				flowcontrol.AutoUpdateAnnotationKey: "true",
    			},
    		},
    		Spec: spec,
    	}
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 12:18:40 UTC 2023
    - 20.5K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/flowcontrol/v1beta1/types.go

    type FlowSchemaSpec struct {
    	// `priorityLevelConfiguration` should reference a PriorityLevelConfiguration in the cluster. If the reference cannot
    	// be resolved, the FlowSchema will be ignored and marked as invalid in its status.
    	// Required.
    	PriorityLevelConfiguration PriorityLevelConfigurationReference `json:"priorityLevelConfiguration" protobuf:"bytes,1,opt,name=priorityLevelConfiguration"`
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Sep 17 09:27:57 UTC 2023
    - 31.2K bytes
    - Viewed (0)
Back to top