Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(4296)

Side by Side Diff: state/api/params/params.go

Issue 99670044: Add output for ensure-availability command.
Patch Set: Add output for ensure-availability command. Created 10 years, 10 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View unified diff | Download patch
OLDNEW
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
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 {
fwereade 2014/06/02 09:50:03 Surely, this is not an anythingResult? It's a Stat
739 Added []string
740 Maintained []string
741 Removed []string
742 }
OLDNEW

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b