service

package
v1.0.1-0...-5d367bd Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2021 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CloudTrailLogs

type CloudTrailLogs struct {
	NewS3 adaptor.S3ClientFactory
}

func NewCloudTrailLogs

func NewCloudTrailLogs(newS3 adaptor.S3ClientFactory) *CloudTrailLogs

func (*CloudTrailLogs) Read

func (x *CloudTrailLogs) Read(s3Region, s3Bucket, s3Key string) ([]*models.CloudTrailRecord, error)

type Slack

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

func NewSlack

func NewSlack(httpClient adaptor.HTTPClient, webhookURL string) *Slack

func (*Slack) Notify

func (x *Slack) Notify(alert *models.Alert) error

Jump to

Keyboard shortcuts

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