client

package
v0.0.0-...-1a23c2c Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	Cloud  universal.Cloud
	Region string
	Tags   map[string]string

	Config   aws.Config
	Services struct {
		EC2         *ec2.Client
		S3          *s3.Client
		STS         *sts.Client
		AutoScaling *autoscaling.Client
	}
}

func New

func New(ctx context.Context, cloud universal.Cloud, tags map[string]string) (*Client, error)

func (*Client) DecodeError

func (c *Client) DecodeError(ctx context.Context, encoded error) error

func (*Client) GetKeyPair

func (c *Client) GetKeyPair(ctx context.Context) (*ssh.DeterministicSSHKeyPair, error)

Jump to

Keyboard shortcuts

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