Skip to content

Instantly share code, notes, and snippets.

@kadams54
Created August 14, 2014 15:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kadams54/74a0c7c0a7e2c0b18b8b to your computer and use it in GitHub Desktop.
Save kadams54/74a0c7c0a7e2c0b18b8b to your computer and use it in GitHub Desktop.
var unplacedUnit = {
charmUrl: "cs:precise/mysql-48",
clientId: "serviceUnit_28",
displayName: "mysql/0",
id: "43000686$/0",
is_subordinate: false,
machine: "new0",
name: "serviceUnit",
number: 0,
service: "43000686$",
urlName: "43000686$-0"
};
var service = {
_dirtyFields: Array[0],
length: 0,
agregateRelationError: undefined,
aggregated_status: Object,
annotations: Object,
charm: "cs:precise/mysql-48",
charmChanged: false,
clientId: "service_27",
config: Object,
constraints: Object,
constraintsStr: undefined,
deleted: undefined,
destroyed: false,
displayName: "mysql",
exposed: false,
icon: "https://manage.jujucharms.com/api/3/charm/precise/mysql-48/file/icon.svg",
id: "mysql",
initialized: true,
life: "alive",
loaded: true,
loading: false,
name: "mysql",
packageName: "mysql",
pending: false,
relationChangeTrigger: Object,
relations: BuiltClass,
subordinate: false,
unit_count: 1,
units: BuiltClass,
upgrade_available: false,
upgrade_loaded: false,
upgrade_to: undefined
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment