ec2

package
v0.27.0 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2018 License: Apache-2.0 Imports: 7 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

func (Address) Type added in v0.16.0

func (a Address) Type() 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 Image added in v0.25.0

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

func NewImage added in v0.25.0

func NewImage(client imagesClient, id *string, resourceTags resourceTags) Image

func (Image) Delete added in v0.25.0

func (i Image) Delete() error

func (Image) Name added in v0.25.0

func (i Image) Name() string

func (Image) Type added in v0.25.0

func (i Image) Type() string

type Images added in v0.25.0

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

func NewImages added in v0.25.0

func NewImages(client imagesClient, stsClient stsClient, logger logger, resourceTags resourceTags) Images

func (Images) List added in v0.25.0

func (i Images) List(filter string) ([]common.Deletable, error)

type Instance

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

func NewInstance

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

func (Instance) Delete

func (i Instance) Delete() error

func (Instance) Name

func (i Instance) Name() string

func (Instance) Type added in v0.16.0

func (i Instance) Type() string

type Instances

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

func NewInstances

func NewInstances(client instancesClient, logger logger, resourceTags resourceTags) Instances

func (Instances) List

func (i 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

func (KeyPair) Type added in v0.16.0

func (k KeyPair) Type() 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

func (NetworkInterface) Type added in v0.16.0

func (n NetworkInterface) Type() 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 ResourceTags added in v0.24.0

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

func NewResourceTags added in v0.24.0

func NewResourceTags(client tagsClient) ResourceTags

func (ResourceTags) Delete added in v0.24.0

func (r ResourceTags) Delete(resourceType, resourceId string) error

type RouteTables

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

func NewRouteTables

func NewRouteTables(client routesClient, logger logger, resourceTags resourceTags) 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, logger logger, resourceTags resourceTags, id, groupName *string, tags []*awsec2.Tag, ingress []*awsec2.IpPermission, egress []*awsec2.IpPermission) SecurityGroup

func (SecurityGroup) Delete

func (s SecurityGroup) Delete() error

func (SecurityGroup) Name

func (s SecurityGroup) Name() string

func (SecurityGroup) Type added in v0.16.0

func (s SecurityGroup) Type() string

type SecurityGroups

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

func NewSecurityGroups

func NewSecurityGroups(client securityGroupsClient, logger logger, resourceTags resourceTags) SecurityGroups

func (SecurityGroups) List

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

type Snapshot added in v0.25.0

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

func NewSnapshot added in v0.25.0

func NewSnapshot(client snapshotsClient, id *string) Snapshot

func (Snapshot) Delete added in v0.25.0

func (s Snapshot) Delete() error

func (Snapshot) Name added in v0.25.0

func (s Snapshot) Name() string

func (Snapshot) Type added in v0.25.0

func (s Snapshot) Type() string

type Snapshots added in v0.25.0

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

func NewSnapshots added in v0.25.0

func NewSnapshots(client snapshotsClient, stsClient stsClient, logger logger) Snapshots

func (Snapshots) List added in v0.25.0

func (s Snapshots) List(filter string) ([]common.Deletable, error)

type Subnets

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

func NewSubnets

func NewSubnets(client subnetsClient, logger logger, resourceTags resourceTags) 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

func (Tag) Type added in v0.16.0

func (t Tag) Type() 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, state *string) Volume

func (Volume) Delete

func (v Volume) Delete() error

func (Volume) Name

func (v Volume) Name() string

func (Volume) Type added in v0.16.0

func (v Volume) Type() 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,
	resourceTags resourceTags,
	id *string,
	tags []*awsec2.Tag) Vpc

func (Vpc) Delete

func (v Vpc) Delete() error

func (Vpc) Name

func (v Vpc) Name() string

func (Vpc) Type added in v0.16.0

func (v Vpc) Type() 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, resourceTags resourceTags) 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