~juju-qa/ubuntu/xenial/juju/xenial-2.0-beta3

« back to all changes in this revision

Viewing changes to src/github.com/juju/juju/provider/ec2/export_test.go

  • Committer: Martin Packman
  • Date: 2016-03-30 19:31:08 UTC
  • mfrom: (1.1.41)
  • Revision ID: martin.packman@canonical.com-20160330193108-h9iz3ak334uk0z5r
Merge new upstream source 2.0~beta3

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
        return vs.(*ebsVolumeSource).ec2
28
28
}
29
29
 
30
 
func ControlBucketName(e environs.Environ) string {
31
 
        return e.(*environ).ecfg().controlBucket()
32
 
}
33
 
 
34
30
func JujuGroupName(e environs.Environ) string {
35
31
        return e.(*environ).jujuGroupName()
36
32
}
43
39
        return e.(*environ).ec2()
44
40
}
45
41
 
46
 
func EnvironS3(e environs.Environ) *s3.S3 {
47
 
        return e.(*environ).s3()
48
 
}
49
 
 
50
42
func InstanceEC2(inst instance.Instance) *ec2.Instance {
51
43
        return inst.(*ec2Instance).Instance
52
44
}