Documentation ¶
Index ¶
Constants ¶
View Source
const ( // Name is the name of the plugin used in the plugin registry and configurations. Name = names.NodeName // ErrReason returned when node name doesn't match. ErrReason = "node(s) didn't match the requested node name" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type NodeName ¶
type NodeName struct{}
NodeName is a plugin that checks if a pod spec node name matches the current node.
func (*NodeName) EventsToRegister ¶ added in v1.22.0
func (pl *NodeName) EventsToRegister() []framework.ClusterEventWithHint
EventsToRegister returns the possible events that may make a Pod failed by this plugin schedulable.
Click to show internal directories.
Click to hide internal directories.