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

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

Issue 9708044: state/api: Rest of provisioner API calls (Closed)
Left Patch Set: state/api: Rest of provisioner API calls Created 11 years, 10 months ago
Right Patch Set: state/api: Rest of provisioner API calls Created 11 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:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « state/api/apiclient.go ('k') | state/apiserver/api_test.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
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 "launchpad.net/juju-core/charm" 10 "launchpad.net/juju-core/charm"
(...skipping 22 matching lines...) Expand all
33 // Unit.SetStatus. 33 // Unit.SetStatus.
34 type SetStatus struct { 34 type SetStatus struct {
35 Status Status 35 Status Status
36 Info string 36 Info string
37 } 37 }
38 38
39 // StatusResults holds the results for Machine.Status and Unit.Status. 39 // StatusResults holds the results for Machine.Status and Unit.Status.
40 type StatusResults struct { 40 type StatusResults struct {
41 Status Status 41 Status Status
42 Info string 42 Info string
43 }
44
45 // SetMongoPassword holds the parameters for Machine.SetMongoPassword.
46 type SetMongoPassword struct {
47 Password string
48 } 43 }
49 44
50 // SetProvisioned holds the parameters for Machine.SetProvisioned. 45 // SetProvisioned holds the parameters for Machine.SetProvisioned.
51 type SetProvisioned struct { 46 type SetProvisioned struct {
52 InstanceId string 47 InstanceId string
53 Nonce string 48 Nonce string
54 } 49 }
55 50
56 // ConstraintsResults holds the results for Machine.Constraints and 51 // ConstraintsResults holds the results for Machine.Constraints and
57 // Service.Constraints. 52 // Service.Constraints.
(...skipping 402 matching lines...) Expand 10 before | Expand all | Expand 10 after
460 Tag string 455 Tag string
461 Annotations map[string]string 456 Annotations map[string]string
462 } 457 }
463 458
464 func (i *AnnotationInfo) EntityId() EntityId { 459 func (i *AnnotationInfo) EntityId() EntityId {
465 return EntityId{ 460 return EntityId{
466 Kind: "annotation", 461 Kind: "annotation",
467 Id: i.Tag, 462 Id: i.Tag,
468 } 463 }
469 } 464 }
LEFTRIGHT

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