import "k8s.io/kubernetes/plugin/pkg/admission/nodetaint"
const ( // PluginName is the name of the plugin. PluginName = "TaintNodesByCondition" )
Register registers a plugin
Plugin holds state for and implements the admission plugin.
NewPlugin creates a new NodeTaint admission plugin. This plugin identifies requests from nodes
func (p *Plugin) Admit(ctx context.Context, a admission.Attributes, o admission.ObjectInterfaces) error
Admit is the main function that checks node identity and adds taints as needed.
Package nodetaint imports 6 packages (graph) and is imported by 38 packages. Updated 2019-11-09. Refresh now. Tools for package owners.