// checkIfInstallable validates if a chart can be installed
//
// Application chart type is only installable
checkIfInstallable validates if a chart can be installed

Application chart type is only installable
// checkIfInstallable validates if a chart can be installed // // Application chart type is only installable
func checkIfInstallable(ch *chart.Chart) error {
	switch ch.Metadata.Type {
	case "", "application":
		return nil
	}
	return trace.Errorf("%s charts are not installable", ch.Metadata.Type)
}
func checkIfInstallable ( ch * chart . Chart ) error { switch ch . Metadata . Type { case " " , " " : return nil } return trace . Errorf ( " " , ch . Metadata . Type ) }
checkIfInstallable validates if a chart can be installed
checkIfInstallable validates if a chart can be installed