Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Templatedir embed.FS
View Source
var TplFuncMap = template.FuncMap{ "ToLower": strings.ToLower, "ToTitle": strings.Title, "ToCamel": strcase.ToCamel, "ToSnake": strcase.ToSnake, "TfName": helpers.TerraformResourceName, "ToString": helpers.ToString, "ToDelim": strcase.ToDelimited, "ToDelimTitle": helpers.ToDelimTitle, "PrefixedDescriptionString": helpers.PrefixedDescriptionString, "PrefixedLabelString": helpers.PrefixedLabelString, "SchemaItemFormatter": helpers.SchemaItemFormatter, "SchemaItemFormatterAttributes": helpers.SchemaItemFormatterAttributes, "SchemaItemFormatterSpecial": helpers.SchemaItemFormatterSpecial, }
Functions ¶
This section is empty.
Types ¶
type DataSourceCommand ¶
func (DataSourceCommand) Help ¶
func (c DataSourceCommand) Help() string
func (DataSourceCommand) Run ¶
func (c DataSourceCommand) Run(args []string) int
func (DataSourceCommand) Synopsis ¶
func (c DataSourceCommand) Synopsis() string
type DataSourceData ¶
type DataSourceData struct { Name string ProviderName string ServicePackage string Typed bool Config *helpers.Configuration }
func (*DataSourceData) ParseArgs ¶
func (d *DataSourceData) ParseArgs(args []string) (errors []error)
type DocumentCommand ¶
func (DocumentCommand) Help ¶
func (c DocumentCommand) Help() string
func (DocumentCommand) Run ¶
func (c DocumentCommand) Run(args []string) int
func (DocumentCommand) Synopsis ¶
func (c DocumentCommand) Synopsis() string
type DocumentData ¶
type DocumentData struct { Name string SnakeName string ProviderName string ProviderCanonicalName string ServicePackage string DocType string Resource helpers.Resource IDExample string Examples []string ResourceData string SchemaAPIURL string }
func (*DocumentData) ParseArgs ¶
func (d *DocumentData) ParseArgs(args []string) (errors []error)
type GenConfigCommand ¶
func (GenConfigCommand) Help ¶
func (c GenConfigCommand) Help() string
func (GenConfigCommand) Run ¶
func (c GenConfigCommand) Run(_ []string) int
func (GenConfigCommand) Synopsis ¶
func (c GenConfigCommand) Synopsis() string
type InitialiseCommand ¶
func (InitialiseCommand) Help ¶
func (InitialiseCommand) Help() string
func (InitialiseCommand) Run ¶
func (i InitialiseCommand) Run(args []string) int
func (InitialiseCommand) Synopsis ¶
func (InitialiseCommand) Synopsis() string
type ResourceCommand ¶
func (ResourceCommand) Help ¶
func (c ResourceCommand) Help() string
func (ResourceCommand) Run ¶
func (c ResourceCommand) Run(args []string) int
func (ResourceCommand) Synopsis ¶
func (c ResourceCommand) Synopsis() string
type ResourceData ¶
type ResourceData struct { HasUpdate bool Name string ProviderName string ServicePackage string Typed bool Config *helpers.Configuration }
func (*ResourceData) ParseArgs ¶
func (d *ResourceData) ParseArgs(args []string) (errors []error)
type ServicePackageCommand ¶
func (ServicePackageCommand) Help ¶
func (c ServicePackageCommand) Help() string
func (ServicePackageCommand) Run ¶
func (c ServicePackageCommand) Run(args []string) int
func (ServicePackageCommand) Synopsis ¶
func (c ServicePackageCommand) Synopsis() string
type ServicePackageData ¶
type ServicePackageData struct { ServicePackage string ProviderName string Typed bool Config *helpers.Configuration }
func (*ServicePackageData) ParseArgs ¶
func (d *ServicePackageData) ParseArgs(args []string) (errors []error)
Click to show internal directories.
Click to hide internal directories.