Documentation
¶
Index ¶
- type Factory
- type State
- type StateDiff
- type Unit
- func (m *Unit) Apply() (err error)
- func (m *Unit) Build() error
- func (m *Unit) GetDiffData() interface{}
- func (m *Unit) GetState() interface{}
- func (m *Unit) KindKey() string
- func (m *Unit) LoadState(stateData interface{}, modKey string, p *project.StateProject) error
- func (m *Unit) ReadConfig(spec map[string]interface{}, stack *project.Stack) error
- func (m *Unit) ReplaceMarkers() error
- func (m *Unit) UpdateProjectRuntimeData(p *project.Project) error
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) NewFromState ¶
func (f *Factory) NewFromState(spec map[string]interface{}, modKey string, p *project.StateProject) (project.Unit, error)
NewFromState creates new unit from state data.
type State ¶
type State struct {
common.StateSpecCommon
ModType string `json:"type"`
Inputs interface{} `json:"inputs"`
ModOutputRaw string `json:"output"`
}
type StateDiff ¶
type StateDiff struct {
common.StateSpecDiffCommon
Inputs interface{} `json:"inputs"`
}
type Unit ¶ added in v0.5.0
func (*Unit) GetDiffData ¶ added in v0.5.0
func (m *Unit) GetDiffData() interface{}
func (*Unit) LoadState ¶ added in v0.5.0
func (m *Unit) LoadState(stateData interface{}, modKey string, p *project.StateProject) error
func (*Unit) ReadConfig ¶ added in v0.5.0
func (*Unit) ReplaceMarkers ¶ added in v0.5.0
ReplaceMarkers replace all templated markers with values.
Click to show internal directories.
Click to hide internal directories.