Documentation
¶
Index ¶
- func CaptureInstanceImage(instanceID string) (string, error)
- func GetAMIName(ami []models.AmiAttr) ([]models.AmiAttr, error)
- func GetAvailableAmis(amilist []models.AmiAttr, filterMap map[string][]types.Filter) ([]models.AmiAttr, error)
- func GetDeployedInstances() ([]models.DeploymentResponse, error)
- func StartInstance(instanceID string) error
- func StopInstance(instanceID string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CaptureInstanceImage ¶ added in v0.1.1
func GetAMIName ¶ added in v0.1.2
GetAMIName assigns names to AMI attributes by fetching the image details from AWS using the AMI IDs provided in the ami slice. It uses goroutines to fetch names concurrently for each AMI ID, improving performance when dealing with multiple AMIs.
func GetAvailableAmis ¶ added in v0.1.1
func GetDeployedInstances ¶
func GetDeployedInstances() ([]models.DeploymentResponse, error)
func StartInstance ¶
func StopInstance ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.