OLD | NEW |
(Empty) | |
| 1 package params |
| 2 |
| 3 // ServiceExpose holds the parameters for making the ServiceExpose call. |
| 4 type ServiceExpose struct { |
| 5 ServiceName string |
| 6 } |
| 7 |
| 8 // ServiceSet holds the parameters for a ServiceSet |
| 9 // command. Options contains the configuration data. |
| 10 type ServiceSet struct { |
| 11 ServiceName string |
| 12 Options map[string]string |
| 13 } |
| 14 |
| 15 // ServiceSetYAML holds the parameters for |
| 16 // a ServiceSetYAML command. Config contains the |
| 17 // configuration data in YAML format. |
| 18 type ServiceSetYAML struct { |
| 19 ServiceName string |
| 20 Config string |
| 21 } |
| 22 |
| 23 // ServiceGet holds parameters for making the ServiceGet call. |
| 24 type ServiceGet struct { |
| 25 ServiceName string |
| 26 } |
| 27 |
| 28 // ServiceGetResults holds results of the ServiceGet call. |
| 29 type ServiceGetResults struct { |
| 30 Service string |
| 31 Charm string |
| 32 Settings map[string]interface{} |
| 33 } |
| 34 |
| 35 // ServiceUnexpose holds parameters for the ServiceUnexpose call. |
| 36 type ServiceUnexpose struct { |
| 37 ServiceName string |
| 38 } |
| 39 |
| 40 // Creds holds credentials for identifying an entity. |
| 41 type Creds struct { |
| 42 EntityName string |
| 43 Password string |
| 44 } |
| 45 |
| 46 // Machine holds details of a machine. |
| 47 type Machine struct { |
| 48 InstanceId string |
| 49 } |
| 50 |
| 51 // EntityWatcherId holds the id of an EntityWatcher. |
| 52 type EntityWatcherId struct { |
| 53 EntityWatcherId string |
| 54 } |
| 55 |
| 56 // Password holds a password. |
| 57 type Password struct { |
| 58 Password string |
| 59 } |
| 60 |
| 61 // Unit holds details of a unit. |
| 62 type Unit struct { |
| 63 DeployerName string |
| 64 // TODO(rog) other unit attributes. |
| 65 } |
| 66 |
| 67 // User holds details of a user. |
| 68 type User struct { |
| 69 // This is a placeholder for any information |
| 70 // that may be associated with a user in the |
| 71 // future. |
| 72 } |
OLD | NEW |