func (src *LabelSet) ApplyTransform(ops LabelOperations) bool {
	changed := false
	if ops != nil {
		for k, v := range ops["set"] {
			if src.Labels[k] != v {
				src.Labels[k] = v
				changed = true
			}
		}
		for k := range ops["remove"] {
			if _, exists := src.Labels[k]; exists {
				delete(src.Labels, k)
				changed = true
			}
		}
	}
	return changed
}
ApplyTransform applies a given set of label transformations to the current set of labels.
The method teturns true if changes have been made to the current set
package lang
import "reflect"
const LabelTarget = "target"
type LabelSet struct {
	Labels map[string]string
}
func NewLabelSet(labels map[string]string) *LabelSet {
	result := &LabelSet{Labels: make(map[string]string, len(labels))}
	result.AddLabels(labels)
	return result
}
func (src *LabelSet) AddLabels(addMap map[string]string) {
	for k, v := range addMap {
		src.Labels[k] = v
	}
}