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 // Entity identifies a single entity. | 6 // Entity identifies a single entity. |
7 type Entity struct { | 7 type Entity struct { |
8 Tag string | 8 Tag string |
9 } | 9 } |
10 | 10 |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
45 | 45 |
46 // MachineAgentGetMachinesResult holds the results of a | 46 // MachineAgentGetMachinesResult holds the results of a |
47 // machineagent.API.GetMachines call for a single machine. | 47 // machineagent.API.GetMachines call for a single machine. |
48 type MachineAgentGetMachinesResult struct { | 48 type MachineAgentGetMachinesResult struct { |
49 Life Life | 49 Life Life |
50 Jobs []MachineJob | 50 Jobs []MachineJob |
51 Error *Error | 51 Error *Error |
52 } | 52 } |
53 | 53 |
54 // AgentTools describes the tools for a given Agent. This is mostly a flattened | 54 // AgentTools describes the tools for a given Agent. This is mostly a flattened |
55 // state.Tools description, plus an agent Tag field. | 55 // tools.Tools description, plus an agent Tag field. |
56 type AgentTools struct { | 56 type AgentTools struct { |
57 Tag string | 57 Tag string |
58 Major int | 58 Major int |
59 Minor int | 59 Minor int |
60 Patch int | 60 Patch int |
61 Build int | 61 Build int |
62 Arch string | 62 Arch string |
63 Series string | 63 Series string |
64 URL string | 64 URL string |
65 } | 65 } |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
121 StringsWatcherId string | 121 StringsWatcherId string |
122 Changes []string | 122 Changes []string |
123 Error *Error | 123 Error *Error |
124 } | 124 } |
125 | 125 |
126 // StringsWatchResults holds the results for any API call which ends up | 126 // StringsWatchResults holds the results for any API call which ends up |
127 // returning a list of StringsWatchers. | 127 // returning a list of StringsWatchers. |
128 type StringsWatchResults struct { | 128 type StringsWatchResults struct { |
129 Results []StringsWatchResult | 129 Results []StringsWatchResult |
130 } | 130 } |
OLD | NEW |