connectivity

package
v0.0.0-...-7aae7b9 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadClientFromEnv

func LoadClientFromEnv() error

Types

type AwsCloudClient

type AwsCloudClient struct {
	AccessKey    string `env:"AWS_ACCESS_KEY"`
	AccessSecret string `env:"AWS_ACCESS_SECRET"`
	Region       string `env:"AWS_REGION"`
	// contains filtered or unexported fields
}

AwsCloudClient client for all Amazon Cloud service

func C

func C() *AwsCloudClient

func NewAwsCloudClient

func NewAwsCloudClient(ak, sk, region string) *AwsCloudClient

NewAwsCloudClient client

func (*AwsCloudClient) Ec2Client

func (as *AwsCloudClient) Ec2Client() (*ec2.Client, error)

Jump to

Keyboard shortcuts

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