Documentation ¶
Index ¶
Constants ¶
View Source
const ( // Name is the name of the plugin used in the plugin registry and configurations. Name = "NodeName" // ErrReason returned when node name doesn't match. ErrReason = "node(s) didn't match the requested hostname" )
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.
Click to show internal directories.
Click to hide internal directories.