Documentation ¶
Index ¶
- Constants
- Variables
- func AskForConfirmation(s string) bool
- func FormatAsJson(releases []*HelmRelease) error
- func FormatAsTable(releases []*HelmRelease) error
- type App
- func (a *App) Apply(c ApplyConfigProvider) error
- func (a *App) Delete(c DeleteConfigProvider) error
- func (a *App) DeprecatedSyncCharts(c DeprecatedChartsConfigProvider) error
- func (a *App) Deps(c DepsConfigProvider) error
- func (a *App) Destroy(c DestroyConfigProvider) error
- func (a *App) Diff(c DiffConfigProvider) error
- func (a *App) ForEachState(do func(*Run) (bool, []error), o ...LoadOption) error
- func (a *App) ForEachStateFiltered(do func(*Run) []error) error
- func (a *App) Lint(c LintConfigProvider) error
- func (a *App) ListReleases(c ListConfigProvider) error
- func (a *App) PrintState(c StateConfigProvider) error
- func (a *App) Repos(c ReposConfigProvider) error
- func (a *App) Status(c StatusesConfigProvider) error
- func (a *App) Sync(c SyncConfigProvider) error
- func (a *App) Template(c TemplateConfigProvider) error
- func (a *App) Test(c TestConfigProvider) error
- func (a *App) VisitDesiredStatesWithReleasesFiltered(fileOrDir string, converge func(*state.HelmState) []error, o ...LoadOption) error
- func (a *App) Wrap(converge func(*state.HelmState, helmexec.Interface) []error) func(st *state.HelmState, helm helmexec.Interface) (bool, []error)
- type ApplyConfigProvider
- type ConfigProvider
- type Context
- type DeleteConfigProvider
- type DeprecatedChartsConfigProvider
- type DepsConfigProvider
- type DestroyConfigProvider
- type DiffConfigProvider
- type Error
- type HelmRelease
- type LintConfigProvider
- type ListConfigProvider
- type LoadOption
- type LoadOpts
- type NoMatchingHelmfileError
- type Opts
- type RenderOpts
- type ReposConfigProvider
- type Run
- func (r *Run) DeprecatedSyncCharts(c DeprecatedChartsConfigProvider) []error
- func (r *Run) Deps(c DepsConfigProvider) []error
- func (r *Run) Diff(c DiffConfigProvider) (*string, bool, bool, []error)
- func (r *Run) Lint(c LintConfigProvider) []error
- func (r *Run) Repos(c ReposConfigProvider) []error
- func (r *Run) Status(c StatusesConfigProvider) []error
- func (r *Run) Test(c TestConfigProvider) []error
- type StateConfigProvider
- type StatusesConfigProvider
- type SyncConfigProvider
- type TemplateConfigProvider
- type TestConfigProvider
Constants ¶
View Source
const ( DefaultHelmfile = "helmfile.yaml" DeprecatedHelmfile = "charts.yaml" DefaultHelmfileDirectory = "helmfile.d" ExperimentalEnvVar = "HELMFILE_EXPERIMENTAL" // environment variable for experimental features, expecting "true" lower case ExperimentalSelectorExplicit = "explicit-selector-inheritance" // value to remove default selector inheritance to sub-helmfiles and use the explicit one )
View Source
const (
DefaultHelmBinary = state.DefaultHelmBinary
)
Variables ¶
Functions ¶
func AskForConfirmation ¶ added in v0.70.0
Copyright (c) 2017 Roland Singer [roland.singer@desertbit.com]
Shamelessly borrowed from @r0l1's awesome work that is available at https://gist.github.com/r0l1/3dcbb0c8f6cfe9c66ab8008f55f8f28b
func FormatAsJson ¶ added in v0.110.0
func FormatAsJson(releases []*HelmRelease) error
func FormatAsTable ¶ added in v0.110.0
func FormatAsTable(releases []*HelmRelease) error
Types ¶
type App ¶
type App struct { OverrideKubeContext string OverrideHelmBinary string Logger *zap.SugaredLogger Env string Namespace string Selectors []string Args string ValuesFiles []string Set map[string]interface{} FileOrDir string // contains filtered or unexported fields }
func New ¶ added in v0.70.0
func New(conf ConfigProvider) *App
func (*App) Apply ¶ added in v0.70.0
func (a *App) Apply(c ApplyConfigProvider) error
func (*App) Delete ¶ added in v0.70.0
func (a *App) Delete(c DeleteConfigProvider) error
func (*App) DeprecatedSyncCharts ¶ added in v0.70.0
func (a *App) DeprecatedSyncCharts(c DeprecatedChartsConfigProvider) error
func (*App) Deps ¶ added in v0.70.0
func (a *App) Deps(c DepsConfigProvider) error
func (*App) Destroy ¶ added in v0.70.0
func (a *App) Destroy(c DestroyConfigProvider) error
func (*App) Diff ¶ added in v0.70.0
func (a *App) Diff(c DiffConfigProvider) error
func (*App) ForEachState ¶ added in v0.70.0
func (*App) ForEachStateFiltered ¶ added in v0.90.6
func (*App) Lint ¶ added in v0.70.0
func (a *App) Lint(c LintConfigProvider) error
func (*App) ListReleases ¶ added in v0.82.0
func (a *App) ListReleases(c ListConfigProvider) error
func (*App) PrintState ¶ added in v0.82.0
func (a *App) PrintState(c StateConfigProvider) error
func (*App) Repos ¶ added in v0.70.0
func (a *App) Repos(c ReposConfigProvider) error
func (*App) Status ¶ added in v0.70.0
func (a *App) Status(c StatusesConfigProvider) error
func (*App) Sync ¶ added in v0.70.0
func (a *App) Sync(c SyncConfigProvider) error
func (*App) Template ¶ added in v0.70.0
func (a *App) Template(c TemplateConfigProvider) error
func (*App) Test ¶ added in v0.70.0
func (a *App) Test(c TestConfigProvider) error
func (*App) VisitDesiredStatesWithReleasesFiltered ¶
type ApplyConfigProvider ¶ added in v0.70.0
type ConfigProvider ¶ added in v0.70.0
type Context ¶
type Context struct {
// contains filtered or unexported fields
}
func NewContext ¶
func NewContext() Context
func (Context) SyncReposOnce ¶
type DeleteConfigProvider ¶ added in v0.70.0
type DeprecatedChartsConfigProvider ¶ added in v0.70.0
type DeprecatedChartsConfigProvider interface { Values() []string // contains filtered or unexported methods }
type DepsConfigProvider ¶ added in v0.70.0
type DestroyConfigProvider ¶ added in v0.70.0
type DestroyConfigProvider interface { Args() string // contains filtered or unexported methods }
type DiffConfigProvider ¶ added in v0.70.0
type Error ¶ added in v0.60.0
type Error struct { Errors []error // contains filtered or unexported fields }
type HelmRelease ¶ added in v0.110.0
type LintConfigProvider ¶ added in v0.70.0
type ListConfigProvider ¶ added in v0.110.0
type ListConfigProvider interface {
Output() string
}
type LoadOption ¶ added in v0.106.0
type LoadOption func(o *LoadOpts)
type LoadOpts ¶ added in v0.68.0
type NoMatchingHelmfileError ¶
type NoMatchingHelmfileError struct {
// contains filtered or unexported fields
}
func (*NoMatchingHelmfileError) Error ¶
func (e *NoMatchingHelmfileError) Error() string
type RenderOpts ¶ added in v0.68.0
type RenderOpts struct { }
type ReposConfigProvider ¶ added in v0.70.0
type ReposConfigProvider interface {
Args() string
}
type Run ¶ added in v0.70.0
type Run struct { ReleaseToChart map[string]string Ask func(string) bool // contains filtered or unexported fields }
func (*Run) DeprecatedSyncCharts ¶ added in v0.70.0
func (r *Run) DeprecatedSyncCharts(c DeprecatedChartsConfigProvider) []error
func (*Run) Deps ¶ added in v0.70.0
func (r *Run) Deps(c DepsConfigProvider) []error
func (*Run) Lint ¶ added in v0.70.0
func (r *Run) Lint(c LintConfigProvider) []error
func (*Run) Repos ¶ added in v0.70.0
func (r *Run) Repos(c ReposConfigProvider) []error
func (*Run) Status ¶ added in v0.70.0
func (r *Run) Status(c StatusesConfigProvider) []error
func (*Run) Test ¶ added in v0.70.0
func (r *Run) Test(c TestConfigProvider) []error
type StateConfigProvider ¶ added in v0.82.0
type StateConfigProvider interface { }
type StatusesConfigProvider ¶ added in v0.70.0
type StatusesConfigProvider interface { Args() string // contains filtered or unexported methods }
type SyncConfigProvider ¶ added in v0.70.0
type TemplateConfigProvider ¶ added in v0.70.0
type TestConfigProvider ¶ added in v0.70.0
Source Files ¶
Click to show internal directories.
Click to hide internal directories.