terraform

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2024 License: AGPL-3.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseLogChanges

func ParseLogChanges(pipelineName, message string) (*model.PipelineChanges, error)

func UnmarshalTerraformFile

func UnmarshalTerraformFile(fileName string, fileContent []byte) (*hclwrite.File, error)

Types

type Terraform

type Terraform interface {
	GetTerraformProvider(step model.Step, moduleVersions map[string]model.ModuleVersion, sourceVersions map[string]*version.Version) ([]byte, map[string]model.Set[string], error)
	AddModule(prefix string, body *hclwrite.Body, step model.Step, module model.Module, moduleVersion model.ModuleVersion) error
}

func NewTerraform

func NewTerraform(providerType model.ProviderType, configSources []model.ConfigSource, sources map[string]*model.Source, github github.Github) Terraform

Jump to

Keyboard shortcuts

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