sns

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2021 License: MPL-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var SubscriptionTables = []interface{}{
	&Subscription{},
}

Functions

func NewClient

func NewClient(session *session.Session, awsConfig *aws.Config, db *database.Database, log *zap.Logger,
	accountID string, region string) resource.ClientInterface

Types

type Client

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

func (*Client) CollectResource

func (c *Client) CollectResource(resource string, config interface{}) error

type Subscription

type Subscription struct {
	ID              uint `gorm:"primarykey"`
	AccountID       string
	Region          string
	Endpoint        *string
	Owner           *string
	Protocol        *string
	SubscriptionArn *string
	TopicArn        *string
}

func (Subscription) TableName

func (Subscription) TableName() string

type SubscriptionConfig

type SubscriptionConfig struct {
	Filter string
}

Jump to

Keyboard shortcuts

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