Documentation ¶
Index ¶
- Constants
- type AutoscalingGroup
- func (s *AutoscalingGroup) CheckChanges(a, e, changes *AutoscalingGroup) error
- func (s *AutoscalingGroup) CompareWithID() *string
- func (e *AutoscalingGroup) Find(c *fi.Context) (*AutoscalingGroup, error)
- func (_ *AutoscalingGroup) RenderAWS(t *awsup.AWSAPITarget, a, e, changes *AutoscalingGroup) error
- func (e *AutoscalingGroup) Run(c *fi.Context) error
- type BlockDeviceMapping
- type DHCPOptions
- func (s *DHCPOptions) CheckChanges(a, e, changes *DHCPOptions) error
- func (s *DHCPOptions) CompareWithID() *string
- func (e *DHCPOptions) Find(c *fi.Context) (*DHCPOptions, error)
- func (_ *DHCPOptions) RenderAWS(t *awsup.AWSAPITarget, a, e, changes *DHCPOptions) error
- func (e *DHCPOptions) Run(c *fi.Context) error
- func (e *DHCPOptions) String() string
- type EBSVolume
- func (_ *EBSVolume) CheckChanges(a, e, changes *EBSVolume) error
- func (e *EBSVolume) CompareWithID() *string
- func (e *EBSVolume) Find(context *fi.Context) (*EBSVolume, error)
- func (e *EBSVolume) FindResourceID(c fi.Cloud) (*string, error)
- func (_ *EBSVolume) RenderAWS(t *awsup.AWSAPITarget, a, e, changes *EBSVolume) error
- func (e *EBSVolume) Run(c *fi.Context) error
- func (e *EBSVolume) String() string
- type ElasticIP
- func (s *ElasticIP) CheckChanges(a, e, changes *ElasticIP) error
- func (e *ElasticIP) CompareWithID() *string
- func (e *ElasticIP) Find(context *fi.Context) (*ElasticIP, error)
- func (e *ElasticIP) FindAddress(c fi.Cloud) (*string, error)
- func (_ *ElasticIP) RenderAWS(t *awsup.AWSAPITarget, a, e, changes *ElasticIP) error
- func (e *ElasticIP) Run(c *fi.Context) error
- func (e *ElasticIP) String() string
- type IAMInstanceProfile
- func (s *IAMInstanceProfile) CheckChanges(a, e, changes *IAMInstanceProfile) error
- func (e *IAMInstanceProfile) CompareWithID() *string
- func (e *IAMInstanceProfile) Find(c *fi.Context) (*IAMInstanceProfile, error)
- func (_ *IAMInstanceProfile) RenderAWS(t *awsup.AWSAPITarget, a, e, changes *IAMInstanceProfile) error
- func (e *IAMInstanceProfile) Run(c *fi.Context) error
- func (e *IAMInstanceProfile) String() string
- type IAMInstanceProfileRole
- func (s *IAMInstanceProfileRole) CheckChanges(a, e, changes *IAMInstanceProfileRole) error
- func (e *IAMInstanceProfileRole) Find(c *fi.Context) (*IAMInstanceProfileRole, error)
- func (_ *IAMInstanceProfileRole) RenderAWS(t *awsup.AWSAPITarget, a, e, changes *IAMInstanceProfileRole) error
- func (e *IAMInstanceProfileRole) Run(c *fi.Context) error
- func (e *IAMInstanceProfileRole) String() string
- type IAMRole
- func (s *IAMRole) CheckChanges(a, e, changes *IAMRole) error
- func (e *IAMRole) CompareWithID() *string
- func (e *IAMRole) Find(c *fi.Context) (*IAMRole, error)
- func (_ *IAMRole) RenderAWS(t *awsup.AWSAPITarget, a, e, changes *IAMRole) error
- func (e *IAMRole) Run(c *fi.Context) error
- func (e *IAMRole) String() string
- type IAMRolePolicy
- func (s *IAMRolePolicy) CheckChanges(a, e, changes *IAMRolePolicy) error
- func (e *IAMRolePolicy) Find(c *fi.Context) (*IAMRolePolicy, error)
- func (_ *IAMRolePolicy) RenderAWS(t *awsup.AWSAPITarget, a, e, changes *IAMRolePolicy) error
- func (e *IAMRolePolicy) Run(c *fi.Context) error
- func (e *IAMRolePolicy) String() string
- type Instance
- type InstanceElasticIPAttachment
- func (s *InstanceElasticIPAttachment) CheckChanges(a, e, changes *InstanceElasticIPAttachment) error
- func (e *InstanceElasticIPAttachment) Find(c *fi.Context) (*InstanceElasticIPAttachment, error)
- func (_ *InstanceElasticIPAttachment) RenderAWS(t *awsup.AWSAPITarget, a, e, changes *InstanceElasticIPAttachment) error
- func (e *InstanceElasticIPAttachment) Run(c *fi.Context) error
- func (e *InstanceElasticIPAttachment) String() string
- type InstanceVolumeAttachment
- func (s *InstanceVolumeAttachment) CheckChanges(a, e, changes *InstanceVolumeAttachment) error
- func (e *InstanceVolumeAttachment) Find(c *fi.Context) (*InstanceVolumeAttachment, error)
- func (_ *InstanceVolumeAttachment) RenderAWS(t *awsup.AWSAPITarget, a, e, changes *InstanceVolumeAttachment) error
- func (e *InstanceVolumeAttachment) Run(c *fi.Context) error
- func (e *InstanceVolumeAttachment) String() string
- type InternetGateway
- func (s *InternetGateway) CheckChanges(a, e, changes *InternetGateway) error
- func (e *InternetGateway) CompareWithID() *string
- func (e *InternetGateway) Find(c *fi.Context) (*InternetGateway, error)
- func (_ *InternetGateway) RenderAWS(t *awsup.AWSAPITarget, a, e, changes *InternetGateway) error
- func (e *InternetGateway) Run(c *fi.Context) error
- func (e *InternetGateway) String() string
- type InternetGatewayAttachment
- func (s *InternetGatewayAttachment) CheckChanges(a, e, changes *InternetGatewayAttachment) error
- func (e *InternetGatewayAttachment) Find(c *fi.Context) (*InternetGatewayAttachment, error)
- func (_ *InternetGatewayAttachment) RenderAWS(t *awsup.AWSAPITarget, a, e, changes *InternetGatewayAttachment) error
- func (e *InternetGatewayAttachment) Run(c *fi.Context) error
- func (e *InternetGatewayAttachment) String() string
- type Route
- type RouteTable
- func (s *RouteTable) CheckChanges(a, e, changes *RouteTable) error
- func (s *RouteTable) CompareWithID() *string
- func (e *RouteTable) Find(c *fi.Context) (*RouteTable, error)
- func (_ *RouteTable) RenderAWS(t *awsup.AWSAPITarget, a, e, changes *RouteTable) error
- func (e *RouteTable) Run(c *fi.Context) error
- func (e *RouteTable) String() string
- type RouteTableAssociation
- func (s *RouteTableAssociation) CheckChanges(a, e, changes *RouteTableAssociation) error
- func (s *RouteTableAssociation) CompareWithID() *string
- func (e *RouteTableAssociation) Find(c *fi.Context) (*RouteTableAssociation, error)
- func (_ *RouteTableAssociation) RenderAWS(t *awsup.AWSAPITarget, a, e, changes *RouteTableAssociation) error
- func (e *RouteTableAssociation) Run(c *fi.Context) error
- func (e *RouteTableAssociation) String() string
- type SSHKey
- func (s *SSHKey) CheckChanges(a, e, changes *SSHKey) error
- func (e *SSHKey) CompareWithID() *string
- func (e *SSHKey) Find(c *fi.Context) (*SSHKey, error)
- func (_ *SSHKey) RenderAWS(t *awsup.AWSAPITarget, a, e, changes *SSHKey) error
- func (e *SSHKey) Run(c *fi.Context) error
- func (e *SSHKey) String() string
- type SecurityGroup
- func (_ *SecurityGroup) CheckChanges(a, e, changes *SecurityGroup) error
- func (e *SecurityGroup) CompareWithID() *string
- func (e *SecurityGroup) Find(c *fi.Context) (*SecurityGroup, error)
- func (_ *SecurityGroup) RenderAWS(t *awsup.AWSAPITarget, a, e, changes *SecurityGroup) error
- func (e *SecurityGroup) Run(c *fi.Context) error
- func (e *SecurityGroup) String() string
- type SecurityGroupIngress
- func (_ *SecurityGroupIngress) CheckChanges(a, e, changes *SecurityGroupIngress) error
- func (e *SecurityGroupIngress) Find(c *fi.Context) (*SecurityGroupIngress, error)
- func (_ *SecurityGroupIngress) RenderAWS(t *awsup.AWSAPITarget, a, e, changes *SecurityGroupIngress) error
- func (e *SecurityGroupIngress) Run(c *fi.Context) error
- func (e *SecurityGroupIngress) String() string
- type Subnet
- func (s *Subnet) CheckChanges(a, e, changes *Subnet) error
- func (s *Subnet) CompareWithID() *string
- func (e *Subnet) Find(c *fi.Context) (*Subnet, error)
- func (_ *Subnet) RenderAWS(t *awsup.AWSAPITarget, a, e, changes *Subnet) error
- func (e *Subnet) Run(c *fi.Context) error
- func (e *Subnet) String() string
- type TaggableResource
- type VPC
- type VPCDHCPOptionsAssociation
- func (s *VPCDHCPOptionsAssociation) CheckChanges(a, e, changes *VPCDHCPOptionsAssociation) error
- func (e *VPCDHCPOptionsAssociation) Find(c *fi.Context) (*VPCDHCPOptionsAssociation, error)
- func (_ *VPCDHCPOptionsAssociation) RenderAWS(t *awsup.AWSAPITarget, a, e, changes *VPCDHCPOptionsAssociation) error
- func (e *VPCDHCPOptionsAssociation) Run(c *fi.Context) error
- func (e *VPCDHCPOptionsAssociation) String() string
Constants ¶
View Source
const MaxUserDataSize = 16384
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AutoscalingGroup ¶
type AutoscalingGroup struct { Name *string UserData fi.Resource MinSize *int64 MaxSize *int64 Subnet *Subnet Tags map[string]string ImageID *string InstanceType *string SSHKey *SSHKey SecurityGroups []*SecurityGroup AssociatePublicIP *bool BlockDeviceMappings []*BlockDeviceMapping IAMInstanceProfile *IAMInstanceProfile // contains filtered or unexported fields }
This one is a little weird because we can't update a launch configuration So we have to create the launch configuration as part of the group
func (*AutoscalingGroup) CheckChanges ¶
func (s *AutoscalingGroup) CheckChanges(a, e, changes *AutoscalingGroup) error
func (*AutoscalingGroup) CompareWithID ¶
func (s *AutoscalingGroup) CompareWithID() *string
func (*AutoscalingGroup) Find ¶
func (e *AutoscalingGroup) Find(c *fi.Context) (*AutoscalingGroup, error)
func (*AutoscalingGroup) RenderAWS ¶
func (_ *AutoscalingGroup) RenderAWS(t *awsup.AWSAPITarget, a, e, changes *AutoscalingGroup) error
type BlockDeviceMapping ¶
func BlockDeviceMappingFromAutoscaling ¶
func BlockDeviceMappingFromAutoscaling(i *autoscaling.BlockDeviceMapping) *BlockDeviceMapping
func BlockDeviceMappingFromEC2 ¶
func BlockDeviceMappingFromEC2(i *ec2.BlockDeviceMapping) *BlockDeviceMapping
func (*BlockDeviceMapping) ToAutoscaling ¶
func (i *BlockDeviceMapping) ToAutoscaling() *autoscaling.BlockDeviceMapping
func (*BlockDeviceMapping) ToEC2 ¶
func (i *BlockDeviceMapping) ToEC2() *ec2.BlockDeviceMapping
type DHCPOptions ¶
func (*DHCPOptions) CheckChanges ¶
func (s *DHCPOptions) CheckChanges(a, e, changes *DHCPOptions) error
func (*DHCPOptions) CompareWithID ¶
func (s *DHCPOptions) CompareWithID() *string
func (*DHCPOptions) Find ¶
func (e *DHCPOptions) Find(c *fi.Context) (*DHCPOptions, error)
func (*DHCPOptions) RenderAWS ¶
func (_ *DHCPOptions) RenderAWS(t *awsup.AWSAPITarget, a, e, changes *DHCPOptions) error
func (*DHCPOptions) String ¶
func (e *DHCPOptions) String() string
type EBSVolume ¶
type EBSVolume struct { ID *string AvailabilityZone *string VolumeType *string SizeGB *int64 Name *string }
func (*EBSVolume) CheckChanges ¶
func (*EBSVolume) CompareWithID ¶
type ElasticIP ¶
type ElasticIP struct { ID *string PublicIP *string // Because ElasticIPs don't supporting tagging (sadly), we instead tag on // a different resource TagUsingKey *string TagOnResource fi.Task }
func (*ElasticIP) CheckChanges ¶
func (*ElasticIP) CompareWithID ¶
type IAMInstanceProfile ¶
func (*IAMInstanceProfile) CheckChanges ¶
func (s *IAMInstanceProfile) CheckChanges(a, e, changes *IAMInstanceProfile) error
func (*IAMInstanceProfile) CompareWithID ¶
func (e *IAMInstanceProfile) CompareWithID() *string
func (*IAMInstanceProfile) Find ¶
func (e *IAMInstanceProfile) Find(c *fi.Context) (*IAMInstanceProfile, error)
func (*IAMInstanceProfile) RenderAWS ¶
func (_ *IAMInstanceProfile) RenderAWS(t *awsup.AWSAPITarget, a, e, changes *IAMInstanceProfile) error
func (*IAMInstanceProfile) String ¶
func (e *IAMInstanceProfile) String() string
type IAMInstanceProfileRole ¶
type IAMInstanceProfileRole struct { InstanceProfile *IAMInstanceProfile Role *IAMRole }
func (*IAMInstanceProfileRole) CheckChanges ¶
func (s *IAMInstanceProfileRole) CheckChanges(a, e, changes *IAMInstanceProfileRole) error
func (*IAMInstanceProfileRole) Find ¶
func (e *IAMInstanceProfileRole) Find(c *fi.Context) (*IAMInstanceProfileRole, error)
func (*IAMInstanceProfileRole) RenderAWS ¶
func (_ *IAMInstanceProfileRole) RenderAWS(t *awsup.AWSAPITarget, a, e, changes *IAMInstanceProfileRole) error
func (*IAMInstanceProfileRole) String ¶
func (e *IAMInstanceProfileRole) String() string
type IAMRole ¶
type IAMRole struct { ID *string Name *string RolePolicyDocument fi.Resource // "inline" IAM policy }
func (*IAMRole) CheckChanges ¶
func (*IAMRole) CompareWithID ¶
type IAMRolePolicy ¶
func (*IAMRolePolicy) CheckChanges ¶
func (s *IAMRolePolicy) CheckChanges(a, e, changes *IAMRolePolicy) error
func (*IAMRolePolicy) Find ¶
func (e *IAMRolePolicy) Find(c *fi.Context) (*IAMRolePolicy, error)
func (*IAMRolePolicy) RenderAWS ¶
func (_ *IAMRolePolicy) RenderAWS(t *awsup.AWSAPITarget, a, e, changes *IAMRolePolicy) error
func (*IAMRolePolicy) String ¶
func (e *IAMRolePolicy) String() string
type Instance ¶
type Instance struct { ID *string UserData fi.Resource Subnet *Subnet PrivateIPAddress *string Name *string Tags map[string]string ImageID *string InstanceType *string SSHKey *SSHKey SecurityGroups []*SecurityGroup AssociatePublicIP *bool BlockDeviceMappings []*BlockDeviceMapping IAMInstanceProfile *IAMInstanceProfile }
func (*Instance) CheckChanges ¶
func (*Instance) CompareWithID ¶
type InstanceElasticIPAttachment ¶
func (*InstanceElasticIPAttachment) CheckChanges ¶
func (s *InstanceElasticIPAttachment) CheckChanges(a, e, changes *InstanceElasticIPAttachment) error
func (*InstanceElasticIPAttachment) Find ¶
func (e *InstanceElasticIPAttachment) Find(c *fi.Context) (*InstanceElasticIPAttachment, error)
func (*InstanceElasticIPAttachment) RenderAWS ¶
func (_ *InstanceElasticIPAttachment) RenderAWS(t *awsup.AWSAPITarget, a, e, changes *InstanceElasticIPAttachment) error
func (*InstanceElasticIPAttachment) Run ¶
func (e *InstanceElasticIPAttachment) Run(c *fi.Context) error
func (*InstanceElasticIPAttachment) String ¶
func (e *InstanceElasticIPAttachment) String() string
type InstanceVolumeAttachment ¶
func (*InstanceVolumeAttachment) CheckChanges ¶
func (s *InstanceVolumeAttachment) CheckChanges(a, e, changes *InstanceVolumeAttachment) error
func (*InstanceVolumeAttachment) Find ¶
func (e *InstanceVolumeAttachment) Find(c *fi.Context) (*InstanceVolumeAttachment, error)
func (*InstanceVolumeAttachment) RenderAWS ¶
func (_ *InstanceVolumeAttachment) RenderAWS(t *awsup.AWSAPITarget, a, e, changes *InstanceVolumeAttachment) error
func (*InstanceVolumeAttachment) String ¶
func (e *InstanceVolumeAttachment) String() string
type InternetGateway ¶
func (*InternetGateway) CheckChanges ¶
func (s *InternetGateway) CheckChanges(a, e, changes *InternetGateway) error
func (*InternetGateway) CompareWithID ¶
func (e *InternetGateway) CompareWithID() *string
func (*InternetGateway) Find ¶
func (e *InternetGateway) Find(c *fi.Context) (*InternetGateway, error)
func (*InternetGateway) RenderAWS ¶
func (_ *InternetGateway) RenderAWS(t *awsup.AWSAPITarget, a, e, changes *InternetGateway) error
func (*InternetGateway) String ¶
func (e *InternetGateway) String() string
type InternetGatewayAttachment ¶
type InternetGatewayAttachment struct { VPC *VPC InternetGateway *InternetGateway }
func (*InternetGatewayAttachment) CheckChanges ¶
func (s *InternetGatewayAttachment) CheckChanges(a, e, changes *InternetGatewayAttachment) error
func (*InternetGatewayAttachment) Find ¶
func (e *InternetGatewayAttachment) Find(c *fi.Context) (*InternetGatewayAttachment, error)
func (*InternetGatewayAttachment) RenderAWS ¶
func (_ *InternetGatewayAttachment) RenderAWS(t *awsup.AWSAPITarget, a, e, changes *InternetGatewayAttachment) error
func (*InternetGatewayAttachment) Run ¶
func (e *InternetGatewayAttachment) Run(c *fi.Context) error
func (*InternetGatewayAttachment) String ¶
func (e *InternetGatewayAttachment) String() string
type Route ¶
type Route struct { RouteTable *RouteTable InternetGateway *InternetGateway Instance *Instance CIDR *string }
func (*Route) CheckChanges ¶
type RouteTable ¶
func (*RouteTable) CheckChanges ¶
func (s *RouteTable) CheckChanges(a, e, changes *RouteTable) error
func (*RouteTable) CompareWithID ¶
func (s *RouteTable) CompareWithID() *string
func (*RouteTable) Find ¶
func (e *RouteTable) Find(c *fi.Context) (*RouteTable, error)
func (*RouteTable) RenderAWS ¶
func (_ *RouteTable) RenderAWS(t *awsup.AWSAPITarget, a, e, changes *RouteTable) error
func (*RouteTable) String ¶
func (e *RouteTable) String() string
type RouteTableAssociation ¶
type RouteTableAssociation struct { ID *string RouteTable *RouteTable Subnet *Subnet }
func (*RouteTableAssociation) CheckChanges ¶
func (s *RouteTableAssociation) CheckChanges(a, e, changes *RouteTableAssociation) error
func (*RouteTableAssociation) CompareWithID ¶
func (s *RouteTableAssociation) CompareWithID() *string
func (*RouteTableAssociation) Find ¶
func (e *RouteTableAssociation) Find(c *fi.Context) (*RouteTableAssociation, error)
func (*RouteTableAssociation) RenderAWS ¶
func (_ *RouteTableAssociation) RenderAWS(t *awsup.AWSAPITarget, a, e, changes *RouteTableAssociation) error
func (*RouteTableAssociation) String ¶
func (e *RouteTableAssociation) String() string
type SSHKey ¶
func (*SSHKey) CheckChanges ¶
func (*SSHKey) CompareWithID ¶
type SecurityGroup ¶
func (*SecurityGroup) CheckChanges ¶
func (_ *SecurityGroup) CheckChanges(a, e, changes *SecurityGroup) error
func (*SecurityGroup) CompareWithID ¶
func (e *SecurityGroup) CompareWithID() *string
func (*SecurityGroup) Find ¶
func (e *SecurityGroup) Find(c *fi.Context) (*SecurityGroup, error)
func (*SecurityGroup) RenderAWS ¶
func (_ *SecurityGroup) RenderAWS(t *awsup.AWSAPITarget, a, e, changes *SecurityGroup) error
func (*SecurityGroup) String ¶
func (e *SecurityGroup) String() string
type SecurityGroupIngress ¶
type SecurityGroupIngress struct { SecurityGroup *SecurityGroup CIDR *string Protocol *string FromPort *int64 ToPort *int64 SourceGroup *SecurityGroup }
func (*SecurityGroupIngress) CheckChanges ¶
func (_ *SecurityGroupIngress) CheckChanges(a, e, changes *SecurityGroupIngress) error
func (*SecurityGroupIngress) Find ¶
func (e *SecurityGroupIngress) Find(c *fi.Context) (*SecurityGroupIngress, error)
func (*SecurityGroupIngress) RenderAWS ¶
func (_ *SecurityGroupIngress) RenderAWS(t *awsup.AWSAPITarget, a, e, changes *SecurityGroupIngress) error
func (*SecurityGroupIngress) String ¶
func (e *SecurityGroupIngress) String() string
type Subnet ¶
func (*Subnet) CheckChanges ¶
func (*Subnet) CompareWithID ¶
type TaggableResource ¶
type VPC ¶
type VPC struct { Name *string ID *string CIDR *string EnableDNSHostnames *bool EnableDNSSupport *bool }
func (*VPC) CheckChanges ¶
func (*VPC) CompareWithID ¶
type VPCDHCPOptionsAssociation ¶
type VPCDHCPOptionsAssociation struct { VPC *VPC DHCPOptions *DHCPOptions }
func (*VPCDHCPOptionsAssociation) CheckChanges ¶
func (s *VPCDHCPOptionsAssociation) CheckChanges(a, e, changes *VPCDHCPOptionsAssociation) error
func (*VPCDHCPOptionsAssociation) Find ¶
func (e *VPCDHCPOptionsAssociation) Find(c *fi.Context) (*VPCDHCPOptionsAssociation, error)
func (*VPCDHCPOptionsAssociation) RenderAWS ¶
func (_ *VPCDHCPOptionsAssociation) RenderAWS(t *awsup.AWSAPITarget, a, e, changes *VPCDHCPOptionsAssociation) error
func (*VPCDHCPOptionsAssociation) Run ¶
func (e *VPCDHCPOptionsAssociation) Run(c *fi.Context) error
func (*VPCDHCPOptionsAssociation) String ¶
func (e *VPCDHCPOptionsAssociation) String() string
Source Files ¶
- autoscaling_group.go
- block_device_mappings.go
- dhcp_options.go
- ebs_volume.go
- elastic_ip.go
- iam_instance_profile.go
- iam_instance_profile_role.go
- iam_role.go
- iam_role_policy.go
- instance.go
- instance_elasticip_attachment.go
- instance_volume_attachment.go
- internet_gateway.go
- internet_gateway_attachment.go
- route.go
- route_table.go
- route_table_association.go
- security_group.go
- security_group_ingress.go
- ssh_key.go
- subnet.go
- vpc.go
- vpc_dhcpoptions_association.go
Click to show internal directories.
Click to hide internal directories.