ec2

package
v0.15.0 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2018 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Address

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

func NewAddress

func NewAddress(client addressesClient, publicIp, allocationId *string) Address

func (Address) Delete

func (a Address) Delete() error

func (Address) Name

func (a Address) Name() string

type Addresses

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

func NewAddresses

func NewAddresses(client addressesClient, logger logger) Addresses

func (Addresses) List

func (d Addresses) List(filter string) ([]common.Deletable, error)

type Instance

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

func NewInstance

func NewInstance(client instancesClient, id, keyName *string, tags []*awsec2.Tag) Instance

func (Instance) Delete

func (i Instance) Delete() error

func (Instance) Name

func (i Instance) Name() string

type Instances

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

func NewInstances

func NewInstances(client instancesClient, logger logger) Instances

func (Instances) List

func (a Instances) List(filter string) ([]common.Deletable, error)

type InternetGateways

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

func NewInternetGateways

func NewInternetGateways(client internetGatewaysClient, logger logger) InternetGateways

func (InternetGateways) Delete

func (n InternetGateways) Delete(vpcId string) error

type KeyPair

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

func NewKeyPair

func NewKeyPair(client keyPairsClient, name *string) KeyPair

func (KeyPair) Delete

func (k KeyPair) Delete() error

func (KeyPair) Name

func (k KeyPair) Name() string

type KeyPairs

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

func NewKeyPairs

func NewKeyPairs(client keyPairsClient, logger logger) KeyPairs

func (KeyPairs) List

func (k KeyPairs) List(filter string) ([]common.Deletable, error)

type NetworkInterface

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

func NewNetworkInterface

func NewNetworkInterface(client networkInterfacesClient, id *string, tags []*awsec2.Tag) NetworkInterface

func (NetworkInterface) Delete

func (n NetworkInterface) Delete() error

func (NetworkInterface) Name

func (n NetworkInterface) Name() string

type NetworkInterfaces

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

func NewNetworkInterfaces

func NewNetworkInterfaces(client networkInterfacesClient, logger logger) NetworkInterfaces

func (NetworkInterfaces) List

func (e NetworkInterfaces) List(filter string) ([]common.Deletable, error)

type RouteTables

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

func NewRouteTables

func NewRouteTables(client routesClient, logger logger) RouteTables

func (RouteTables) Delete

func (u RouteTables) Delete(vpcId string) error

type SecurityGroup

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

func NewSecurityGroup

func NewSecurityGroup(client securityGroupsClient, id, groupName *string, tags []*awsec2.Tag) SecurityGroup

func (SecurityGroup) Delete

func (s SecurityGroup) Delete() error

func (SecurityGroup) Name

func (s SecurityGroup) Name() string

type SecurityGroups

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

func NewSecurityGroups

func NewSecurityGroups(client securityGroupsClient, logger logger) SecurityGroups

func (SecurityGroups) List

func (e SecurityGroups) List(filter string) ([]common.Deletable, error)

type Subnets

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

func NewSubnets

func NewSubnets(client subnetsClient, logger logger) Subnets

func (Subnets) Delete

func (u Subnets) Delete(vpcId string) error

type Tag

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

func NewTag

func NewTag(client tagsClient, key, value, resourceId *string) Tag

func (Tag) Delete

func (t Tag) Delete() error

func (Tag) Name

func (t Tag) Name() string

type Tags

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

func NewTags

func NewTags(client tagsClient, logger logger) Tags

func (Tags) List

func (a Tags) List(filter string) ([]common.Deletable, error)

type Volume

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

func NewVolume

func NewVolume(client volumesClient, id *string) Volume

func (Volume) Delete

func (v Volume) Delete() error

func (Volume) Name

func (v Volume) Name() string

type Volumes

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

func NewVolumes

func NewVolumes(client volumesClient, logger logger) Volumes

func (Volumes) List

func (v Volumes) List(filter string) ([]common.Deletable, error)

type Vpc

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

func NewVpc

func NewVpc(client vpcsClient,
	routes routeTables,
	subnets subnets,
	gateways internetGateways,
	id *string,
	tags []*awsec2.Tag) Vpc

func (Vpc) Delete

func (v Vpc) Delete() error

func (Vpc) Name

func (v Vpc) Name() string

type Vpcs

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

func NewVpcs

func NewVpcs(client vpcsClient,
	logger logger,
	routes routeTables,
	subnets subnets,
	gateways internetGateways) Vpcs

func (Vpcs) List

func (v Vpcs) List(filter string) ([]common.Deletable, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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