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

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

Issue 21940044: cmd/juju: upgrade-juju uses the API (Closed)
Patch Set: cmd/juju: upgrade-juju uses the API Created 10 years, 4 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
« no previous file with comments | « state/api/client.go ('k') | state/apiserver/client/client.go » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
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
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 }
OLDNEW
« no previous file with comments | « state/api/client.go ('k') | state/apiserver/client/client.go » ('j') | no next file with comments »

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