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,
)).Parse(definitionTemplateContent)
SpecificChecksTemplate, _ = template.New("specificChecksTemplate").Funcs(genhelpers.BuildTemplateFuncMap(
genhelpers.FirstLetterLowercase,
genhelpers.FirstLetter,
genhelpers.SnakeCaseToCamel,
)).Parse(specificChecksTemplateContent)
AllTemplates = []*template.Template{PreambleTemplate, DefinitionTemplate, SpecificChecksTemplate}
)
Functions ¶
This section is empty.
Types ¶
type PreambleModel ¶
TODO [SNOW-1501905]: extract to commons?
type ResourceParametersAssertionsModel ¶
type ResourceParametersAssertionsModel struct { Name string Parameters []ResourceParameterAssertionModel PreambleModel }
func ModelFromSnowflakeObjectParameters ¶
func ModelFromSnowflakeObjectParameters(snowflakeObjectParameters objectparametersassertgen.SnowflakeObjectParameters) ResourceParametersAssertionsModel
func (ResourceParametersAssertionsModel) SomeFunc ¶
func (m ResourceParametersAssertionsModel) SomeFunc()
Click to show internal directories.
Click to hide internal directories.