Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for WithComponentConfigVersion (0.31 sec)

  1. pkg/scheduler/scheduler.go

    	nominatingInfo *framework.NominatingInfo
    }
    
    // WithComponentConfigVersion sets the component config version to the
    // KubeSchedulerConfiguration version used. The string should be the full
    // scheme group/version of the external type we converted from (for example
    // "kubescheduler.config.k8s.io/v1")
    func WithComponentConfigVersion(apiVersion string) Option {
    	return func(o *schedulerOptions) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:20:55 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  2. cmd/kube-scheduler/app/server.go

    	// Create the scheduler.
    	sched, err := scheduler.New(ctx,
    		cc.Client,
    		cc.InformerFactory,
    		cc.DynInformerFactory,
    		recorderFactory,
    		scheduler.WithComponentConfigVersion(cc.ComponentConfig.TypeMeta.APIVersion),
    		scheduler.WithKubeConfig(cc.KubeConfig),
    		scheduler.WithProfiles(cc.ComponentConfig.Profiles...),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 19:11:24 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  3. pkg/scheduler/framework/runtime/framework.go

    // Option for the frameworkImpl.
    type Option func(*frameworkOptions)
    
    // WithComponentConfigVersion sets the component config version to the
    // KubeSchedulerConfiguration version used. The string should be the full
    // scheme group/version of the external type we converted from (for example
    // "kubescheduler.config.k8s.io/v1")
    func WithComponentConfigVersion(componentConfigVersion string) Option {
    	return func(o *frameworkOptions) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 09:07:27 UTC 2024
    - 60.9K bytes
    - Viewed (0)
Back to top