kubernetes/pkg/scheduler/framework/plugins/examples/prebind/prebind.go

type StatelessPreBindExample

var _

const Name

// Name returns name of the plugin. It is used in logs, etc.
func (sr StatelessPreBindExample) Name() string {}

// PreBind is the functions invoked by the framework at "prebind" extension point.
func (sr StatelessPreBindExample) PreBind(ctx context.Context, state *framework.CycleState, pod *v1.Pod, nodeName string) *framework.Status {}

// New initializes a new plugin and returns it.
func New(_ context.Context, _ *runtime.Unknown, _ framework.Handle) (framework.Plugin, error) {}