Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChartRelease ¶
ChartRelease the set of attributes needed to find and download a Helm chart
type Mode ¶
type Mode int
Mode is an enum type referring to the two types of releases supported by terra-helmfile.
type ResolvedChart ¶
type ResolvedChart interface { // Path where the resolved chart can be found on disk Path() string // Version of the resolved chart. Version() string // SourceDescription 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 NewLocallyResolvedChart ¶ added in v1.0.58
func NewLocallyResolvedChart(path string, chartVersion string) ResolvedChart
NewLocallyResolvedChart creates a ResolvedChart based from the local filesystem
func NewRemotelyResolvedChart ¶ added in v1.0.58
func NewRemotelyResolvedChart(path string, chartVersion string, chartRepo string) ResolvedChart
NewRemotelyResolvedChart creates a ResolvedChart based from a remote Helm repo
type Resolver ¶
type Resolver interface { // Resolve determines where a Helm chart should be sourced from. // If in "deploy" mode, downloads and unpacks the published chart from the Helm repository. // If in "development" mode, runs "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) }
Resolver determines where a Helm chart should be sourced from.
Click to show internal directories.
Click to hide internal directories.