Documentation ¶
Index ¶
- func GetAllEC2Instances(cfg aws.Config) ([]*resource.Resource, error)
- func GetAllEKSClusters(cfg aws.Config) ([]*resource.Resource, error)
- func GetAllEbsVolumes(cfg aws.Config) ([]*resource.Resource, error)
- func GetAllIPAddresses(cfg aws.Config) ([]*resource.Resource, error)
- func GetAllImages(cfg aws.Config) ([]*resource.Resource, error)
- func GetName() string
- func NewProvider() (*types.Provider, error)
- func NewResource(id, manager string) *resource.Resource
- func ResumeEC2Instances(cfg aws.Config, instances []*resource.Resource) error
- func ResumeEKSClusters(cfg aws.Config, clusters []*resource.Resource) error
- func StopEC2Instances(cfg aws.Config, instances []*resource.Resource) error
- func StopEKSClusters(cfg aws.Config, clusters []*resource.Resource) error
- func TerminateEC2Instances(cfg aws.Config, instances []*resource.Resource) error
- func TerminateEKSClusters(cfg aws.Config, clusters []*resource.Resource) error
- func TerminateEbsVolumes(cfg aws.Config, volumes []*resource.Resource) error
- func TerminateIPAddresses(cfg aws.Config, ips []*resource.Resource) error
- func TerminateImages(cfg aws.Config, images []*resource.Resource) error
- type Object
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAllEC2Instances ¶
GetAllEC2Instances Get all instances
func GetAllEKSClusters ¶
GetAllEKSClusters Get all clusters
func GetAllEbsVolumes ¶
GetAllEbsVolumes Get all volumes
func GetAllIPAddresses ¶
GetAllIPAddresses Get all ips
func GetAllImages ¶
GetAllImages Get all images
func NewProvider ¶
NewProvider : Creates a New AWS Provider
func NewResource ¶
NewResource Returns a new Resource object
func ResumeEC2Instances ¶
ResumeEC2Instances Resume Stopped instances
func ResumeEKSClusters ¶
ResumeEKSClusters Resume Stopped clusters
func StopEC2Instances ¶
StopEC2Instances Stop Running Instances
func StopEKSClusters ¶
StopEKSClusters Stop Running Clusters
func TerminateEC2Instances ¶
TerminateEC2Instances Shutdown instances
func TerminateEKSClusters ¶
TerminateEKSClusters Shutdown clusters
func TerminateEbsVolumes ¶
TerminateEbsVolumes Shutdown volumes
func TerminateIPAddresses ¶
TerminateIPAddresses Shutdown ips
Types ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.