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 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 { // 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.