MCPcopy Create free account
hub / github.com/devspace-sh/devspace / ensureHelmBinary

Method ensureHelmBinary

pkg/devspace/helm/generic/generic.go:91–99  ·  view source on GitHub ↗
(ctx context.Context)

Source from the content-addressed store, hash-verified

89}
90
91func (c *client) ensureHelmBinary(ctx context.Context) error {
92 if c.helmPath != "" {
93 return nil
94 }
95
96 var err error
97 c.helmPath, err = c.downloader.EnsureCommand(ctx)
98 return err
99}
100
101func ChartNameAndRepo(helmConfig *latest.HelmConfig) (string, string) {
102 chartName := strings.TrimSpace(helmConfig.Chart.Name)

Callers 1

ExecMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected