Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddAWSFlags ¶
AddAWSFlags adds basic flags needed by AWS
func NewCLIReporter ¶
func RunOnAWS ¶
func RunOnAWS(infraID, region, gwInstanceType, kubeConfig, kubeContext string, function func(cloud api.Cloud, 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.
Click to show internal directories.
Click to hide internal directories.