resources

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2016 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AWSClient

type AWSClient struct {
	// contains filtered or unexported fields
}

type Config

type Config struct {
	Awsconf string
	Profile string
	Region  string
	Cfgfile string
	Call    map[string]func()
	Conf    yamlConfig
}

func (*Config) Connect

func (c *Config) Connect() interface{}

type EC2

type EC2 struct {
	Instances       *ec2.DescribeInstancesOutput
	Security_groups *ec2.DescribeSecurityGroupsOutput
	Volumes         *ec2.DescribeVolumesOutput
	Snapshots       *ec2.DescribeSnapshotsOutput
	// contains filtered or unexported fields
}

func (*EC2) PurgeInstances

func (e *EC2) PurgeInstances(c1 chan int, meta interface{}, days int16, actualdestroy bool, whitelist []string)

func (*EC2) PurgeSnapshots

func (e *EC2) PurgeSnapshots(c1 chan int, meta interface{}, days int16, actualdestroy bool, whitelist []string)

func (*EC2) PurgeVolumes

func (e *EC2) PurgeVolumes(c1 chan int, meta interface{}, days int16, actualdestroy bool, whitelist []string)

Jump to

Keyboard shortcuts

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