Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Generator ¶
Generator represents a pipeline for generating example manifests. Generates example manifests for Terraform resources under examples-generated.
func NewGenerator ¶
func NewGenerator(rootDir, modulePath, shortName string, configResources map[string]*config.Resource) *Generator
NewGenerator returns a configured Generator
func (*Generator) Generate ¶
Generate generates an example manifest for the specified Terraform resource.
func (*Generator) StoreExamples ¶
StoreExamples stores the generated example manifests under examples-generated in their respective API groups.
Click to show internal directories.
Click to hide internal directories.