MCPcopy Create free account
hub / github.com/aws-cloudformation/rain / RemoveSection

Method RemoveSection

cft/cft.go:175–177  ·  view source on GitHub ↗

RemoveSection removes a section node from the template

(section Section)

Source from the content-addressed store, hash-verified

173
174// RemoveSection removes a section node from the template
175func (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
180func (t Template) GetTypes() ([]string, error) {

Callers 2

processModulesSectionFunction · 0.80
processRainSectionFunction · 0.80

Calls 1

RemoveFromMapFunction · 0.92

Tested by

no test coverage detected