Documentation ¶
Index ¶
- Constants
- func New(_ *runtime.Unknown, h framework.FrameworkHandle) (framework.Plugin, error)
- type Plugin
- func (pl *Plugin) Name() string
- func (pl *Plugin) Permit(ctx context.Context, state *framework.CycleState, p *v1.Pod, nodeName string) (*framework.Status, time.Duration)
- func (pl *Plugin) PostBind(ctx context.Context, state *framework.CycleState, p *v1.Pod, nodeName string)
- func (pl *Plugin) PostFilter(ctx context.Context, state *framework.CycleState, pod *v1.Pod, ...) *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
- 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) PostFilter ¶
func (*Plugin) PreFilterExtensions ¶
func (pl *Plugin) PreFilterExtensions() framework.PreFilterExtensions
Click to show internal directories.
Click to hide internal directories.