2023-01-19 09:57:50 -05:00
|
|
|
/*
|
|
|
|
Copyright (c) Edgeless Systems GmbH
|
|
|
|
|
|
|
|
SPDX-License-Identifier: AGPL-3.0-only
|
|
|
|
*/
|
|
|
|
|
|
|
|
/*
|
2023-08-08 09:18:36 -04:00
|
|
|
Package cloudcmd provides executable commands for the CLI.
|
2023-01-19 09:57:50 -05:00
|
|
|
|
|
|
|
This package focuses on the interaction with the cloud provider.
|
|
|
|
It separates the cloud provider specific code from the rest of the CLI, and
|
|
|
|
provides a common interface for all cloud providers.
|
|
|
|
|
|
|
|
Exported functions must not be cloud provider specific, but rather take a
|
2023-08-08 09:18:36 -04:00
|
|
|
cloudprovider.Provider as an argument, perform CSP specific logic, and return a universally usable result.
|
2023-01-19 09:57:50 -05:00
|
|
|
|
2023-08-08 09:18:36 -04:00
|
|
|
It is used by the "cmd" to handle creation of cloud resources and other CSP specific interactions.
|
|
|
|
User interaction happens in the "cmd" package, and should not happen or pass through
|
2023-01-19 09:57:50 -05:00
|
|
|
this package.
|
|
|
|
|
|
|
|
The backend to this package is currently provided by the terraform package.
|
|
|
|
*/
|
|
|
|
package cloudcmd
|