Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • TwinDeploymentHandler

Index

Constructors

Properties

deploymentFactory: DeploymentFactory
nodes: Nodes
original_deployments: any[] = []
rmb: RMB
tfclient: TFClient

Methods

  • PrepareExtrinsic(twinDeployment: TwinDeployment, contracts: any): Promise<{ deletedExtrinsics: ExtrinsicResult<number>[]; nameExtrinsics: ExtrinsicResult<Contract>[]; nodeExtrinsics: ExtrinsicResult<Contract>[] }>
  • checkWorkload(workload: Workload, targetWorkload: Workload, nodeId: number): boolean
  • createNameContract(name: string): Promise<ExtrinsicResult<Contract>>
  • deleteNameContract(name: string): Promise<ExtrinsicResult<number>>
  • getDeployment(contract_id: number): Promise<any>
  • getDeploymentFromFactory(contract_id: number): Promise<Deployment>
  • handle(twinDeployments: TwinDeployment[]): Promise<{ created: any[]; deleted: any[]; updated: any[] }>
  • rollback(contracts: any): Promise<void>
  • waitForDeployment(twinDeployment: TwinDeployment, timeout?: number): Promise<void>
  • waitForDeployments(twinDeployments: TwinDeployment[], timeout?: number): Promise<void[]>

Generated using TypeDoc