Skip to content

Instantly share code, notes, and snippets.

@guojh
Created March 24, 2013 15:11
Show Gist options
  • Save guojh/5232289 to your computer and use it in GitHub Desktop.
Save guojh/5232289 to your computer and use it in GitHub Desktop.
{
server: {
name: 's',
main_domain_name: 's',
net: {
ip_list: [
'...'
]
},
storate: {
partition_name: {
size: bytes,
free_space: bytes
},
'...'
}
},
repos: {
repo_name: {
upstream: {
type: 'rsync',
host: 's',
port: 999,
path: 's'
},
storage: partition_name,
size: bytes,
status: 'syncing/synced/bad',
last_update: timestamp,
last_success_update: timestamp,
next_update: timestamp
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment