Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrNoStageResult = errors.New("stage result not found") ErrNoOutput = errors.New("unable to find output") )
View Source
var (
ErrInvalidStageResultMimeType = errors.New("stage result expects mime-type of application/json")
)
Functions ¶
func NewTestJobContext ¶ added in v1.20.0
func NewTestJobContext(ctx context.Context, jobKey, correlationId, transactionId string, inputs sparkv1.ExecuteSparkInputs) *sparkv1.JobContext
func WithSparkConfigJSON ¶ added in v1.24.0
func WithSparkConfigYAML ¶ added in v1.24.0
Types ¶
type Option ¶ added in v1.20.0
type Option = func(je *testOpts) *testOpts
func WithBasePath ¶ added in v1.20.0
type Outputs ¶ added in v1.20.0
type Outputs struct {
sparkv1.ExecuteSparkOutput
}
type RunnerTest ¶ added in v1.20.0
type RunnerTest interface { sparkv1.StageTracker Execute(ctx *sparkv1.JobContext, opts ...sparkv1.Option) (*Outputs, error) }
RunnerTest Test Helper
func NewTestRunner ¶ added in v1.20.0
Click to show internal directories.
Click to hide internal directories.