blank-container
Advanced tools
Comparing version 0.2.0 to 0.3.0
@@ -31,7 +31,11 @@ /* | ||
*/ | ||
var build = function build(cdef, out, cb) { | ||
/* | ||
* commented out as it the blank-container does not need any | ||
* specific building. | ||
var build = function build(mode, system, cdef, out, cb) { | ||
logger.info('building'); | ||
out.stdout('building'); | ||
cb(); | ||
cb(null, {}); | ||
}; | ||
*/ | ||
@@ -49,5 +53,3 @@ | ||
*/ | ||
var deploy = function deploy(target, system, containerDef, container, out, cb) { | ||
logger.info('deploying'); | ||
out.stdout('deploying'); | ||
var deploy = function deploy(mode, target, system, containerDef, container, out, cb) { | ||
cb(); | ||
@@ -67,5 +69,3 @@ }; | ||
*/ | ||
var undeploy = function undeploy(target, system, containerDef, container, out, cb) { | ||
logger.info('undeploying'); | ||
out.stdout('undeploying'); | ||
var undeploy = function undeploy(mode, target, system, containerDef, container, out, cb) { | ||
cb(); | ||
@@ -85,5 +85,3 @@ }; | ||
*/ | ||
var start = function start(target, system, containerDef, container, out, cb) { | ||
logger.info('starting'); | ||
out.stdout('starting'); | ||
var start = function start(mode, target, system, containerDef, container, out, cb) { | ||
cb(); | ||
@@ -103,5 +101,3 @@ }; | ||
*/ | ||
var stop = function stop(target, system, containerDef, container, out, cb) { | ||
logger.info('stopping'); | ||
out.stdout('stopping'); | ||
var stop = function stop(mode, target, system, containerDef, container, out, cb) { | ||
cb(); | ||
@@ -121,5 +117,3 @@ }; | ||
*/ | ||
var link = function link(target, system, containerDef, container, out, cb) { | ||
logger.info('linking'); | ||
out.stdout('linking'); | ||
var link = function link(mode, target, system, containerDef, container, out, cb) { | ||
cb(); | ||
@@ -139,5 +133,3 @@ }; | ||
*/ | ||
var unlink = function unlink(target, system, containerDef, container, out, cb) { | ||
logger.info('unlinking'); | ||
out.stdout('unlinking'); | ||
var unlink = function unlink(mode, target, system, containerDef, container, out, cb) { | ||
cb(); | ||
@@ -149,3 +141,2 @@ }; | ||
return { | ||
build: build, | ||
deploy: deploy, | ||
@@ -152,0 +143,0 @@ start: start, |
@@ -8,9 +8,10 @@ { | ||
"deployer", | ||
"empty", | ||
"container" | ||
], | ||
"version": "0.2.0", | ||
"version": "0.3.0", | ||
"license": "Artistic License 2.0", | ||
"author": "Peter Elger (http://nearform.com/)", | ||
"contributors": [ | ||
"Peter Elger <elger.peter@gmail.com> (http://peterelger.com/)" | ||
"Peter Elger <elger.peter@gmail.com> (http://peterelger.com/)", | ||
"Matteo Collina <matteo.collina@nearform.com>" | ||
], | ||
@@ -17,0 +18,0 @@ "engines": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
14102
115