Documentation ¶
Index ¶
- Constants
- func New(_ *runtime.Unknown, h framework.FrameworkHandle) (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.Status
- func (pl *Plugin) PreFilterExtensions() framework.PreFilterExtensions
- func (pl *Plugin) Reserve(ctx context.Context, state *framework.CycleState, p *v1.Pod, nodeName string) *framework.Status
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.