JS API Reference
Class: Deployment
experimental/deployment/deployment.Deployment
This feature is experimental!!!
Table of contents
Constructors
Properties
Methods
Constructors
constructor
• new Deployment(components
, deps
): Deployment
Parameters
Name | Type |
---|---|
components | DeploymentComponents |
deps | Object |
deps.logger | Logger |
deps.yagna | YagnaApi |
deps.market | MarketModule |
deps.activity | ActivityModule |
deps.payment | PaymentModule |
deps.network | NetworkModule |
deps.rental | RentalModule |
Returns
Defined in
src/experimental/deployment/deployment.ts:82
Properties
events
• Readonly
events: EventEmitter
<DeploymentEvents
, any
>
Defined in
src/experimental/deployment/deployment.ts:54
Methods
getState
▸ getState(): DeploymentState
Returns
Defined in
src/experimental/deployment/deployment.ts:111
start
▸ start(): Promise
<void
>
Returns
Promise
<void
>
Defined in
src/experimental/deployment/deployment.ts:115
stop
▸ stop(): Promise
<void
>
Returns
Promise
<void
>
Defined in
src/experimental/deployment/deployment.ts:199
getResourceRentalPool
▸ getResourceRentalPool(name
): ResourceRentalPool
Parameters
Name | Type |
---|---|
name | string |
Returns
Defined in
src/experimental/deployment/deployment.ts:230
getNetwork
▸ getNetwork(name
): Network
Parameters
Name | Type |
---|---|
name | string |