aws

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: May 17, 2022 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AWSProvider

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

func NewAWSProvider

func NewAWSProvider(ctx context.Context, cfg cfg.Provider, logger *zap.Logger) (*AWSProvider, error)

func (*AWSProvider) FetchEBSVolumes added in v0.0.3

func (p *AWSProvider) FetchEBSVolumes(ctx context.Context) ([]types.Volume, error)

func (*AWSProvider) FetchEC2Instances

func (awsPrv *AWSProvider) FetchEC2Instances(ctx context.Context) ([]types.Instance, error)

func (*AWSProvider) FetchLoadBalancerTag added in v0.0.3

func (p *AWSProvider) FetchLoadBalancerTag(ctx context.Context, lb types.LoadBalancer) (model.Tags, error)

func (*AWSProvider) FetchLoadBalancers added in v0.0.3

func (p *AWSProvider) FetchLoadBalancers(ctx context.Context) ([]types.LoadBalancer, error)

func (*AWSProvider) FetchS3Buckets added in v0.0.3

func (p *AWSProvider) FetchS3Buckets(ctx context.Context) ([]types.Bucket, error)

func (*AWSProvider) FetchS3BucketsTag added in v0.0.3

func (p *AWSProvider) FetchS3BucketsTag(ctx context.Context, bucket types.Bucket) (model.Tags, error)

func (AWSProvider) GetMapper

func (p AWSProvider) GetMapper() mapper.Mapper

func (AWSProvider) Region

func (p AWSProvider) Region() string

Jump to

Keyboard shortcuts

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