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(ctx context.Context, placement *policyv1alpha1.Placement, bindingSpec *workv1alpha2.ResourceBindingSpec, 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.