resource-replicator v0.4.2
replicator
provides an application replication API for resource based apps
API
properties
methods
push (options, callback)
pull (options, callback)
checkout (options, callback)
listen (callback)
start (callback)
provides an application replication API for resource based apps
id
- type : any
methods
replicator.push(options, callback)
pushes local big instance to a remote big instance
options
type : object
properties
host
description : the host to push to
type : string
default : biginternetcompany.net
port
description : the port to push to
type : string
default : 8888
callback
- type : function
replicator.pull(options, callback)
pulls a big instance from a remote big instance
options
- type : object
callback
- type : function
replicator.checkout(options, callback)
checks out a local git repo into a directory
options
type : object
properties
repo
description : the repo to checkout
type : string
path
description : the path to check the repo out to
type : string
callback
- type : function
replicator.listen(callback)
starts a listening replicator service capable of recieving push requests
callback
- type : function
replicator.start(callback)
starts a listening replicator service capable of recieving push requests
callback
- type : function
dependencies
- pushover v1.1.0
README auto-generated with docs