Documentation ¶
Index ¶
- Constants
- func New(ctx context.Context, _ runtime.Object, h framework.Handle) (framework.Plugin, error)
- type Plugin
- func (pl *Plugin) Name() string
- func (pl *Plugin) PreBind(ctx context.Context, state *framework.CycleState, p *v1.Pod, nodeName string) *framework.Status
- func (pl *Plugin) PreFilter(ctx context.Context, state *framework.CycleState, p *v1.Pod) (*framework.PreFilterResult, *framework.Status)
- func (pl *Plugin) PreFilterExtensions() framework.PreFilterExtensions
- func (pl *Plugin) Reserve(ctx context.Context, state *framework.CycleState, p *v1.Pod, nodeName string) *framework.Status
- func (pl *Plugin) Unreserve(ctx context.Context, state *framework.CycleState, p *v1.Pod, nodeName string)
Constants ¶
View Source
const Name = "candidate"
Name is the name of the plugin used in the plugin registry and configurations.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Plugin ¶
type Plugin struct {
// contains filtered or unexported fields
}
func (*Plugin) PreFilterExtensions ¶
func (pl *Plugin) PreFilterExtensions() framework.PreFilterExtensions
Click to show internal directories.
Click to hide internal directories.