Class: ShellDeployer
Webda Deployer
WebdaDeployer/ShellDeployer
Extends
Constructors
new ShellDeployer(manager, resources)
new ShellDeployer(
manager
,resources
):ShellDeployer
Parameters
• manager: DeploymentManager
• resources: ShellDeployerResources
= undefined
Returns
Inherited from
Source
packages/shell/src/deployers/deployer.ts:41
Properties
_defaulted
_defaulted:
boolean
=false
Inherited from
Source
packages/shell/src/deployers/deployer.ts:27
app
app:
SourceApplication
Current application being deployed
Inherited from
Source
packages/shell/src/deployers/deployer.ts:22
logger
logger:
Logger
Logger to use
Inherited from
Source
packages/shell/src/deployers/deployer.ts:31
manager
manager:
DeploymentManager
Service who manage all deployments
See
DeploymentManager
Inherited from
Source
packages/shell/src/deployers/deployer.ts:18
name
name:
string
Inherited from
Source
packages/shell/src/deployers/deployer.ts:32
now
now:
number
Current date
Inherited from
Source
packages/shell/src/deployers/deployer.ts:37
packageDescription
packageDescription:
any
Package description from package.json
Inherited from
Source
packages/shell/src/deployers/deployer.ts:26
parameters
parameters:
any
Inherited from
Source
packages/shell/src/deployers/deployer.ts:39
resources
resources:
ShellDeployerResources
Inherited from
Source
packages/core/lib/utils/abstractdeployer.d.ts:7
type
type:
string
Inherited from
Source
packages/shell/src/deployers/deployer.ts:33
Methods
defaultResources()
defaultResources():
Promise
<void
>
Initiate the default value for resources
Returns
Promise
<void
>
Inherited from
Source
packages/shell/src/deployers/deployer.ts:77
deploy()
deploy():
Promise
<void
>
Deploy the application
Returns
Promise
<void
>
Overrides
Source
packages/shell/src/deployers/shell.ts:12
execute()
execute(
command
,stdin
,resolveOnError
,logLevel
):Promise
<Object
>
Parameters
• command: string
• stdin: string
= undefined
• resolveOnError: boolean
= false
• logLevel: WorkerLogLevel
= "TRACE"
Returns
Promise
<Object
>
error
error:
string
output
output:
string
status
status:
number
Inherited from
Source
packages/shell/src/deployers/deployer.ts:127
getApplication()
getApplication():
Application
Return the Webda Application
Returns
Application
Inherited from
Source
packages/shell/src/deployers/deployer.ts:70
loadDefaults()
loadDefaults():
Promise
<void
>
Load default resources
Returns
Promise
<void
>
Inherited from
Source
packages/shell/src/deployers/deployer.ts:84
replaceResourcesVariables()
replaceResourcesVariables():
void
Replace the resources variables
this.resources = this.replaceVariables(this.resources);
Returns
void
Inherited from
Deployer
.replaceResourcesVariables
Source
packages/shell/src/deployers/deployer.ts:118
replaceVariables()
replaceVariables(
obj
):any
Replace variables in resources
Parameters
• obj: any
to replace variables from
Returns
any
Inherited from
Source
packages/shell/src/deployers/deployer.ts:98
setName()
setName(
name
):void
Set the deployer name
Parameters
• name: string
Returns
void
Inherited from
Source
packages/shell/src/deployers/deployer.ts:55
setType()
setType(
type
):void
Set the deployer name
Parameters
• type: string
Returns
void
Inherited from
Source
packages/shell/src/deployers/deployer.ts:63
getSchema()
static
getSchema():JSONSchema6
Allow to specify the JSONSchema to configure this service
Return undefined by default to fallback on the guess from ServiceParamaters
Using this method should only be exception
Returns
JSONSchema6
Inherited from
Source
packages/core/lib/utils/abstractdeployer.d.ts:15