Beispiel #1
0
func (e *Keypair) Run(c *fi.Context) error {
	err := e.normalize(c)
	if err != nil {
		return err
	}
	return fi.DefaultDeltaRunMethod(e, c)
}
Beispiel #2
0
func (e *LaunchConfiguration) Run(c *fi.Context) error {
	blockDeviceMappings, err := addEphemeralDevices(e.InstanceType, e.BlockDeviceMappings)
	if err != nil {
		return err
	}
	e.BlockDeviceMappings = blockDeviceMappings

	return fi.DefaultDeltaRunMethod(e, c)
}
Beispiel #3
0
func (e *SSHKey) Run(c *fi.Context) error {
	if e.KeyFingerprint == nil && e.PublicKey != nil {
		keyFingerprint, err := computeAwsKeyFingerprint(e.PublicKey)
		if err != nil {
			return fmt.Errorf("error computing key fingerpring for SSH key: %v", err)
		}
		glog.V(2).Infof("Computed SSH key fingerprint as %q", keyFingerprint)
		e.KeyFingerprint = &keyFingerprint
	}
	return fi.DefaultDeltaRunMethod(e, c)
}
Beispiel #4
0
func (e *Instance) Run(c *fi.Context) error {
	c.Cloud.(*awsup.AWSCloud).AddTags(e.Name, e.Tags)

	blockDeviceMappings, err := addEphemeralDevices(e.InstanceType, e.BlockDeviceMappings)
	if err != nil {
		return err
	}
	e.BlockDeviceMappings = blockDeviceMappings

	return fi.DefaultDeltaRunMethod(e, c)
}
Beispiel #5
0
func (e *InstanceTemplate) Run(c *fi.Context) error {
	return fi.DefaultDeltaRunMethod(e, c)
}
Beispiel #6
0
func (e *RouteTable) Run(c *fi.Context) error {
	return fi.DefaultDeltaRunMethod(e, c)
}
func (e *LoadBalancerHealthChecks) Run(c *fi.Context) error {
	return fi.DefaultDeltaRunMethod(e, c)
}
Beispiel #8
0
func (e *SecurityGroupRule) Run(c *fi.Context) error {
	return fi.DefaultDeltaRunMethod(e, c)
}
func (e *VPCDHCPOptionsAssociation) Run(c *fi.Context) error {
	return fi.DefaultDeltaRunMethod(e, c)
}
Beispiel #10
0
func (e *DHCPOptions) Run(c *fi.Context) error {
	return fi.DefaultDeltaRunMethod(e, c)
}
Beispiel #11
0
func (e *DNSName) Run(c *fi.Context) error {
	return fi.DefaultDeltaRunMethod(e, c)
}
Beispiel #12
0
func (e *EBSVolume) Run(c *fi.Context) error {
	c.Cloud.(*awsup.AWSCloud).AddTags(e.Name, e.Tags)
	return fi.DefaultDeltaRunMethod(e, c)
}
Beispiel #13
0
func (e *PersistentDisk) Run(c *fi.Context) error {
	return fi.DefaultDeltaRunMethod(e, c)
}
Beispiel #14
0
func (e *FirewallRule) Run(c *fi.Context) error {
	return fi.DefaultDeltaRunMethod(e, c)
}
Beispiel #15
0
func (e *ManagedInstanceGroup) Run(c *fi.Context) error {
	return fi.DefaultDeltaRunMethod(e, c)
}
Beispiel #16
0
func (e *Network) Run(c *fi.Context) error {
	return fi.DefaultDeltaRunMethod(e, c)
}
Beispiel #17
0
func (e *ElasticIP) Run(c *fi.Context) error {
	return fi.DefaultDeltaRunMethod(e, c)
}
func (e *InstanceVolumeAttachment) Run(c *fi.Context) error {
	return fi.DefaultDeltaRunMethod(e, c)
}
Beispiel #19
0
func (e *IPAddress) Run(c *fi.Context) error {
	return fi.DefaultDeltaRunMethod(e, c)
}
Beispiel #20
0
func (e *IAMRolePolicy) Run(c *fi.Context) error {
	return fi.DefaultDeltaRunMethod(e, c)
}
Beispiel #21
0
func (e *UpdatePackages) Run(c *fi.Context) error {
	return fi.DefaultDeltaRunMethod(e, c)
}
Beispiel #22
0
func (e *IAMInstanceProfileRole) Run(c *fi.Context) error {
	return fi.DefaultDeltaRunMethod(e, c)
}
Beispiel #23
0
func (e *Subnet) Run(c *fi.Context) error {
	return fi.DefaultDeltaRunMethod(e, c)
}
Beispiel #24
0
func (e *AutoscalingGroup) Run(c *fi.Context) error {
	c.Cloud.(*awsup.AWSCloud).AddTags(e.Name, e.Tags)
	return fi.DefaultDeltaRunMethod(e, c)
}
Beispiel #25
0
func (e *InternetGateway) Run(c *fi.Context) error {
	return fi.DefaultDeltaRunMethod(e, c)
}
Beispiel #26
0
func (e *MountDiskTask) Run(c *fi.Context) error {
	return fi.DefaultDeltaRunMethod(e, c)
}
Beispiel #27
0
func (e *UserTask) Run(c *fi.Context) error {
	return fi.DefaultDeltaRunMethod(e, c)
}
func (e *LoadBalancerAttachment) Run(c *fi.Context) error {
	return fi.DefaultDeltaRunMethod(e, c)
}