(manifest sdkpluginstore.Manifest)
| 540 | } |
| 541 | |
| 542 | func pluginStatusFromManifest(manifest sdkpluginstore.Manifest) PluginInstallStatus { |
| 543 | return PluginInstallStatus{ |
| 544 | ID: strings.TrimSpace(manifest.ID), |
| 545 | Version: strings.TrimSpace(manifest.Version), |
| 546 | ReleaseTag: strings.TrimSpace(manifest.ReleaseTag), |
| 547 | Repository: strings.TrimSpace(manifest.Repository), |
| 548 | InstallType: manifest.InstallType(), |
| 549 | InstallStatus: pluginInstallStatusFailed, |
| 550 | } |
| 551 | } |
| 552 | |
| 553 | func storeManifestFromPluginConfig(id string, item config.PluginInstanceConfig) (sdkpluginstore.Manifest, bool, error) { |
| 554 | if item.Raw.Kind == 0 { |
no test coverage detected