|
|
|
@ -260,12 +260,12 @@ func (r *repoSearchWriter) encodeByFormat(out io.Writer, format output.Format) e
|
|
|
|
return output.EncodeJSON(out, chartList)
|
|
|
|
return output.EncodeJSON(out, chartList)
|
|
|
|
case output.YAML:
|
|
|
|
case output.YAML:
|
|
|
|
return output.EncodeYAML(out, chartList)
|
|
|
|
return output.EncodeYAML(out, chartList)
|
|
|
|
}
|
|
|
|
default:
|
|
|
|
|
|
|
|
|
|
|
|
// Because this is a non-exported function and only called internally by
|
|
|
|
// Because this is a non-exported function and only called internally by
|
|
|
|
// WriteJSON and WriteYAML, we shouldn't get invalid types
|
|
|
|
// WriteJSON and WriteYAML, we shouldn't get invalid types
|
|
|
|
return nil
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// Provides the list of charts that are part of the specified repo, and that starts with 'prefix'.
|
|
|
|
// Provides the list of charts that are part of the specified repo, and that starts with 'prefix'.
|
|
|
|
func compListChartsOfRepo(repoName string, prefix string) []string {
|
|
|
|
func compListChartsOfRepo(repoName string, prefix string) []string {
|
|
|
|
|