sqs

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2026 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AuthMethodStatic = "static"
	AuthMethodIRSA   = "irsa"
)

Constants for authentication methods.

Variables

This section is empty.

Functions

This section is empty.

Types

type AWSSQSListener

type AWSSQSListener struct {
	// contains filtered or unexported fields
}

AWSSQSListener handles AWS SQS notifications.

func (*AWSSQSListener) Start

func (h *AWSSQSListener) Start() error

Start begins polling the SQS queue for messages.

func (*AWSSQSListener) Stop

func (h *AWSSQSListener) Stop() error

Stop stops polling the SQS queue.

type Provider

type Provider struct{}

func (*Provider) CreateListener

func (p *Provider) CreateListener(ctx context.Context, config *v1alpha1.NotificationSource, client client.Client, eventChan chan events.SecretRotationEvent, logger logr.Logger) (schema.Listener, error)

NewAWSSQSListener creates a new AWSSQSListener.

type RequestParameters

type RequestParameters struct {
	SecretId string `json:"secretId"`
}

type SecretMessage

type SecretMessage struct {
	Detail SecretMessageDetail `json:"detail"`
}

type SecretMessageDetail

type SecretMessageDetail struct {
	EventTime         string            `json:"eventTime"`
	RequestParameters RequestParameters `json:"requestParameters"`
}

Jump to

Keyboard shortcuts

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