aws

package
v0.12.1 Latest Latest
Warning

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

Go to latest
Published: May 9, 2022 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

Package aws provides common functionality to run cloud prepare/cleanup on AWS.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddAWSFlags

func AddAWSFlags(command *cobra.Command)

AddAWSFlags adds basic flags needed by AWS.

func RunOnAWS

func RunOnAWS(restConfigProducer restconfig.Producer, gwInstanceType string,
	function func(cloud api.Cloud, gwDeployer api.GatewayDeployer, reporter api.Reporter) error) error

RunOnAWS runs the given function on AWS, supplying it with a cloud instance connected to AWS and a reporter that writes to CLI. The functions makes sure that infraID and region are specified, and extracts the credentials from a secret in order to connect to AWS.

Types

This section is empty.

Jump to

Keyboard shortcuts

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