awsraw

package
v0.0.0-...-c009273 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2025 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InfraEvent

type InfraEvent struct {
	Source     string          `json:"source"`
	DetailType string          `json:"detail-type"`
	Detail     json.RawMessage `json:"detail"`
	ID         string          `json:"id"`
}

func (*InfraEvent) Valid

func (ie *InfraEvent) Valid() bool

type RawMessageWorker

type RawMessageWorker struct {
	messaging_tpb.UnimplementedRawMessageTopicServer
	// contains filtered or unexported fields
}

func NewRawMessageWorker

func NewRawMessageWorker(cfHandler RawWorkerCFHandler, ecsHandler RawWorkerECSHandler) *RawMessageWorker

func (*RawMessageWorker) HandleEventBridgeEvent

func (worker *RawMessageWorker) HandleEventBridgeEvent(ctx context.Context, payload []byte) error

func (*RawMessageWorker) Raw

type RawWorkerCFHandler

type RawWorkerCFHandler interface {
	HandleStackStatusChangeEvent(ctx context.Context, eventID string, event *aws_cf.StackStatusChangeEvent) error
}

type RawWorkerECSHandler

type RawWorkerECSHandler interface {
	HandleECSTaskEvent(ctx context.Context, eventID string, event *aws_ecs.ECSTaskStateChangeEvent) error
}

Jump to

Keyboard shortcuts

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