OLD | NEW |
1 // Copyright 2013 Canonical Ltd. | 1 // Copyright 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 params | 4 package params |
5 | 5 |
6 import ( | 6 import ( |
7 "bytes" | 7 "bytes" |
8 "encoding/json" | 8 "encoding/json" |
9 "fmt" | 9 "fmt" |
10 | 10 |
11 "launchpad.net/juju-core/charm" | 11 "launchpad.net/juju-core/charm" |
12 "launchpad.net/juju-core/constraints" | 12 "launchpad.net/juju-core/constraints" |
13 "launchpad.net/juju-core/instance" | 13 "launchpad.net/juju-core/instance" |
14 "launchpad.net/juju-core/tools" | 14 "launchpad.net/juju-core/tools" |
| 15 "launchpad.net/juju-core/version" |
15 ) | 16 ) |
16 | 17 |
17 // ErrorResults holds the results of calling a bulk operation which | 18 // ErrorResults holds the results of calling a bulk operation which |
18 // returns no data, only an error result. The order and | 19 // returns no data, only an error result. The order and |
19 // number of elements matches the operations specified in the request. | 20 // number of elements matches the operations specified in the request. |
20 type ErrorResults struct { | 21 type ErrorResults struct { |
21 // Results contains the error results from each operation. | 22 // Results contains the error results from each operation. |
22 Results []ErrorResult | 23 Results []ErrorResult |
23 } | 24 } |
24 | 25 |
(...skipping 477 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
502 // API call. | 503 // API call. |
503 type EnvironmentGetResults struct { | 504 type EnvironmentGetResults struct { |
504 Config map[string]interface{} | 505 Config map[string]interface{} |
505 } | 506 } |
506 | 507 |
507 // EnvironmentSet contains the arguments for EnvironmentSet client API | 508 // EnvironmentSet contains the arguments for EnvironmentSet client API |
508 // call. | 509 // call. |
509 type EnvironmentSet struct { | 510 type EnvironmentSet struct { |
510 Config map[string]interface{} | 511 Config map[string]interface{} |
511 } | 512 } |
| 513 |
| 514 // SetEnvironAgentVersion contains the arguments for |
| 515 // SetEnvironAgentVersion client API call. |
| 516 type SetEnvironAgentVersion struct { |
| 517 Version version.Number |
| 518 } |
OLD | NEW |