graph

package
v0.40.0-test Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2023 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TerraformGraph

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

func GetParsedTerraformGraph

func GetParsedTerraformGraph(terragruntOptions *options.TerragruntOptions) (*TerraformGraph, error)

func Parse

func Parse(terraformGraphOutput string) (*TerraformGraph, error)

func (*TerraformGraph) Clone

func (graph *TerraformGraph) Clone() *TerraformGraph

func (*TerraformGraph) DoesAnythingDependOnLocal

func (graph *TerraformGraph) DoesAnythingDependOnLocal(toLocal string) (bool, error)

DoesAnythingDependOnLocal returns true if anything (any module, resource, data source, provider, etc) depends on the local variable toLocal.

func (*TerraformGraph) DoesAnythingDependOnProvider

func (graph *TerraformGraph) DoesAnythingDependOnProvider(toProvider string) (bool, error)

DoesAnythingDependOnProvider returns true if anything (any module, resource, data source, etc) depends on the provider toProvider.

func (*TerraformGraph) DoesAnythingDependOnVariable

func (graph *TerraformGraph) DoesAnythingDependOnVariable(toVariable string) (bool, error)

DoesAnythingDependOnLocal returns true if anything (any module, resource, data source, provider, etc) depends on the input variable toVariable.

func (*TerraformGraph) DoesModuleDependOnDataSource

func (graph *TerraformGraph) DoesModuleDependOnDataSource(fromModule string, toDataSourceType string, toDataSourceName string) (bool, error)

DoesModuleDependOnDataSource returns true if the module fromModule depends on the data source toDataSource, of type toDataSourceType, and false otherwise.

func (*TerraformGraph) DoesModuleDependOnModule

func (graph *TerraformGraph) DoesModuleDependOnModule(fromModule string, toModule string) (bool, error)

DoesModuleDependOnModule returns true if the module fromModule depends on the module toModule, and false otherwise.

func (*TerraformGraph) DoesModuleDependOnVariable

func (graph *TerraformGraph) DoesModuleDependOnVariable(fromModule string, toVariable string) (bool, error)

DoesModuleDependOnVariable returns true if the module fromModule depends on the input variable toVariable, and false otherwise.

func (*TerraformGraph) DoesOutputDependOnModule

func (graph *TerraformGraph) DoesOutputDependOnModule(fromOutput string, toModule string) (bool, error)

DoesOutputDependOnModule returns true if the output variable fromOutput depends on the module toModule, and false otherwise.

func (*TerraformGraph) DoesOutputDependOnVariable

func (graph *TerraformGraph) DoesOutputDependOnVariable(fromOutput string, toVariable string) (bool, error)

DoesOutputDependOnVariable returns true if the output variable fromOutput depends on the input variable toVariable, and false otherwise.

func (*TerraformGraph) RemoveDataSource

func (graph *TerraformGraph) RemoveDataSource(dataSourceType string, dataSourceName string) error

func (*TerraformGraph) RemoveLocal

func (graph *TerraformGraph) RemoveLocal(localName string) error

func (*TerraformGraph) RemoveModule

func (graph *TerraformGraph) RemoveModule(moduleName string) error

func (*TerraformGraph) RemoveOutput

func (graph *TerraformGraph) RemoveOutput(outputName string) error

func (*TerraformGraph) RemoveProvider

func (graph *TerraformGraph) RemoveProvider(providerName string) error

func (*TerraformGraph) RemoveResource

func (graph *TerraformGraph) RemoveResource(resourceType string, resourceName string) error

func (*TerraformGraph) RemoveVariable

func (graph *TerraformGraph) RemoveVariable(variableName string) error

Jump to

Keyboard shortcuts

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