Documentation
¶
Index ¶
- func RunIdenticalTriggersWorkflow(runner sdk.Runner[string])
- func RunTestSecretsWorkflow(runner sdk.Runner[string])
- func RunTestWorkflow(runner sdk.Runner[string])
- func SetupExpectedCalls(t *testing.T)
- func TestWorkflowExpectedResult() string
- func TestWorkflowTrigger() *basictrigger.Outputs
- func TestWorkflowTriggerConfig() *basictrigger.Config
- type Runner
- type TestRunner
- type TooManyTriggers
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunTestSecretsWorkflow ¶
func RunTestWorkflow ¶
func SetupExpectedCalls ¶
func TestWorkflowExpectedResult ¶
func TestWorkflowExpectedResult() string
func TestWorkflowTrigger ¶
func TestWorkflowTrigger() *basictrigger.Outputs
func TestWorkflowTriggerConfig ¶
func TestWorkflowTriggerConfig() *basictrigger.Config
Types ¶
type TestRunner ¶
type TestRunner interface {
Result() (bool, any, error)
// SetStrictTriggers causes the workflow to fail if a trigger isn'tb in the registry
// this is useful for testing the workflow registrations.
SetStrictTriggers(strict bool)
// SetMaxResponseSizeBytes sets the maximum response size for the runtime.
// Do not change unless you are working with a non-standard configuration.
SetMaxResponseSizeBytes(maxResponseSizebytes uint64)
Logs() []string
SetRandSource(source rand.Source)
SetSecret(id, namespace, value string) error
}
type TooManyTriggers ¶
type TooManyTriggers struct{}
func (TooManyTriggers) Error ¶
func (e TooManyTriggers) Error() string
Source Files
¶
Click to show internal directories.
Click to hide internal directories.