aws

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2021 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAllEC2Instances

func GetAllEC2Instances(cfg aws.Config) ([]*resource.Resource, error)

GetAllEC2Instances Get all instances

func GetAllEKSClusters

func GetAllEKSClusters(cfg aws.Config) ([]*resource.Resource, error)

GetAllEKSClusters Get all clusters

func GetAllEbsVolumes

func GetAllEbsVolumes(cfg aws.Config) ([]*resource.Resource, error)

GetAllEbsVolumes Get all volumes

func GetAllIPAddresses

func GetAllIPAddresses(cfg aws.Config) ([]*resource.Resource, error)

GetAllIPAddresses Get all ips

func GetAllImages

func GetAllImages(cfg aws.Config) ([]*resource.Resource, error)

GetAllImages Get all images

func GetName

func GetName() string

func NewProvider

func NewProvider() (*types.Provider, error)

NewProvider : Creates a New AWS Provider

func NewResource

func NewResource(id, manager string) *resource.Resource

NewResource Returns a new Resource object

func ResumeEC2Instances

func ResumeEC2Instances(cfg aws.Config, instances []*resource.Resource) error

ResumeEC2Instances Resume Stopped instances

func ResumeEKSClusters

func ResumeEKSClusters(cfg aws.Config, clusters []*resource.Resource) error

ResumeEKSClusters Resume Stopped clusters

func StopEC2Instances

func StopEC2Instances(cfg aws.Config, instances []*resource.Resource) error

StopEC2Instances Stop Running Instances

func StopEKSClusters

func StopEKSClusters(cfg aws.Config, clusters []*resource.Resource) error

StopEKSClusters Stop Running Clusters

func TerminateEC2Instances

func TerminateEC2Instances(cfg aws.Config, instances []*resource.Resource) error

TerminateEC2Instances Shutdown instances

func TerminateEKSClusters

func TerminateEKSClusters(cfg aws.Config, clusters []*resource.Resource) error

TerminateEKSClusters Shutdown clusters

func TerminateEbsVolumes

func TerminateEbsVolumes(cfg aws.Config, volumes []*resource.Resource) error

TerminateEbsVolumes Shutdown volumes

func TerminateIPAddresses

func TerminateIPAddresses(cfg aws.Config, ips []*resource.Resource) error

TerminateIPAddresses Shutdown ips

func TerminateImages

func TerminateImages(cfg aws.Config, images []*resource.Resource) error

Terminatemages deregisters images

Types

type Object

type Object struct {
	Key       *string
	VersionId *string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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