Documentation ¶
Index ¶
Constants ¶
View Source
const (
// Name is the name of the plugin used in the plugin registry and configurations.
Name = "TaintToleration"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type TaintToleration ¶
type TaintToleration struct{}
TaintToleration is a plugin that checks if a propagation policy tolerates a cluster's taints.
func (*TaintToleration) Filter ¶
func (p *TaintToleration) Filter( _ context.Context, bindingSpec *workv1alpha2.ResourceBindingSpec, _ *workv1alpha2.ResourceBindingStatus, cluster *clusterv1alpha1.Cluster, ) *framework.Result
Filter checks if the given tolerations in placement tolerate cluster's taints.
func (*TaintToleration) Name ¶
func (p *TaintToleration) Name() string
Name returns the plugin name.
Click to show internal directories.
Click to hide internal directories.