Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MatchTopologySelectorTerms ¶ added in v0.9.0
func MatchTopologySelectorTerms(topologySelectorTerms []corev1.TopologySelectorTerm, lbls labels.Set) bool
MatchTopologySelectorTerms checks whether given labels match topology selector terms in ORed; nil or empty term matches no objects; while empty term list matches all objects.
func New ¶ added in v0.6.0
func New(ctx *synccontext.RegisterContext) (syncer.Object, error)
func TopologySelectorRequirementsAsSelector ¶ added in v0.9.0
func TopologySelectorRequirementsAsSelector(tsm []corev1.TopologySelectorLabelRequirement) (labels.Selector, error)
TopologySelectorRequirementsAsSelector converts the []TopologySelectorLabelRequirement api type into a struct that implements labels.Selector.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.