hclcontext

package
v0.53.3 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Context

type Context struct {
	// contains filtered or unexported fields
}

func New

func New(blocks block.Blocks) *Context

func (*Context) GetDatasByType

func (c *Context) GetDatasByType(label string) block.Blocks

func (*Context) GetProviderBlocksByProvider

func (c *Context) GetProviderBlocksByProvider(providerName string, alias string) block.Blocks

func (*Context) GetReferencedBlock

func (c *Context) GetReferencedBlock(referringAttr block.Attribute) (block.Block, error)

func (*Context) GetReferencingResources

func (c *Context) GetReferencingResources(originalBlock block.Block, referencingLabel string, referencingAttributeName string) (block.Blocks, error)

func (*Context) GetResourcesByType

func (c *Context) GetResourcesByType(label string) block.Blocks

Jump to

Keyboard shortcuts

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