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

Delta Between Two Patch Sets: state/api/params/params.go

Issue 75250043: Add DistributionGroup to StartInstanceParams
Left Patch Set: Created 10 years ago
Right Patch Set: Add DistributionGroup to StartInstanceParams Created 9 years, 12 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:
Right: Side by side diff | Download
« no previous file with change/comment | « provider/manual/environ.go ('k') | state/api/provisioner/machine.go » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
(no file at all)
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 629 matching lines...) Expand 10 before | Expand all | Expand 10 after
640 // StatusParams holds parameters for the Status call. 640 // StatusParams holds parameters for the Status call.
641 type StatusParams struct { 641 type StatusParams struct {
642 Patterns []string 642 Patterns []string
643 } 643 }
644 644
645 // SetRsyslogCertParams holds parameters for the SetRsyslogCert call. 645 // SetRsyslogCertParams holds parameters for the SetRsyslogCert call.
646 type SetRsyslogCertParams struct { 646 type SetRsyslogCertParams struct {
647 CACert []byte 647 CACert []byte
648 } 648 }
649 649
650 // DistributionGroupResult contains the result of
651 // the DistributionGroup provisioner API call.
652 type DistributionGroupResult struct {
653 Error *Error
654 Result []instance.Id
655 }
656
657 // DistributionGroupResults is the bulk form of
658 // DistributionGroupResult.
659 type DistributionGroupResults struct {
660 Results []DistributionGroupResult
661 }
662
650 // APIHostPortsResult holds the result of an APIHostPorts 663 // APIHostPortsResult holds the result of an APIHostPorts
651 // call. Each element in the top level slice holds 664 // call. Each element in the top level slice holds
652 // the addresses for one API server. 665 // the addresses for one API server.
653 type APIHostPortsResult struct { 666 type APIHostPortsResult struct {
654 Servers [][]instance.HostPort 667 Servers [][]instance.HostPort
655 } 668 }
656 669
657 // LoginResult holds the result of a Login call. 670 // LoginResult holds the result of a Login call.
658 type LoginResult struct { 671 type LoginResult struct {
659 Servers [][]instance.HostPort 672 Servers [][]instance.HostPort
660 } 673 }
661 674
662 // EnsureAvailability contains arguments for 675 // EnsureAvailability contains arguments for
663 // the EnsureAvailability client API call. 676 // the EnsureAvailability client API call.
664 type EnsureAvailability struct { 677 type EnsureAvailability struct {
665 NumStateServers int 678 NumStateServers int
666 Constraints constraints.Value 679 Constraints constraints.Value
667 // Series is the series to associate with new state server machines. 680 // Series is the series to associate with new state server machines.
668 // If this is empty, then the environment's default series is used. 681 // If this is empty, then the environment's default series is used.
669 Series string 682 Series string
670 } 683 }
LEFTRIGHT

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