Constructors

Methods

  • Parameters

    • dep: string
    • osPlatform: string = ...
    • installationDir: string = ...

    Returns string

  • Parameters

    • nodeAlias: `node${number}`

    Returns number

  • Parameters

    • unparsed: string

    Returns Record<`node${number}`, string>

  • renders the label object to be used to store the new account key in the Kubernetes secret

    Parameters

    • accountId: string | AccountId

    Returns { "solo.hedera.com/account-id": string }

    the label object to be used to store the new account key in the Kubernetes secret

  • renders the label selector to be used to fetch the new account key from the Kubernetes secret

    Parameters

    • accountId: string | AccountId

    Returns string

    the label selector of the Kubernetes secret to retrieve the account key

  • renders the name to be used to store the new account key as a Kubernetes secret

    Parameters

    • accountId: string | AccountId

    Returns string

    the name of the Kubernetes secret to store the account key

  • Renders the fully qualified domain name for a consensus node. We support the following variables for templating in the dnsConsensusNodePattern: ${nodeAlias}, ${nodeId}, ${namespace}, ${cluster}

    The end result will be ${dnsConsensusNodePattern}.${dnsBaseDomain}. For example, if the dnsConsensusNodePattern is network-${nodeAlias}-svc.${namespace}.svc and the dnsBaseDomain is cluster.local, the fully qualified domain name will be network-${nodeAlias}-svc.${namespace}.svc.cluster.local.

    Parameters

    • nodeAlias: string

      the alias of the consensus node

    • nodeId: number

      the id of the consensus node

    • namespace: string

      the namespace of the consensus node

    • cluster: string

      the cluster of the consensus node

    • dnsBaseDomain: string

      the base domain of the cluster

    • dnsConsensusNodePattern: string

      the pattern to use for the consensus node

    Returns string

  • Parameters

    • nodeAlias: `node${number}`
    • state: string = 'TX'
    • locality: string = 'Richardson'
    • org: string = 'Hedera'
    • orgUnit: string = 'Hedera'
    • country: string = 'US'

    Returns Name

  • Parameters

    • nodeAlias: `node${number}`

    Returns string

  • Parameters

    • nodeAlias: `node${number}`

    Returns { "solo.hedera.com/node-name": string }

  • Parameters

    • nodeAlias: `node${number}`

    Returns string

  • Parameters

    • nodeAlias: `node${number}`

    Returns string

  • Parameters

    • nodeAlias: `node${number}`

    Returns string

  • Creates the secret labels based on the node alias type

    Parameters

    • nodeAlias: `node${number}`

      node alias

    • type: GrpcProxyTlsEnums

      whether is for gRPC or gRPC Web ( Haproxy or Envoy )

    Returns
        | {
            "envoy-proxy-secret"?: undefined;
            "haproxy-proxy-secret": `node${number}`;
        }
        | {
            "envoy-proxy-secret": `node${number}`;
            "haproxy-proxy-secret"?: undefined;
        }

    the appropriate secret labels

  • Creates the secret name based on the node alias type

    Parameters

    • nodeAlias: `node${number}`

      node alias

    • type: GrpcProxyTlsEnums

      whether is for gRPC or gRPC Web ( Haproxy or Envoy )

    Returns string

    the appropriate secret name

  • Parameters

    • nodeAlias: `node${number}`

    Returns string

  • Parameters

    • nodeAlias: `node${number}`

    Returns string

  • Parameters

    • nodeAlias: `node${number}`

    Returns string

  • Parameters

    • prefix: string
    • nodeAlias: `node${number}`
    • suffix: string = ''

    Returns string

  • Parameters

    • cacheDir: string
    • releaseTagOverride: string

    Returns string

  • Parameters

    • nodeAlias: `node${number}`

    Returns string

  • Parameters

    • nodeAlias: `node${number}`

    Returns string