Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
PreambleTemplate, _ = template.New("preambleTemplate").Parse(preambleTemplateContent)
DefinitionTemplate, _ = template.New("definitionTemplate").Funcs(genhelpers.BuildTemplateFuncMap(
genhelpers.FirstLetterLowercase,
genhelpers.FirstLetter,
genhelpers.SnakeCaseToCamel,
)).Parse(definitionTemplateContent)
BuildersTemplate, _ = template.New("buildersTemplate").Funcs(genhelpers.BuildTemplateFuncMap(
genhelpers.FirstLetterLowercase,
genhelpers.FirstLetter,
genhelpers.SnakeCaseToCamel,
)).Parse(buildersTemplateContent)
AllTemplates = []*template.Template{PreambleTemplate, DefinitionTemplate, BuildersTemplate}
)
Functions ¶
This section is empty.
Types ¶
type PreambleModel ¶
TODO [SNOW-1501905]: extract to commons?
type ResourceConfigBuilderModel ¶
type ResourceConfigBuilderModel struct { Name string Attributes []ResourceConfigBuilderAttributeModel PreambleModel }
func ModelFromResourceSchemaDetails ¶
func ModelFromResourceSchemaDetails(resourceSchemaDetails genhelpers.ResourceSchemaDetails) ResourceConfigBuilderModel
func (ResourceConfigBuilderModel) SomeFunc ¶
func (m ResourceConfigBuilderModel) SomeFunc()
Click to show internal directories.
Click to hide internal directories.