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

NameType
componentsDeploymentComponents
depsObject
deps.loggerLogger
deps.yagnaYagnaApi
deps.marketMarketModule
deps.activityActivityModule
deps.paymentPaymentModule
deps.networkNetworkModule
deps.rentalRentalModule

Returns

Deployment

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

DeploymentState

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

NameType
namestring

Returns

ResourceRentalPool

Defined in

src/experimental/deployment/deployment.ts:230


getNetwork

getNetwork(name): Network

Parameters

NameType
namestring

Returns

Network

Defined in

src/experimental/deployment/deployment.ts:238

Was this helpful?