Documentation ¶
Overview ¶
Package jobrunner provides support for invoking jobs.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CFNStackResourceLister ¶
type CFNStackResourceLister interface {
StackResources(name string) ([]*cloudformation.StackResource, error)
}
CFNStackResourceLister is the interface to list CloudFormation stack resources.
type Config ¶
type Config struct { App string // Name of the application. Env string // Name of the environment. Job string // Name of the job. // Dependencies to invoke a job. CFN CFNStackResourceLister // CloudFormation client to list stack resources. StateMachine StateMachineExecutor // StepFunction client to execute a state machine. }
Config hold the data needed to create a JobRunner.
type JobRunner ¶
type JobRunner struct {
// contains filtered or unexported fields
}
JobRunner can invoke a job.
type StateMachineExecutor ¶
StateMachineExecutor is the interface that implements the Execute method to invoke a state machine.
Click to show internal directories.
Click to hide internal directories.