proc

package
v0.0.0-...-0952104 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: Apache-2.0 Imports: 54 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitializeAwsSourceEngine

func InitializeAwsSourceEngine(ctx context.Context, natsOptions auth.NATSOptions, awsAuthConfig AwsAuthConfig, maxParallel int) (*discovery.Engine, error)

InitializeAwsSourceEngine initializes an Engine with AWS sources, returns the engine, and an error if any. The xontext provided will be used for the rate limit buckets and should not be cancelled until the source is shut down

Types

type AwsAuthConfig

type AwsAuthConfig struct {
	Strategy        string
	AccessKeyID     string
	SecretAccessKey string
	ExternalID      string
	TargetRoleARN   string
	Profile         string
	AutoConfig      bool

	Regions []string
}

func (AwsAuthConfig) GetAWSConfig

func (c AwsAuthConfig) GetAWSConfig(region string) (aws.Config, error)

Jump to

Keyboard shortcuts

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