aws

package
v0.0.0-...-1127b50 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Provider

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

Provider is an AWS provider that can create a Teleport cluster in AWS.

func NewProvider

func NewProvider(ctx context.Context, cfg *config.Config) (*Provider, error)

NewProvider will create a new AWS Teleport cluster provider.

func (*Provider) Create

func (p *Provider) Create(ctx context.Context) error

Create will create the necessary infrastructure for a Teleport cluster.

func (*Provider) Destroy

func (p *Provider) Destroy(ctx context.Context) error

Destroy will destroy all AWS resources. It will leave the key for future use.

func (*Provider) Nodes

func (p *Provider) Nodes(ctx context.Context) ([]string, error)

Nodes will return the node hosts.

func (*Provider) ProxyFQDN

func (p *Provider) ProxyFQDN(ctx context.Context) (string, error)

ProxyFQDN will return the FQDN of the proxy.

func (*Provider) ServerHost

func (p *Provider) ServerHost(ctx context.Context) (string, error)

ServerHost will return the host of the server.

Jump to

Keyboard shortcuts

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