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:
1 parent
1249f9668f
commit
4f09f1d74f
15 files changed
+665
-50
No files matched your search
@@ -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)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user