Add create, list, lookup functions for plugin based host catalogs (#1515)

Create the repository for plugin host catalogs.  A large TODO is left in the code to interface with the plugin system once ready.
This commit is contained in:
Todd Knight authored and GitHub committed 2021-09-09 11:15:14 -07:00
1 parent 1249f9668f
commit 4f09f1d74f
15 files changed
+665 -50

No files matched your search

+1 -1
View File
@@ -54,7 +54,7 @@ func (r *Repository) CreateSet(ctx context.Context, scopeId string, s *HostSet,
return nil, errors.Wrap(ctx, err, op, errors.WithMsg("unable to get host plugin"))
}
id, err := newHostSetId(plg.GetIdPrefix())
id, err := newHostSetId(ctx, plg.GetIdPrefix())
if err != nil {
return nil, errors.Wrap(ctx, err, op)
}