NewClient creates a new helm v3 Client
(log log.Logger)
| 25 | |
| 26 | // NewClient creates a new helm v3 Client |
| 27 | func NewClient(log log.Logger) (types.Client, error) { |
| 28 | c := &client{} |
| 29 | c.genericHelm = generic.NewGenericClient(commands.NewHelmV3Command(), log) |
| 30 | return c, nil |
| 31 | } |
| 32 | |
| 33 | func (c *client) DownloadChart(ctx devspacecontext.Context, helmConfig *latest.HelmConfig) (string, error) { |
| 34 | chartName, err := dependencyutil.DownloadDependency(ctx.Context(), ctx.WorkingDir(), helmConfig.Chart.Source, ctx.Log()) |
no test coverage detected