Documentation ¶
Overview ¶
The deployer package contains the Step Deployer service that is a Step Function that Deploys Step Functions.
It also contains a client for messaging and bootstrapping the Step Deployer.
Index ¶
- func CreateTaskFunctions(awsc aws.AwsClients) *handler.TaskHandlers
- func DeployHandler(awsc aws.AwsClients) interface{}
- func LockHandler(awsc aws.AwsClients) interface{}
- func ReleaseLockFailureHandler(awsc aws.AwsClients) interface{}
- func StateMachine() (*machine.StateMachine, error)
- func TaskHandlers() *handler.TaskHandlers
- func ValidateHandler(awsc aws.AwsClients) interface{}
- func ValidateResourcesHandler(awsc aws.AwsClients) interface{}
- type DeployLambdaError
- type DeploySFNError
- type Release
- func (release *Release) DeployLambda(lambdaClient aws.LambdaAPI, s3c aws.S3API) error
- func (release *Release) DeployLambdaCode(lambdaClient aws.LambdaAPI, zip *[]byte) error
- func (release *Release) DeployStepFunction(sfnClient aws.SFNAPI) error
- func (release *Release) LambdaArn() *string
- func (r *Release) LambdaProjectConfigDeployerTags(lambdac aws.LambdaAPI) (*string, *string, *string, error)
- func (release *Release) LambdaZipPath() *string
- func (release *Release) StepArn() *string
- func (release *Release) UnmarshalJSON(data []byte) error
- func (r *Release) Validate(s3c aws.S3API) error
- func (r *Release) ValidateLambdaFunctionTags(lambdac aws.LambdaAPI) error
- func (r *Release) ValidateLambdaSHA(s3c aws.S3API) error
- func (r *Release) ValidateResources(lambdac aws.LambdaAPI, sfnc aws.SFNAPI) error
- func (r *Release) ValidateStepFunctionPath(sfnc aws.SFNAPI) error
- type XRelease
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateTaskFunctions ¶
func CreateTaskFunctions(awsc aws.AwsClients) *handler.TaskHandlers
CreateTaskFunctions returns
func DeployHandler ¶
func DeployHandler(awsc aws.AwsClients) interface{}
func LockHandler ¶
func LockHandler(awsc aws.AwsClients) interface{}
func ReleaseLockFailureHandler ¶
func ReleaseLockFailureHandler(awsc aws.AwsClients) interface{}
func StateMachine ¶
func StateMachine() (*machine.StateMachine, error)
StateMachine returns the StateMachine for the deployer
func ValidateHandler ¶
func ValidateHandler(awsc aws.AwsClients) interface{}
func ValidateResourcesHandler ¶
func ValidateResourcesHandler(awsc aws.AwsClients) interface{}
Types ¶
type DeployLambdaError ¶
type DeployLambdaError struct {
// contains filtered or unexported fields
}
func (DeployLambdaError) Error ¶
func (e DeployLambdaError) Error() string
type DeploySFNError ¶
type DeploySFNError struct {
// contains filtered or unexported fields
}
func (DeploySFNError) Error ¶
func (e DeploySFNError) Error() string
type Release ¶
type Release struct { bifrost.Release // Deploy Releases LambdaName *string `json:"lambda_name,omitempty"` // Lambda Name LambdaSHA256 *string `json:"lambda_sha256,omitempty"` // Lambda SHA256 Zip file StepFnName *string `json:"step_fn_name,omitempty"` // Step Function Name StateMachineJSON *string `json:"state_machine_json,omitempty"` }
Release is the Data Structure passed between Client and Deployer
func (*Release) DeployLambda ¶
DeployLambda uploads new Code to the Lambda
func (*Release) DeployLambdaCode ¶
DeployLambdaCode
func (*Release) DeployStepFunction ¶
DeployStepFunction updates the step function State Machine
func (*Release) LambdaProjectConfigDeployerTags ¶
func (*Release) LambdaZipPath ¶
func (*Release) UnmarshalJSON ¶
UnmarshalJSON should error if there is something unexpected
func (*Release) ValidateLambdaFunctionTags ¶
func (*Release) ValidateResources ¶
Click to show internal directories.
Click to hide internal directories.