type LocalPackageWriter … var _ … func (r LocalPackageWriter) Write(nodes []*yaml.RNode) error { … } func (r LocalPackageWriter) errorIfMissingRequiredAnnotation(nodes []*yaml.RNode) error { … } func (r LocalPackageWriter) indexByFilePath(nodes []*yaml.RNode) (map[string][]*yaml.RNode, error) { … }