MCPcopy
hub / github.com/helm/helm / runShow

Function runShow

pkg/cmd/show.go:214–226  ·  view source on GitHub ↗
(args []string, client *action.Show)

Source from the content-addressed store, hash-verified

212}
213
214func runShow(args []string, client *action.Show) (string, error) {
215 slog.Debug("original chart version", "version", client.Version)
216 if client.Version == "" && client.Devel {
217 slog.Debug("setting version to >0.0.0-0")
218 client.Version = ">0.0.0-0"
219 }
220
221 cp, err := client.LocateChart(args[0], settings)
222 if err != nil {
223 return "", err
224 }
225 return client.Run(cp)
226}
227
228func addRegistryClient(out io.Writer, client *action.Show) error {
229 registryClient, err := newRegistryClient(out, client.CertFile, client.KeyFile, client.CaFile,

Callers 1

newShowCmdFunction · 0.85

Calls 2

LocateChartMethod · 0.80
RunMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…