handler

package
v0.0.0-...-b8d72a6 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2024 License: Apache-2.0 Imports: 35 Imported by: 1

Documentation

Index

Constants

View Source
const CONVOX_MANAGED = "convox managed"

Variables

View Source
var MessageQueueUrl = os.Getenv("FORMATION_QUEUE")

Functions

func CreateMathMax

func CreateMathMax(req Request) (string, map[string]string, error)

func CreateMathMin

func CreateMathMin(req Request) (string, map[string]string, error)

func CreateSelfSignedCertsForDocker

func CreateSelfSignedCertsForDocker(req Request) (string, map[string]string, error)

func Credentials

func Credentials(req *Request) *credentials.Credentials

func DeleteSelfSignedCertsForDocker

func DeleteSelfSignedCertsForDocker(req Request) (string, map[string]string, error)

func EC2

func EC2(req Request) *ec2.EC2

func EC2AvailabilityZonesCreate

func EC2AvailabilityZonesCreate(req Request) (string, map[string]string, error)

func EC2AvailabilityZonesDelete

func EC2AvailabilityZonesDelete(req Request) (string, map[string]string, error)

func EC2AvailabilityZonesUpdate

func EC2AvailabilityZonesUpdate(req Request) (string, map[string]string, error)

func EC2NatGatewayDelete

func EC2NatGatewayDelete(req Request) (string, map[string]string, error)

EC2NatGatewayDelete deletes a Custom::EC2route TODO: delete

func EC2RouteDelete

func EC2RouteDelete(req Request) (string, map[string]string, error)

EC2RouteDelete deletes a Custom::EC2route TODO: delete

func ECR

func ECR(req Request) *ecr.ECR

func ECRRepositoryCreate

func ECRRepositoryCreate(req Request) (string, map[string]string, error)

func ECRRepositoryDelete

func ECRRepositoryDelete(req Request) (string, map[string]string, error)

func ECRRepositoryUpdate

func ECRRepositoryUpdate(req Request) (string, map[string]string, error)

func ECS

func ECS(req Request) *ecs.ECS

func ECSServiceDelete

func ECSServiceDelete(req Request) (string, map[string]string, error)

func ECSTaskDefinitionCreate

func ECSTaskDefinitionCreate(req Request) (string, map[string]string, error)

func ECSTaskDefinitionDelete

func ECSTaskDefinitionDelete(req Request) (string, map[string]string, error)

func GetCertificate

func GetCertificate(req Request) (string, map[string]string, error)

func HandleEC2AvailabilityZones

func HandleEC2AvailabilityZones(req Request) (string, map[string]string, error)

func HandleEC2NatGateway

func HandleEC2NatGateway(req Request) (string, map[string]string, error)

HandleEC2NatGateway handles the lifecycle of a Custom::EC2NatGateway

func HandleEC2Route

func HandleEC2Route(req Request) (string, map[string]string, error)

HandleEC2Route handles the lifecycle of a Custom::EC2Route

func HandleECRRepository

func HandleECRRepository(req Request) (string, map[string]string, error)

func HandleECSService

func HandleECSService(req Request) (string, map[string]string, error)

func HandleECSTaskDefinition

func HandleECSTaskDefinition(req Request) (string, map[string]string, error)

func HandleKMSKey

func HandleKMSKey(req Request) (string, map[string]string, error)

func HandleMathMax

func HandleMathMax(req Request) (string, map[string]string, error)

func HandleMathMin

func HandleMathMin(req Request) (string, map[string]string, error)

func HandleRequest

func HandleRequest(freq Request) error

func HandleSGIngress

func HandleSGIngress(req Request) (string, map[string]string, error)

func HandleSNSSubcription

func HandleSNSSubcription(req Request) (string, map[string]string, error)

func HandleSelfSignedCertificate

func HandleSelfSignedCertificate(req Request) (string, map[string]string, error)

func HandleSelfSignedCertificateGetter

func HandleSelfSignedCertificateGetter(req Request) (string, map[string]string, error)

func KMS

func KMS(req Request) *kms.KMS

func KMSKeyCreate

func KMSKeyCreate(req Request) (string, map[string]string, error)

func KMSKeyDelete

func KMSKeyDelete(req Request) (string, map[string]string, error)

func KMSKeyUpdate

func KMSKeyUpdate(req Request) (string, map[string]string, error)

func Listen

func Listen()

func Region

func Region(req *Request) *string

func S3

func S3(req Request) *s3.S3

func SGIngressCreate

func SGIngressCreate(req Request) (string, map[string]string, error)

func SGIngressUpdate

func SGIngressUpdate(req Request) (string, map[string]string, error)

func SNS

func SNS(req Request) *sns.SNS

func SNSSubscriptionCreate

func SNSSubscriptionCreate(req Request) (string, map[string]string, error)

func SNSSubscriptionDelete

func SNSSubscriptionDelete(req Request) (string, map[string]string, error)

func SNSSubscriptionUpdate

func SNSSubscriptionUpdate(req Request) (string, map[string]string, error)

func SQS

func SQS() *sqs.SQS

func SSM

func SSM(req Request) *ssm.SSM

func UpdateMathMax

func UpdateMathMax(req Request) (string, map[string]string, error)

func UpdateMathMin

func UpdateMathMin(req Request) (string, map[string]string, error)

func UpdateSelfSignedCertsForDocker

func UpdateSelfSignedCertsForDocker(req Request) (string, map[string]string, error)

Types

type Message

type Message struct {
	MessageID     *string
	ReceiptHandle *string

	Type             string
	MessageId        string
	TopicArn         string
	Subject          string
	Message          string
	Timestamp        time.Time
	SignatureVersion string
	Signature        string
	SigningCertURL   string
	UnsubscribeURL   string
}

type Request

type Request struct {
	ResourceType string
	RequestType  string

	RequestId          string
	StackId            string
	LogicalResourceId  string
	PhysicalResourceId string
	ResponseURL        string

	ResourceProperties map[string]interface{}
}

type Response

type Response struct {
	RequestId         string
	StackId           string
	LogicalResourceId string

	Data               map[string]string
	PhysicalResourceId string
	Reason             string
	Status             string
}

Jump to

Keyboard shortcuts

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