destawssqs

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2026 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseQueueURL

func ParseQueueURL(queueURL string) (baseURL string, region string, err error)

ParseQueueURL extracts the full URL into baseURL & region

Types

type AWSSQSDestination

type AWSSQSDestination struct {
	*destregistry.BaseProvider
}

func New

func (*AWSSQSDestination) ComputeTarget

func (d *AWSSQSDestination) ComputeTarget(destination *models.Destination) destregistry.DestinationTarget

func (*AWSSQSDestination) CreatePublisher

func (p *AWSSQSDestination) CreatePublisher(ctx context.Context, destination *models.Destination) (destregistry.Publisher, error)

func (*AWSSQSDestination) Validate

func (d *AWSSQSDestination) Validate(ctx context.Context, destination *models.Destination) error

type AWSSQSDestinationConfig

type AWSSQSDestinationConfig struct {
	Endpoint string
	QueueURL string
}

type AWSSQSDestinationCredentials

type AWSSQSDestinationCredentials struct {
	Key     string
	Secret  string
	Session string // optional
}

type AWSSQSPublisher

type AWSSQSPublisher struct {
	*destregistry.BasePublisher
	// contains filtered or unexported fields
}

func (*AWSSQSPublisher) Close

func (p *AWSSQSPublisher) Close() error

func (*AWSSQSPublisher) Format

func (p *AWSSQSPublisher) Format(ctx context.Context, event *models.Event) (*sqs.SendMessageInput, error)

func (*AWSSQSPublisher) Publish

func (p *AWSSQSPublisher) Publish(ctx context.Context, event *models.Event) (*destregistry.Delivery, error)

Jump to

Keyboard shortcuts

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