-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: perdasilva <perdasilva@redhat.com>
- Loading branch information
1 parent
30416f2
commit f9f86d0
Showing
3 changed files
with
50 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
package resolution | ||
|
||
import ( | ||
"context" | ||
|
||
"github.com/operator-framework/deppy/pkg/deppy" | ||
"github.com/operator-framework/deppy/pkg/deppy/input" | ||
) | ||
|
||
// this package is a placeholder for deppy/resolution related code | ||
// it is importing deppy to keep the library imported into the project | ||
// and not bumped due to lack of imports. It will be removed once we start | ||
// building out the olm deppy framework implementation here | ||
|
||
var _ input.EntitySource = &SomeEntitySource{} | ||
|
||
type SomeEntitySource struct { | ||
} | ||
|
||
func (s SomeEntitySource) Get(ctx context.Context, id deppy.Identifier) *input.Entity { | ||
//TODO implement me | ||
panic("implement me") | ||
} | ||
|
||
func (s SomeEntitySource) Filter(ctx context.Context, filter input.Predicate) (input.EntityList, error) { | ||
//TODO implement me | ||
panic("implement me") | ||
} | ||
|
||
func (s SomeEntitySource) GroupBy(ctx context.Context, fn input.GroupByFunction) (input.EntityListMap, error) { | ||
//TODO implement me | ||
panic("implement me") | ||
} | ||
|
||
func (s SomeEntitySource) Iterate(ctx context.Context, fn input.IteratorFunction) error { | ||
//TODO implement me | ||
panic("implement me") | ||
} |