MCPcopy
hub / github.com/roboll/helmfile / Interface

Interface Interface

pkg/helmexec/helmexec.go:11–35  ·  view source on GitHub ↗

Interface for executing helm commands

Source from the content-addressed store, hash-verified

9
10// Interface for executing helm commands
11type Interface interface {
12 SetExtraArgs(args ...string)
13 SetHelmBinary(bin string)
14
15 AddRepo(name, repository, cafile, certfile, keyfile, username, password string, managed string, passCredentials string, skipTLSVerify string) error
16 UpdateRepo() error
17 RegistryLogin(name string, username string, password string) error
18 BuildDeps(name, chart string) error
19 UpdateDeps(chart string) error
20 SyncRelease(context HelmContext, name, chart string, flags ...string) error
21 DiffRelease(context HelmContext, name, chart string, suppressDiff bool, flags ...string) error
22 TemplateRelease(name, chart string, flags ...string) error
23 Fetch(chart string, flags ...string) error
24 ChartPull(chart string, flags ...string) error
25 ChartExport(chart string, path string, flags ...string) error
26 Lint(name, chart string, flags ...string) error
27 ReleaseStatus(context HelmContext, name string, flags ...string) error
28 DeleteRelease(context HelmContext, name string, flags ...string) error
29 TestRelease(context HelmContext, name string, flags ...string) error
30 List(context HelmContext, filter string, flags ...string) (string, error)
31 DecryptSecret(context HelmContext, name string, flags ...string) (string, error)
32 IsHelm3() bool
33 GetVersion() Version
34 IsVersionAtLeast(versionStr string) bool
35}
36
37type DependencyUpdater interface {
38 UpdateDeps(chart string) error

Callers 56

LintReleasesMethod · 0.65
DepsMethod · 0.65
ReposMethod · 0.65
applyMethod · 0.65
deleteMethod · 0.65
diffMethod · 0.65
lintMethod · 0.65
statusMethod · 0.65
Test_SetHelmBinaryFunction · 0.65
Test_execFunction · 0.65
Test_AddRepoFunction · 0.65
Test_LogLevelsFunction · 0.65

Implementers 4

Helmpkg/exectest/helm.go
noCallHelmExecpkg/app/mocks_test.go
mockHelmExecpkg/app/app_test.go
execerpkg/helmexec/exec.go

Calls

no outgoing calls

Tested by

no test coverage detected