Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChartRelease ¶
type Mode ¶
type Mode int
Mode is an enum type referring to the two types of releases supported by terra-helmfile.
type ResolutionType ¶
type ResolutionType int
const ( Local ResolutionType = iota // Indicates matching chart was found on local filesystem Remote // Indicates matching chart was found in Helm repo )
func (ResolutionType) IsLocal ¶
func (t ResolutionType) IsLocal() bool
func (ResolutionType) String ¶
func (t ResolutionType) String() string
type ResolvedChart ¶
type ResolvedChart interface { // Returns path where the resolved chart can be found on disk Path() string // Returns version of the resolved chart. Version() string // Returns a succinct description of where the chart was found. // If local, this will be path on disk relative to current working directory. (eg. "./charts/agora") // If repo, this will be the name of the Helm repo. (eg. "terra-helm") SourceDescription() string }
ResolvedChart represents the outcome of a successful resolution of a chart release.
func NewResolvedChart ¶
func NewResolvedChart(path string, chartVersion string, _type ResolutionType, release ChartRelease) ResolvedChart
type Resolver ¶
type Resolver interface { // If in "development" mode, download and unpack the published chart from the Helm repository. // If in "deployment" mode, run "helm dependency update" on the local working/source copy of the chart. // Under some conditions, "development" mode falls back to downloading published chart and vice versa. Resolve(chart ChartRelease) (ResolvedChart, error) }
Click to show internal directories.
Click to hide internal directories.