helm

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2021 License: AGPL-3.0 Imports: 11 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{}, stack *project.Stack) (project.Unit, error)

New creates new unit driver factory.

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
	Source     string      `json:"source"`
	Kubeconfig string      `json:"kubeconfig"`
	ModType    string      `json:"type"`
	HelmOpts   interface{} `json:"helm_opts,omitempty"`
	Sets       interface{} `json:"sets,omitempty"`
	Values     []string    `json:"values,omitempty"`
}

func (*State) GetType

func (s *State) GetType() string

type StateDiff

type StateDiff struct {
	common.StateSpecDiffCommon
	Source   string      `json:"source"`
	HelmOpts interface{} `json:"helm_opts,omitempty"`
	Sets     interface{} `json:"sets,omitempty"`
	Values   []string    `json:"values,omitempty"`
}

type Unit added in v0.5.0

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

func (*Unit) Build added in v0.5.0

func (m *Unit) Build() error

Build generate all terraform code for project.

func (*Unit) GetDiffData added in v0.5.0

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

func (*Unit) GetState added in v0.5.0

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

func (*Unit) KindKey added in v0.5.0

func (m *Unit) KindKey() string

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 (m *Unit) ReadConfig(spec map[string]interface{}, stack *project.Stack) error

func (*Unit) ReplaceMarkers added in v0.5.0

func (m *Unit) ReplaceMarkers() error

ReplaceMarkers replace all templated markers with values.

func (*Unit) UpdateProjectRuntimeData added in v0.5.0

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

UpdateProjectRuntimeData update project runtime dataset, adds unit outputs.

Jump to

Keyboard shortcuts

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