Documentation ¶
Index ¶
- Variables
- func FindTfFiles(path string) (*[]string, error)
- func MarshalIndent(input interface{}, prefix, indent string) string
- func ParseAzapiResource(f hcl.File) (*[]AzapiResource, []error)
- func ParseAzureProvider(f hcl.File) (*[]AzureProvider, []error)
- func ParseHclFile(path string) (*hcl.File, []error)
- func ParseVariables(f hcl.File) (*map[string]Variable, []error)
- type AzapiResource
- type AzureProvider
- type Variable
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderBlockSchema = hcl.BodySchema{ Blocks: []hcl.BlockHeaderSchema{ { Type: "provider", LabelNames: []string{"type"}, }, }, }
View Source
var ResourceBlockSchema = hcl.BodySchema{ Blocks: []hcl.BlockHeaderSchema{ { Type: "resource", LabelNames: []string{"type", "name"}, }, }, }
View Source
var VarBlockSchema = hcl.BodySchema{ Blocks: []hcl.BlockHeaderSchema{ { Type: "variable", LabelNames: []string{"name"}, }, }, }
Functions ¶
func FindTfFiles ¶
func MarshalIndent ¶
func ParseAzapiResource ¶
func ParseAzapiResource(f hcl.File) (*[]AzapiResource, []error)
func ParseAzureProvider ¶
func ParseAzureProvider(f hcl.File) (*[]AzureProvider, []error)
func ParseHclFile ¶
func ParseVariables ¶
Types ¶
type AzapiResource ¶
type AzureProvider ¶
type AzureProvider struct { Type string Alias string SubscriptionId string TenantId string AuxiliaryTenantIds []string AuxiliaryTenantIdsString string ClientId string ClientCertificate string ClientCertificatePassword string ClientSecret string OidcRequestToken string OidcToken string FileName string LineNumber int }
could be azurerm or azapi
func (AzureProvider) Name ¶
func (p AzureProvider) Name() string
Click to show internal directories.
Click to hide internal directories.