Documentation ¶
Index ¶
- func ParseAccountModule(body *hclwrite.Body, permissionSetNames *map[string]string) (*schema.AccountModule, error)
- func ParseAivenState(state *schema.TerraformState) (*map[string]schema.AivenProducerModule, *map[string]schema.AivenConsumerModule, ...)
- func ParseAivenStateBytes(bytes *[]byte) (*map[string]schema.AivenProducerModule, *map[string]schema.AivenConsumerModule, ...)
- func ParseAivenStateFile(file string) (*map[string]schema.AivenProducerModule, *map[string]schema.AivenConsumerModule, ...)
- func ParseBlockType(block *hclwrite.Block) (*schema.BlockMetaData, error)
- func ParseCallerIdentity(bytes []byte) (*schema.CallerIdentity, error)
- func ParseDirs(fileName string) (*[]string, error)
- func ParseFile(fileName string) *hclwrite.Body
- func ParseImports(fileName string) (*[]schema.Import, error)
- func ParsePermissionSetModule(body *hclwrite.Body, policyDocuments *map[string]*schema.PolicyDocument) (*schema.PermissionSetModule, error)
- func ParsePolicyDocumentBlock(bytes []byte) (*schema.PolicyDocument, error)
- func ParseTfState(file string) (*map[string][]schema.TfImport, error)
- func WriterTokens(nativeTokens hclsyntax.Tokens) hclwrite.Tokens
- type Attributes
- type ExpressionParser
- type ModuleType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseAccountModule ¶
func ParseAivenState ¶
func ParseAivenState(state *schema.TerraformState) (*map[string]schema.AivenProducerModule, *map[string]schema.AivenConsumerModule, error)
func ParseAivenStateBytes ¶
func ParseAivenStateBytes(bytes *[]byte) (*map[string]schema.AivenProducerModule, *map[string]schema.AivenConsumerModule, error)
func ParseAivenStateFile ¶
func ParseAivenStateFile(file string) (*map[string]schema.AivenProducerModule, *map[string]schema.AivenConsumerModule, error)
func ParseBlockType ¶
func ParseBlockType(block *hclwrite.Block) (*schema.BlockMetaData, error)
func ParseCallerIdentity ¶
func ParseCallerIdentity(bytes []byte) (*schema.CallerIdentity, error)
func ParsePermissionSetModule ¶
func ParsePermissionSetModule(body *hclwrite.Body, policyDocuments *map[string]*schema.PolicyDocument) (*schema.PermissionSetModule, error)
func ParsePolicyDocumentBlock ¶
func ParsePolicyDocumentBlock(bytes []byte) (*schema.PolicyDocument, error)
Types ¶
type ExpressionParser ¶
type ExpressionParser struct {
Context *hcl.EvalContext
}
func (*ExpressionParser) ParseArrayExpr ¶
func (p *ExpressionParser) ParseArrayExpr(name string, bytes []byte) ([]string, error)
func (*ExpressionParser) ParseObjectExpr ¶
type ModuleType ¶
type ModuleType int
const ( Unknown ModuleType = 0 AivenProducer ModuleType = 1 AivenConsumer ModuleType = 2 )
Click to show internal directories.
Click to hide internal directories.