handlers

package
v1.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 8, 2019 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BuildkiteSFNWorker

type BuildkiteSFNWorker struct {
	// contains filtered or unexported fields
}

BuildkiteSFNWorker handler for lambda events

func New

func New(cfg *config.Config, sess *session.Session, buildkiteAPI bk.API) *BuildkiteSFNWorker

New create a new handler

func (*BuildkiteSFNWorker) HandlerCheckJob

func (bkw *BuildkiteSFNWorker) HandlerCheckJob(ctx context.Context, evt *bk.WorkflowData) (*bk.WorkflowData, error)

HandlerCheckJob process the step function check job event

func (*BuildkiteSFNWorker) HandlerCompletedJob

func (bkw *BuildkiteSFNWorker) HandlerCompletedJob(ctx context.Context, evt *bk.WorkflowData) (*bk.WorkflowData, error)

HandlerCompletedJob process the step function event for completed jobs

func (*BuildkiteSFNWorker) HandlerSubmitJob

func (bkw *BuildkiteSFNWorker) HandlerSubmitJob(ctx context.Context, evt *bk.WorkflowData) (*bk.WorkflowData, error)

HandlerSubmitJob process the step function submit job event

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL