MCPcopy Create free account
hub / github.com/dan-v/lambda-nat-proxy / TriggerDeployerAPI

Interface TriggerDeployerAPI

internal/deploy/triggers.go:20–25  ·  view source on GitHub ↗

TriggerDeployerAPI defines the interface for S3 trigger operations

Source from the content-addressed store, hash-verified

18
19// TriggerDeployerAPI defines the interface for S3 trigger operations
20type TriggerDeployerAPI interface {
21 ConfigureS3Triggers(ctx context.Context, bucketName, functionArn string) error
22 RemoveS3Triggers(ctx context.Context, bucketName, functionArn string) error
23 ValidateTriggerConfiguration(ctx context.Context, bucketName, functionArn string) error
24 GetBucketNotifications(ctx context.Context, bucketName string) (*s3.NotificationConfiguration, error)
25}
26
27// TriggerDeployer handles S3 trigger configuration
28type TriggerDeployer struct {

Callers

nothing calls this directly

Implementers 1

TriggerDeployerinternal/deploy/triggers.go

Calls

no outgoing calls

Tested by

no test coverage detected