RemoveSection removes a section node from the template
(section Section)
| 173 | |
| 174 | // RemoveSection removes a section node from the template |
| 175 | func (t Template) RemoveSection(section Section) error { |
| 176 | return node.RemoveFromMap(t.Node.Content[0], string(section)) |
| 177 | } |
| 178 | |
| 179 | // GetTypes returns all unique type names for resources in the template |
| 180 | func (t Template) GetTypes() ([]string, error) { |
no test coverage detected