Documentation
¶
Index ¶
Constants ¶
View Source
const ( UniVariable = "UniVariable" MultipleVariables = "MultipleVariables" )
View Source
const AzApiResourceType = "azapi-resource-type"
Variables ¶
This section is empty.
Functions ¶
func GenerateResource ¶
func GenerateResource(generateCmd ResourceGenerateCommand) (string, error)
Types ¶
type Config ¶
type Config struct { Delimiter string Mode GenerateMode }
func (Config) GetDelimiter ¶
func (Config) GetMode ¶
func (c Config) GetMode() GenerateMode
type GenerateMode ¶
type GenerateMode string
type ResourceGenerateCommand ¶
type ResourceGenerateCommand interface { ResourceBlockType() string ResourceType() string Config() Config Schema() (*tfjson.Schema, error) }
func NewResourceGenerateCommand ¶
func NewResourceGenerateCommand(resourceType string, cfg Config, parameters map[string]string) ResourceGenerateCommand
Source Files
¶
Click to show internal directories.
Click to hide internal directories.