Documentation ¶
Index ¶
- Constants
- func GenerateGoFileContent(blockName, schema string, pkg Package) (string, error)
- func GenerateGoTestFileContent(blockName string, pkg Package) (string, error)
- func RefreshSchema(folder string) (version *version.Version, err error)
- func SaveDataSourceSchema(name, folder string, s *tfjson.Schema) error
- func SaveProviderSchema(folder string, s *tfjson.ProviderSchema) error
- func SaveResourceSchema(name, folder string, s *tfjson.Schema) error
- type Package
- type ProviderSchema
- type RegisterParameter
- type TemplateData
Constants ¶
View Source
const PackageData = "data"
View Source
const PackageResource = "resource"
Variables ¶
This section is empty.
Functions ¶
func GenerateGoFileContent ¶
func RefreshSchema ¶
func SaveProviderSchema ¶
func SaveProviderSchema(folder string, s *tfjson.ProviderSchema) error
Types ¶
type ProviderSchema ¶
type ProviderSchema struct { *tfjson.ProviderSchema Version *version.Version }
func ExtractModTmProviderSchema ¶
func ExtractModTmProviderSchema() (*ProviderSchema, error)
type RegisterParameter ¶
Click to show internal directories.
Click to hide internal directories.