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