Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for bindPlugins (0.18 sec)

  1. pkg/scheduler/framework/runtime/framework.go

    	}()
    	if len(f.bindPlugins) == 0 {
    		return framework.NewStatus(framework.Skip, "")
    	}
    	logger := klog.FromContext(ctx)
    	verboseLogs := logger.V(4).Enabled()
    	if verboseLogs {
    		logger = klog.LoggerWithName(logger, "Bind")
    	}
    	for _, pl := range f.bindPlugins {
    		ctx := ctx
    		if verboseLogs {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 09:07:27 UTC 2024
    - 60.9K bytes
    - Viewed (0)
  2. pkg/scheduler/framework/plugins/defaultbinder/default_binder.go

    const Name = names.DefaultBinder
    
    // DefaultBinder binds pods to nodes using a k8s client.
    type DefaultBinder struct {
    	handle framework.Handle
    }
    
    var _ framework.BindPlugin = &DefaultBinder{}
    
    // New creates a DefaultBinder.
    func New(_ context.Context, _ runtime.Object, handle framework.Handle) (framework.Plugin, error) {
    	return &DefaultBinder{handle: handle}, nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 20 09:49:54 UTC 2023
    - 2K bytes
    - Viewed (0)
  3. pkg/scheduler/framework/runtime/framework_test.go

    	return false
    }
    
    var _ framework.BindPlugin = &TestBindPlugin{}
    
    func newBindPlugin(_ context.Context, _ runtime.Object, _ framework.Handle) (framework.Plugin, error) {
    	return &TestBindPlugin{}, nil
    }
    
    // TestBindPlugin is a no-op implementation for Bind extension point.
    type TestBindPlugin struct{}
    
    func (t TestBindPlugin) Name() string {
    	return bindPlugin
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 09:07:27 UTC 2024
    - 103K bytes
    - Viewed (0)
  4. pkg/scheduler/framework/interface.go

    	Permit(ctx context.Context, state *CycleState, p *v1.Pod, nodeName string) (*Status, time.Duration)
    }
    
    // BindPlugin is an interface that must be implemented by "Bind" plugins. Bind
    // plugins are used to bind a pod to a Node.
    type BindPlugin interface {
    	Plugin
    	// Bind plugins will not be called until all pre-bind plugins have completed. Each
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 15:52:16 UTC 2024
    - 35.4K bytes
    - Viewed (0)
  5. pkg/scheduler/scheduler_test.go

    func (pl *fakeQueueSortPlugin) Name() string {
    	return queueSort
    }
    
    func (pl *fakeQueueSortPlugin) Less(_, _ *framework.QueuedPodInfo) bool {
    	return false
    }
    
    var _ framework.BindPlugin = &fakebindPlugin{}
    
    // fakebindPlugin is a no-op implementation for Bind extension point.
    type fakebindPlugin struct{}
    
    func (t *fakebindPlugin) Name() string {
    	return fakeBind
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 09:07:27 UTC 2024
    - 42K bytes
    - Viewed (0)
Back to top