const ErrReasonFake …
type FalseFilterPlugin …
func (pl *FalseFilterPlugin) Name() string { … }
func (pl *FalseFilterPlugin) Filter(_ context.Context, _ *framework.CycleState, pod *v1.Pod, nodeInfo *framework.NodeInfo) *framework.Status { … }
func NewFalseFilterPlugin(_ context.Context, _ runtime.Object, _ framework.Handle) (framework.Plugin, error) { … }
type TrueFilterPlugin …
func (pl *TrueFilterPlugin) Name() string { … }
func (pl *TrueFilterPlugin) Filter(_ context.Context, _ *framework.CycleState, pod *v1.Pod, nodeInfo *framework.NodeInfo) *framework.Status { … }
func NewTrueFilterPlugin(_ context.Context, _ runtime.Object, _ framework.Handle) (framework.Plugin, error) { … }
type FakePreFilterAndFilterPlugin …
func (pl FakePreFilterAndFilterPlugin) Name() string { … }
type FakeFilterPlugin …
func (pl *FakeFilterPlugin) Name() string { … }
func (pl *FakeFilterPlugin) Filter(_ context.Context, _ *framework.CycleState, pod *v1.Pod, nodeInfo *framework.NodeInfo) *framework.Status { … }
func NewFakeFilterPlugin(failedNodeReturnCodeMap map[string]framework.Code) frameworkruntime.PluginFactory { … }
type MatchFilterPlugin …
func (pl *MatchFilterPlugin) Name() string { … }
func (pl *MatchFilterPlugin) Filter(_ context.Context, _ *framework.CycleState, pod *v1.Pod, nodeInfo *framework.NodeInfo) *framework.Status { … }
func NewMatchFilterPlugin(_ context.Context, _ runtime.Object, _ framework.Handle) (framework.Plugin, error) { … }
type FakePreFilterPlugin …
func (pl *FakePreFilterPlugin) Name() string { … }
func (pl *FakePreFilterPlugin) PreFilter(_ context.Context, _ *framework.CycleState, pod *v1.Pod) (*framework.PreFilterResult, *framework.Status) { … }
func (pl *FakePreFilterPlugin) PreFilterExtensions() framework.PreFilterExtensions { … }
func NewFakePreFilterPlugin(name string, result *framework.PreFilterResult, status *framework.Status) frameworkruntime.PluginFactory { … }
type FakeReservePlugin …
func (pl *FakeReservePlugin) Name() string { … }
func (pl *FakeReservePlugin) Reserve(_ context.Context, _ *framework.CycleState, _ *v1.Pod, _ string) *framework.Status { … }
func (pl *FakeReservePlugin) Unreserve(_ context.Context, _ *framework.CycleState, _ *v1.Pod, _ string) { … }
func NewFakeReservePlugin(status *framework.Status) frameworkruntime.PluginFactory { … }
type FakePreBindPlugin …
func (pl *FakePreBindPlugin) Name() string { … }
func (pl *FakePreBindPlugin) PreBind(_ context.Context, _ *framework.CycleState, _ *v1.Pod, _ string) *framework.Status { … }
func NewFakePreBindPlugin(status *framework.Status) frameworkruntime.PluginFactory { … }
type FakePermitPlugin …
func (pl *FakePermitPlugin) Name() string { … }
func (pl *FakePermitPlugin) Permit(_ context.Context, _ *framework.CycleState, _ *v1.Pod, _ string) (*framework.Status, time.Duration) { … }
func NewFakePermitPlugin(status *framework.Status, timeout time.Duration) frameworkruntime.PluginFactory { … }
type FakePreScoreAndScorePlugin …
func (pl *FakePreScoreAndScorePlugin) Name() string { … }
func (pl *FakePreScoreAndScorePlugin) Score(ctx context.Context, state *framework.CycleState, p *v1.Pod, nodeName string) (int64, *framework.Status) { … }
func (pl *FakePreScoreAndScorePlugin) ScoreExtensions() framework.ScoreExtensions { … }
func (pl *FakePreScoreAndScorePlugin) PreScore(ctx context.Context, state *framework.CycleState, pod *v1.Pod, nodes []*framework.NodeInfo) *framework.Status { … }
func NewFakePreScoreAndScorePlugin(name string, score int64, preScoreStatus, scoreStatus *framework.Status) frameworkruntime.PluginFactory { … }
func NewEqualPrioritizerPlugin() frameworkruntime.PluginFactory { … }