beater

package
v0.0.0-...-4591d3c Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2020 License: MIT Imports: 17 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CloudTrailConfig

type CloudTrailConfig struct {
	SQSUrl                *string `config:"sqs_url"`
	AWSCredentialProvider *string `config:"aws_credential_provider"`
	AWSRegion             *string `config:"aws_region"`
	NoPurge               *bool   `config:"no_purge"`
	NumQueueFetch         *int    `config:"num_queue_fetch"`
	SleepTime             *int    `config:"sleep_time"`
}

type CloudTrailbeat

type CloudTrailbeat struct {
	CTbConfig   ConfigSettings
	CmdLineArgs CmdLineArgs
	// contains filtered or unexported fields
}

CloudTrailbeat contains configuration options specific to the current

running instance as defined in cmd line arguments and the configuration
file.

func New

func New() *CloudTrailbeat

func (*CloudTrailbeat) Cleanup

func (cb *CloudTrailbeat) Cleanup(b *beat.Beat) error

func (*CloudTrailbeat) Config

func (cb *CloudTrailbeat) Config(b *beat.Beat) error

func (*CloudTrailbeat) Run

func (cb *CloudTrailbeat) Run(b *beat.Beat) error

func (*CloudTrailbeat) Setup

func (cb *CloudTrailbeat) Setup(b *beat.Beat) error

func (*CloudTrailbeat) Stop

func (cb *CloudTrailbeat) Stop()

type CmdLineArgs

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

CmdLineArgs is used by the flag package to parse custom flags specific

to CloudTrailbeat

type ConfigSettings

type ConfigSettings struct {
	Input CloudTrailConfig
}

Jump to

Keyboard shortcuts

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