discoverers

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AwsEc2Discoverer

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

AwsEc2Discoverer represents a discoverer for AWS EC2 resources.

func NewAwsEc2Discoverer

func NewAwsEc2Discoverer(cfg aws.Config, opts ...AwsEc2DiscovererOption) *AwsEc2Discoverer

NewEngine returns a new AwsEc2Discoverer, initialized with the given options.

func (*AwsEc2Discoverer) Discover

func (ec2d *AwsEc2Discoverer) Discover(
	ctx context.Context,
	results chan<- *discovery.Result,
)

Discover runs the AwsEc2Discoverer and closes the channels after a single run.

type AwsEc2DiscovererOption

type AwsEc2DiscovererOption func(*AwsEc2Discoverer)

AwsEc2DiscovererOption is an input option for the AwsEc2Discoverer constructor.

type AwsEcsDiscoverer

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

AwsEcsDiscoverer represents a discoverer for AWS ECS resources.

func NewAwsEcsDiscoverer

func NewAwsEcsDiscoverer(cfg aws.Config, opts ...AwsEcsDiscovererOption) *AwsEcsDiscoverer

NewAwsEcsDiscoverer returns a new AwsEcsDiscoverer, initialized with the given options.

func (*AwsEcsDiscoverer) Discover

func (ecsd *AwsEcsDiscoverer) Discover(
	ctx context.Context,
	results chan<- *discovery.Result,
)

Discover runs the AwsEcsDiscoverer and closes the channels after a single run.

type AwsEcsDiscovererOption

type AwsEcsDiscovererOption func(*AwsEcsDiscoverer)

AwsEcsDiscovererOption is an input option for the AwsEcsDiscoverer constructor.

type AwsRdsDiscoverer

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

AwsRdsDiscoverer represents a discoverer for AWS RDS resources.

func NewAwsRdsDiscoverer

func NewAwsRdsDiscoverer(cfg aws.Config, opts ...AwsRdsDiscovererOption) *AwsRdsDiscoverer

NewAwsRdsDiscoverer returns a new AwsRdsDiscoverer, initialized with the given options.

func (*AwsRdsDiscoverer) Discover

func (rdsd *AwsRdsDiscoverer) Discover(
	ctx context.Context,
	results chan<- *discovery.Result,
)

Discover runs the AwsRdsDiscoverer and closes the channels after a single run.

type AwsRdsDiscovererOption

type AwsRdsDiscovererOption func(*AwsRdsDiscoverer)

AwsRdsDiscovererOption is an input option for the AwsRdsDiscoverer constructor.

Jump to

Keyboard shortcuts

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