provider_schema

package
v0.8.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 6, 2026 License: MPL-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const ModuleTemplate = `## %s

[📖 Documentation](<%s>) | [🔍 See Related Issues](<%s>) | [🐛 Raise Issue](<%s>)

---

%s
`

Variables

View Source
var (
	ResourceTemplate = `## %s

[📖 Documentation](<%s>) | [🔍 See Related Issues](<%s>) | [🐛 Raise Issue](<%s>)

---

%s
`
	AttributeTemplate = `## %s
**[%s] %s**

[📖 Documentation](<%s>) | [🔍 See Related Issues](<%s>) | [🐛 Raise Issue](<%s>)

---

%s

%s
`
)

Functions

func GenerateProviderSchema

func GenerateProviderSchema(providerPath, gitBranch string)

func GetAttributeContent

func GetAttributeContent(objName, path string, isDataSource bool) (string, *schema.SchemaAttribute, error)

func GetFinalTerraformObject

func GetFinalTerraformObject(objName string, isDataSource bool) *processors.TerraformObject

func GetFinalTerraformObjects added in v0.6.0

func GetFinalTerraformObjects() processors.TerraformObjects

func GetModuleAttributeContent added in v0.6.0

func GetModuleAttributeContent(resourceName, path string) (string, *schema.SchemaAttribute, error)

func GetModuleContent added in v0.6.0

func GetModuleContent(moduleName string) (string, error)

func GetObjectInfo

func GetObjectInfo(objName string, isDataSource bool) (*processors.TerraformObject, error)

func GetPossibleValuesForProperty

func GetPossibleValuesForProperty(objName, propertyName string, isDataSource bool) ([]string, error)

func GetPropertyDocContent

func GetPropertyDocContent(objName string, property *schema.SchemaAttribute, isDataSource bool) string

func GetPropertyInfo

func GetPropertyInfo(objName, propertyPath string, isDataSource bool) (*schema.SchemaAttribute, error)

func GetResourceContent

func GetResourceContent(objName string, isDataSource bool) (string, error)

func GetSnippet

func GetSnippet(objName string, isDataSource bool) (string, error)

func ListAllModules added in v0.6.0

func ListAllModules() []string

func ListAllResourcesAndDataSources

func ListAllResourcesAndDataSources() []*processors.TerraformObject

func ListDirectProperties

func ListDirectProperties(objName string, path string, isDataSource bool) ([]*schema.SchemaAttribute, error)
func NavigateToNestedBlock(objName, path string, isDataSource bool) (*schema.SchemaAttribute, error)

NavigateToNestedBlock navigates down a nested block path and returns the final block or property

Types

This section is empty.

Directories

Path Synopsis
azurerm
schema
Code generated by generate-provider-schema/run.sh; DO NOT EDIT.
Code generated by generate-provider-schema/run.sh; DO NOT EDIT.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL