Documentation
¶
Index ¶
- func CreateAWSSession(opt *Options) (*session.Session, error)
- func Discover(username, password string, emitFn func(result shared.CloudDiscoveryResult))
- func NewECRClient(opt Options) *ecrClient
- func NewECSClient(opt Options) *ecsClient
- func NewEKSClient(options Options) *eksClient
- func NewLambdaClient(opt Options) *lambdaClient
- type Options
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateAWSSession ¶
AWSSession creates a session for AWS services handling
func Discover ¶
func Discover(username, password string, emitFn func(result shared.CloudDiscoveryResult))
func NewECRClient ¶
func NewECRClient(opt Options) *ecrClient
NewECRClient creates a new ECR client (Amazon Elastic Container Registry)
func NewECSClient ¶
func NewECSClient(opt Options) *ecsClient
NewECSClient creates a new ECS (Amazon Elastic Container Service) client
func NewEKSClient ¶
func NewEKSClient(options Options) *eksClient
NewEKSClient creates a new EKS (Amazon Elastic Kubernetes Service) client
func NewLambdaClient ¶
func NewLambdaClient(opt Options) *lambdaClient
NewServerlessClientAWS create a new aws serverless client
Types ¶
type Options ¶
type Options struct { AccessKeyID string // AccessKeyID is the access key ID to aws services SecretAccessKey string // SecretAccessKey is the secret access key to aws services Region string // Region is the region in query UseAWSRole bool // UseAWSRole is a flag indicates if local IAM role should be used for authentication, than username and password would be ignored }
Options are options for getting credentials for AWS services
Click to show internal directories.
Click to hide internal directories.