Documentation ¶
Index ¶
- type Factory
- type Unit
- func (m *Unit) Build() error
- func (m *Unit) GetDiffData() interface{}
- func (m *Unit) GetState() interface{}
- func (m *Unit) GetUnitDiff() UnitDiffSpec
- 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
- type UnitDiffSpec
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 Unit ¶
type Unit struct { base.Unit StatePtr *Unit `yaml:"-" json:"-"` Source string `yaml:"-" json:"source"` HelmOpts map[string]interface{} `yaml:"-" json:"helm_opts,omitempty"` Sets map[string]interface{} `yaml:"-" json:"sets,omitempty"` Kubeconfig string `yaml:"-" json:"kubeconfig"` ValuesFilesList []string `yaml:"-" json:"values,omitempty"` ValuesYAML []map[string]interface{} `yaml:"-" json:"-"` UnitKind string `yaml:"-" json:"type"` }
func NewEmptyUnit ¶
func NewEmptyUnit() Unit
func (*Unit) GetDiffData ¶
func (m *Unit) GetDiffData() interface{}
func (*Unit) GetUnitDiff ¶
func (m *Unit) GetUnitDiff() UnitDiffSpec
func (*Unit) LoadState ¶
func (m *Unit) LoadState(stateData interface{}, modKey string, p *project.StateProject) error
func (*Unit) ReadConfig ¶
func (*Unit) ReplaceMarkers ¶
ReplaceMarkers replace all templated markers with values.
type UnitDiffSpec ¶
type UnitDiffSpec struct { base.UnitDiffSpec Source string `json:"source"` HelmOpts interface{} `json:"helm_opts,omitempty"` Sets interface{} `json:"sets,omitempty"` Values []string `json:"values,omitempty"` }
Click to show internal directories.
Click to hide internal directories.