Skip to content

Commit

Permalink
Remove variable source interface
Browse files Browse the repository at this point in the history
Signed-off-by: Mikalai Radchuk <mradchuk@redhat.com>
  • Loading branch information
m1kola committed Nov 27, 2023
1 parent 11c5175 commit ac36d48
Showing 1 changed file with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -1,16 +1,9 @@
package input

import (
"context"

"github.com/operator-framework/deppy/pkg/deppy"
)

// VariableSource generates solver constraints given an entity querier interface
type VariableSource interface {
GetVariables(ctx context.Context) ([]deppy.Variable, error)
}

var _ deppy.Variable = &SimpleVariable{}

type SimpleVariable struct {
Expand Down

0 comments on commit ac36d48

Please sign in to comment.