searchers

package
v0.0.0-...-102c9d7 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2020 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var SearchersByServiceId map[string]Searcher = map[string]Searcher{
	"cloudformation":                cloudFormationStackSearcher,
	"cloudformation_stacks":         cloudFormationStackSearcher,
	"cloudwatch":                    cloudWatchLogGroupSearcher,
	"cloudwatch_loggroups":          cloudWatchLogGroupSearcher,
	"ec2":                           ec2InstanceSearcher,
	"ec2_instances":                 ec2InstanceSearcher,
	"ec2_securitygroups":            ec2SecurityGroupSearcher,
	"elasticbeanstalk":              elasticBeanstalkEnvironmentSearcher,
	"elasticbeanstalk_environments": elasticBeanstalkEnvironmentSearcher,
	"lambda":                        lambdaFunctionSearcher,
	"lambda_functions":              lambdaFunctionSearcher,
	"s3":                            s3BucketSearcher,
	"s3_buckets":                    s3BucketSearcher,
	"waf":                           wafWebACLSearcher,
	"waf_webacls":                   wafWebACLSearcher,
	"waf_ipsets":                    wafIPSetSearcher,
}

Functions

func TestSearcher

func TestSearcher(t *testing.T, searcher Searcher, fixtureFilename string)

Types

type CloudFormationStackSearcher

type CloudFormationStackSearcher struct{}

func (CloudFormationStackSearcher) Search

func (s CloudFormationStackSearcher) Search(wf *aw.Workflow, query string, session *session.Session, forceFetch bool, fullQuery string) error

type CloudWatchLogGroupSearcher

type CloudWatchLogGroupSearcher struct{}

func (CloudWatchLogGroupSearcher) Search

func (s CloudWatchLogGroupSearcher) Search(wf *aw.Workflow, query string, session *session.Session, forceFetch bool, fullQuery string) error

type EC2InstanceSearcher

type EC2InstanceSearcher struct{}

func (EC2InstanceSearcher) Search

func (s EC2InstanceSearcher) Search(wf *aw.Workflow, query string, session *session.Session, forceFetch bool, fullQuery string) error

type EC2SecurityGroupSearcher

type EC2SecurityGroupSearcher struct{}

func (EC2SecurityGroupSearcher) Search

func (s EC2SecurityGroupSearcher) Search(wf *aw.Workflow, query string, session *session.Session, forceFetch bool, fullQuery string) error

type ElasticBeanstalkEnvironmentSearcher

type ElasticBeanstalkEnvironmentSearcher struct{}

func (ElasticBeanstalkEnvironmentSearcher) Search

func (s ElasticBeanstalkEnvironmentSearcher) Search(wf *aw.Workflow, query string, session *session.Session, forceFetch bool, fullQuery string) error

type LambdaFunctionSearcher

type LambdaFunctionSearcher struct{}

func (LambdaFunctionSearcher) Search

func (s LambdaFunctionSearcher) Search(wf *aw.Workflow, query string, session *session.Session, forceFetch bool, fullQuery string) error

type S3BucketSearcher

type S3BucketSearcher struct{}

func (S3BucketSearcher) Search

func (s S3BucketSearcher) Search(wf *aw.Workflow, query string, session *session.Session, forceFetch bool, fullQuery string) error

type Searcher

type Searcher interface {
	Search(wf *aw.Workflow, query string, session *session.Session, forceFetch bool, fullQuery string) error
}

type WAFIPSetSearcher

type WAFIPSetSearcher struct{}

func (WAFIPSetSearcher) Search

func (s WAFIPSetSearcher) Search(wf *aw.Workflow, query string, session *session.Session, forceFetch bool, fullQuery string) error

type WAFWebACLSearcher

type WAFWebACLSearcher struct{}

func (WAFWebACLSearcher) Search

func (s WAFWebACLSearcher) Search(wf *aw.Workflow, query string, session *session.Session, forceFetch bool, fullQuery string) error

Jump to

Keyboard shortcuts

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