Add filtering by bundleID to listing roles and bundles

This commit is contained in:
Benedikt Kulmann
2020-08-27 15:42:19 +02:00
parent 31cb0c951a
commit 0f9e141699
9 changed files with 507 additions and 418 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ type Manager interface {
// BundleManager is a bundle service interface for abstraction of storage implementations
type BundleManager interface {
ListBundles(bundleType proto.Bundle_Type) ([]*proto.Bundle, error)
ListBundles(bundleType proto.Bundle_Type, bundleIDs []string) ([]*proto.Bundle, error)
ReadBundle(bundleID string) (*proto.Bundle, error)
WriteBundle(bundle *proto.Bundle) (*proto.Bundle, error)
ReadSetting(settingID string) (*proto.Setting, error)