tfmodule

package
v0.4.10 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2021 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Factory

type Factory struct {
}

Factory factory for s3 backends.

func (*Factory) New

func (f *Factory) New(spec map[string]interface{}, infra *project.Infrastructure) (project.Module, error)

New creates new module driver factory.

func (*Factory) NewFromState

func (f *Factory) NewFromState(spec map[string]interface{}, modKey string, p *project.StateProject) (project.Module, error)

NewFromState creates new module from state data.

type Module added in v0.4.5

type Module struct {
	common.Module
	// contains filtered or unexported fields
}

func (*Module) Apply added in v0.4.5

func (m *Module) Apply() (err error)

func (*Module) Build added in v0.4.5

func (m *Module) Build() error

CreateCodeDir generate all terraform code for project.

func (*Module) GetDiffData added in v0.4.5

func (m *Module) GetDiffData() interface{}

func (*Module) GetState added in v0.4.5

func (m *Module) GetState() interface{}

func (*Module) KindKey added in v0.4.5

func (m *Module) KindKey() string

func (*Module) LoadState added in v0.4.5

func (m *Module) LoadState(stateData interface{}, modKey string, p *project.StateProject) error

func (*Module) ReadConfig added in v0.4.5

func (m *Module) ReadConfig(spec map[string]interface{}, infra *project.Infrastructure) error

func (*Module) ReplaceMarkers added in v0.4.5

func (m *Module) ReplaceMarkers() error

ReplaceMarkers replace all templated markers with values.

func (*Module) UpdateProjectRuntimeData added in v0.4.5

func (m *Module) UpdateProjectRuntimeData(p *project.Project) error

UpdateProjectRuntimeData update project runtime dataset, adds printer module outputs.

type State

type State struct {
	common.StateSpecCommon
	ModType      string      `json:"type"`
	Inputs       interface{} `json:"inputs"`
	ModOutputRaw string      `json:"output"`
}

func (*State) GetType

func (s *State) GetType() string

type StateDiff

type StateDiff struct {
	common.StateSpecDiffCommon
	Inputs interface{} `json:"inputs"`
}

Jump to

Keyboard shortcuts

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