Install installs an item from the metadata index into one target app. The resource content is fetched from its source repository at install time so the installed file carries the real manifest, not an empty placeholder.
(ctx context.Context, kind, installKey, targetApp string)
| 316 | // resource content is fetched from its source repository at install time so the |
| 317 | // installed file carries the real manifest, not an empty placeholder. |
| 318 | func (svc *Service) Install(ctx context.Context, kind, installKey, targetApp string) error { |
| 319 | return svc.InstallToTargets(ctx, kind, installKey, []string{targetApp}) |
| 320 | } |
| 321 | |
| 322 | // InstallInstructionToTargets installs an instruction item into multiple target |
| 323 | // agents at the given install level. User-level installs use the app-specific |