OLD | NEW |
1 // Copyright 2011, 2012, 2013 Canonical Ltd. | 1 // Copyright 2011, 2012, 2013 Canonical Ltd. |
2 // Licensed under the AGPLv3, see LICENCE file for details. | 2 // Licensed under the AGPLv3, see LICENCE file for details. |
3 | 3 |
4 package azure | 4 package azure |
5 | 5 |
6 import ( | 6 import ( |
7 » "launchpad.net/juju-core/environs" | 7 » "launchpad.net/juju-core/instance" |
8 "launchpad.net/juju-core/state" | 8 "launchpad.net/juju-core/state" |
9 "launchpad.net/juju-core/state/api/params" | 9 "launchpad.net/juju-core/state/api/params" |
10 ) | 10 ) |
11 | 11 |
12 type azureInstance struct{} | 12 type azureInstance struct{} |
13 | 13 |
14 // azureInstance implements Instance. | 14 // azureInstance implements Instance. |
15 var _ environs.Instance = (*azureInstance)(nil) | 15 var _ instance.Instance = (*azureInstance)(nil) |
16 | 16 |
17 // Id is specified in the Instance interface. | 17 // Id is specified in the Instance interface. |
18 func (instance *azureInstance) Id() state.InstanceId { | 18 func (instance *azureInstance) Id() state.InstanceId { |
19 panic("unimplemented") | 19 panic("unimplemented") |
20 } | 20 } |
21 | 21 |
22 // DNSName is specified in the Instance interface. | 22 // DNSName is specified in the Instance interface. |
23 func (instance *azureInstance) DNSName() (string, error) { | 23 func (instance *azureInstance) DNSName() (string, error) { |
24 panic("unimplemented") | 24 panic("unimplemented") |
25 } | 25 } |
(...skipping 10 matching lines...) Expand all Loading... |
36 | 36 |
37 // ClosePorts is specified in the Instance interface. | 37 // ClosePorts is specified in the Instance interface. |
38 func (instance *azureInstance) ClosePorts(machineId string, ports []params.Port)
error { | 38 func (instance *azureInstance) ClosePorts(machineId string, ports []params.Port)
error { |
39 panic("unimplemented") | 39 panic("unimplemented") |
40 } | 40 } |
41 | 41 |
42 // Ports is specified in the Instance interface. | 42 // Ports is specified in the Instance interface. |
43 func (instance *azureInstance) Ports(machineId string) ([]params.Port, error) { | 43 func (instance *azureInstance) Ports(machineId string) ([]params.Port, error) { |
44 panic("unimplemented") | 44 panic("unimplemented") |
45 } | 45 } |
OLD | NEW |