We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ce4648f commit 09ba79dCopy full SHA for 09ba79d
resource/types.go
@@ -1,11 +1,17 @@
1
package resource
2
3
-import "github.com/StratoAPI/Interface/plugins"
+import (
4
+ "github.com/StratoAPI/Interface/filter"
5
+ "github.com/StratoAPI/Interface/plugins"
6
+)
7
8
type Processor interface {
9
// Get the store of a resource
10
GetStore(resource string) *plugins.Storage
11
12
// Get a list of all resources
- GetResources() []string
13
+ GetResourceList() []string
14
+
15
+ // Retrieve resources.
16
+ GetResources(resource string, filters []filter.ProcessedFilter) ([]map[string]interface{}, error)
17
}
0 commit comments