Documentation
¶
Index ¶
- Constants
- func HandleJobExecutorRequest(r *http.Request, h *runtime.Handler, awsHandler *AWSAPIHandler) error
- func HandleSubscriberExecutorRequest(r *http.Request, h *runtime.Handler) error
- func MakeContext(t *testing.T, ctx context.Context, keelSchema string, resetDatabase bool) (context.Context, db.Database, *proto.Schema)
- func Run(ctx context.Context, opts *RunnerOpts) error
- type AWSAPIHandler
- type RunnerOpts
- type S3Object
- type TestOutput
Constants ¶
View Source
const ( AuthPath = "auth" ActionApiPath = "testingactionsapi" JobPath = "testingjobs" SubscriberPath = "testingsubscribers" JobsWebhookPath = "/webhooks/jobs" )
Variables ¶
This section is empty.
Functions ¶
func HandleJobExecutorRequest ¶ added in v0.368.0
HandleJobExecutorRequest handles requests the job module in the testing package.
func HandleSubscriberExecutorRequest ¶ added in v0.368.0
HandleSubscriberExecutorRequest handles requests the subscriber module in the testing package.
func MakeContext ¶ added in v0.372.0
Types ¶
type AWSAPIHandler ¶ added in v0.406.0
type AWSAPIHandler struct { PathPrefix string SSMParameters map[string]string FunctionsURL string FunctionsARN string S3Bucket map[string]*S3Object OnSQSEvent func(events.SQSEvent) }
func (*AWSAPIHandler) HandleHTTP ¶ added in v0.406.0
func (h *AWSAPIHandler) HandleHTTP(r *http.Request, w http.ResponseWriter)
type RunnerOpts ¶
type TestOutput ¶
Click to show internal directories.
Click to hide internal directories.