Versions in this module Expand all Collapse all v0 v0.5.3 Nov 16, 2021 v0.5.2 Nov 15, 2021 Changes in this version + type Factory struct + func (f *Factory) New(spec map[string]interface{}, stack *project.Stack) (project.Unit, error) + func (f *Factory) NewFromState(spec map[string]interface{}, modKey string, p *project.StateProject) (project.Unit, error) + type Unit struct + Inputs map[string]interface{} + OutputRaw string + StatePtr *Unit + UnitKind string + func NewEmptyUnit() Unit + func NewUnit(spec map[string]interface{}, stack *project.Stack) (*Unit, error) + func (m *Unit) GetDiffData() interface{} + func (m *Unit) GetState() interface{} + func (m *Unit) GetUnitDiff() UnitDiffSpec + func (m *Unit) LoadState(stateData interface{}, modKey string, p *project.StateProject) error + func (u *Unit) Apply() (err error) + func (u *Unit) Build() error + func (u *Unit) KindKey() string + func (u *Unit) ReadConfig(spec map[string]interface{}, stack *project.Stack) error + func (u *Unit) ReplaceMarkers() error + func (u *Unit) UpdateProjectRuntimeData(p *project.Project) error + type UnitDiffSpec struct + Inputs interface{} + OutputsConfig *string