type Filter … var _ … var _ … // WithMutationTracker registers a callback which will be invoked each time a field is mutated func (f *Filter) WithMutationTracker(callback func(key, value, tag string, node *yaml.RNode)) { … } func (f Filter) Filter(nodes []*yaml.RNode) ([]*yaml.RNode, error) { … } func (f Filter) run(node *yaml.RNode) (*yaml.RNode, error) { … } func (f Filter) evaluateField(node *yaml.RNode) error { … }