pkg/runner/step_resource.go (8 lines of code) (raw):
package runner
import (
"context"
"gitlab.com/gitlab-org/step-runner/pkg/internal/expression"
)
// StepResource knows how to load a Step
type StepResource interface {
Fetch(context.Context, *expression.InterpolationContext) (*SpecDefinition, error)
}