instance

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2025 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CaptureInstanceImage added in v0.1.1

func CaptureInstanceImage(instanceID string) (string, error)

func GetAMIName added in v0.1.2

func GetAMIName(ami []models.AmiAttr) ([]models.AmiAttr, error)

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 GetAvailableAmis(amilist []models.AmiAttr, filterMap map[string][]types.Filter) ([]models.AmiAttr, error)

func GetDeployedInstances

func GetDeployedInstances() ([]models.DeploymentResponse, error)

func StartInstance

func StartInstance(instanceID string) error

func StopInstance

func StopInstance(instanceID string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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