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

    • podRef: PodRef

      pod reference

    • srcFiles: string[]

      list of source files

    • destDir: string

      destination directory

    • Optionalcontainer: ContainerName = constants.ROOT_CONTAINER

      name of the container

    • Optionalcontext: string

    Returns Promise<string[]>

    a list of paths 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[]