awssqs

package
v0.0.0-...-b2d74e5 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MODULE_NAME = "awssqs"
	GROUP_NAME  = "global"
	TYPE_NAME   = "notifier"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Clients

type Clients struct {
	SQS         sqsiface.SQSAPI
	CloudEvents *cloudevents.Client
}

type Config

type Config struct {
	Region                 string
	AccountAccessKeyID     string
	AccountSecretAccessKey string
	Queues                 string
	MessageBody            string
}

func (*Config) NotifyAWSSQS

func (c *Config) NotifyAWSSQS() error

type GlobalNotifierAWSSQS

type GlobalNotifierAWSSQS struct {
	core.Module
	// contains filtered or unexported fields
}

func (*GlobalNotifierAWSSQS) Close

func (m *GlobalNotifierAWSSQS) Close() error

func (*GlobalNotifierAWSSQS) GetConfig

func (m *GlobalNotifierAWSSQS) GetConfig() interface{}

func (*GlobalNotifierAWSSQS) GetGroup

func (m *GlobalNotifierAWSSQS) GetGroup() core.ModuleGroup

func (*GlobalNotifierAWSSQS) GetName

func (m *GlobalNotifierAWSSQS) GetName() string

func (*GlobalNotifierAWSSQS) GetType

func (m *GlobalNotifierAWSSQS) GetType() core.ModuleType

func (*GlobalNotifierAWSSQS) InitModule

func (m *GlobalNotifierAWSSQS) InitModule(_cfg interface{}) error

func (*GlobalNotifierAWSSQS) InitPipe

func (m *GlobalNotifierAWSSQS) InitPipe(w io.Writer, r io.Reader) error

func (*GlobalNotifierAWSSQS) Run

Jump to

Keyboard shortcuts

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