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 |
(...skipping 713 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
724 | 724 |
725 // EnsureAvailability contains arguments for | 725 // EnsureAvailability contains arguments for |
726 // the EnsureAvailability client API call. | 726 // the EnsureAvailability client API call. |
727 type EnsureAvailability struct { | 727 type EnsureAvailability struct { |
728 NumStateServers int | 728 NumStateServers int |
729 Constraints constraints.Value | 729 Constraints constraints.Value |
730 // Series is the series to associate with new state server machines. | 730 // Series is the series to associate with new state server machines. |
731 // If this is empty, then the environment's default series is used. | 731 // If this is empty, then the environment's default series is used. |
732 Series string | 732 Series string |
733 } | 733 } |
| 734 |
| 735 // EnsureAvailabilityResult lists the servers |
| 736 // that have been added, removed or maintained in the |
| 737 // pool as a result of an ensure-availability operation. |
| 738 type EnsureAvailabilityResult struct { |
| 739 Added []string |
| 740 Maintained []string |
| 741 Removed []string |
| 742 } |
OLD | NEW |