Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for WithProfiles (0.58 sec)

  1. pkg/scheduler/scheduler_test.go

    		wantErr       string
    		wantProfiles  []string
    		wantExtenders []string
    	}{
    		{
    			name: "valid out-of-tree registry",
    			opts: []Option{
    				WithFrameworkOutOfTreeRegistry(validRegistry),
    				WithProfiles(
    					schedulerapi.KubeSchedulerProfile{
    						SchedulerName: "default-scheduler",
    						Plugins: &schedulerapi.Plugins{
    							QueueSort: schedulerapi.PluginSet{Enabled: []schedulerapi.Plugin{{Name: "PrioritySort"}}},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 09:07:27 UTC 2024
    - 42K bytes
    - Viewed (0)
  2. pkg/scheduler/scheduler.go

    func WithKubeConfig(cfg *restclient.Config) Option {
    	return func(o *schedulerOptions) {
    		o.kubeConfig = cfg
    	}
    }
    
    // WithProfiles sets profiles for Scheduler. By default, there is one profile
    // with the name "default-scheduler".
    func WithProfiles(p ...schedulerapi.KubeSchedulerProfile) Option {
    	return func(o *schedulerOptions) {
    		o.profiles = p
    		o.applyDefaultProfile = false
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:20:55 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  3. cmd/kube-scheduler/app/server.go

    		cc.Client,
    		cc.InformerFactory,
    		cc.DynInformerFactory,
    		recorderFactory,
    		scheduler.WithComponentConfigVersion(cc.ComponentConfig.TypeMeta.APIVersion),
    		scheduler.WithKubeConfig(cc.KubeConfig),
    		scheduler.WithProfiles(cc.ComponentConfig.Profiles...),
    		scheduler.WithPercentageOfNodesToScore(cc.ComponentConfig.PercentageOfNodesToScore),
    		scheduler.WithFrameworkOutOfTreeRegistry(outOfTreeRegistry),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 19:11:24 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  4. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelBuilder.java

            List<Profile> interpolated = interpolateActivations(tmpModel.getProfiles(), profileActivationContext, problems);
            if (interpolated != tmpModel.getProfiles()) {
                tmpModel = tmpModel.withProfiles(interpolated);
            }
    
            // inject external profile into current model
            tmpModel = profileInjector.injectProfiles(tmpModel, activeExternalProfiles, request, problems);
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Jun 07 07:31:02 UTC 2024
    - 61.9K bytes
    - Viewed (0)
  5. maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java

                    interpolateActivations(tmpModel.getDelegate().getProfiles(), profileActivationContext, problems);
            if (interpolated != tmpModel.getDelegate().getProfiles()) {
                tmpModel.update(tmpModel.getDelegate().withProfiles(interpolated));
            }
    
            // inject external profile into current model
            tmpModel.update(profileInjector.injectProfiles(
                    tmpModel.getDelegate(),
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue May 21 09:54:32 UTC 2024
    - 82.9K bytes
    - Viewed (0)
  6. pkg/scheduler/schedule_one_test.go

    	defer cancel()
    
    	informerFactory := informers.NewSharedInformerFactory(client, 0)
    	sched, err := New(
    		ctx,
    		client,
    		informerFactory,
    		nil,
    		profile.NewRecorderFactory(broadcaster),
    		WithProfiles(
    			schedulerapi.KubeSchedulerProfile{SchedulerName: "match-node2",
    				Plugins: &schedulerapi.Plugins{
    					Filter:    schedulerapi.PluginSet{Enabled: []schedulerapi.Plugin{{Name: "FakeNodeSelector"}}},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:20:55 UTC 2024
    - 128.1K bytes
    - Viewed (0)
Back to top