(kind entities.Kind, app, name string, out io.Writer)
| 2158 | } |
| 2159 | |
| 2160 | func uninstallOneFromApp(kind entities.Kind, app, name string, out io.Writer) { |
| 2161 | path, removed, err := entities.UninstallFromApp(name, kind, app) |
| 2162 | if err != nil { |
| 2163 | fmt.Fprintf(out, " Error removing %s from %s: %v\n", name, app, err) |
| 2164 | return |
| 2165 | } |
| 2166 | if !removed { |
| 2167 | fmt.Fprintf(out, " %s not found in %s (%s)\n", name, app, path) |
| 2168 | return |
| 2169 | } |
| 2170 | fmt.Fprintf(out, " Removed %s from %s\n", name, app) |
| 2171 | } |
| 2172 | |
| 2173 | func uninstallAllFromApp(kind entities.Kind, app string, out io.Writer) { |
| 2174 | appPaths := entities.AppPathsFor(kind) |
no test coverage detected