PlatformInstaller install platform code in the root-container of a network pod

Constructors

Methods

  • Copy a list of files to a directory in the container

    Parameters

    • podName: `network-node${number}-0`
    • srcFiles: string[]

      list of source files

    • destDir: string

      destination directory

    • Optionalcontainer: string = constants.ROOT_CONTAINER

      name of the container

    Returns Promise<string[]>

    a list of pathso of the copied files insider the container

  • Return a list of task to copy the node keys to the staging directory

    It assumes the staging directory has the following files and resources:

  • ${staging}/keys/s-public-.pem: private signing key for a node
  • ${staging}/keys/s-private-.pem: public signing key for a node
  • ${staging}/keys/a-public-.pem: private agreement key for a node
  • ${staging}/keys/a-private-.pem: public agreement key for a node
  • ${staging}/keys/hedera-.key: gRPC TLS key for a node
  • ${staging}/keys/hedera-.crt: gRPC TLS cert for a node

Parameters

Returns any[]