@hashgraph/solo
    Preparing search index...

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    chartManager: ChartManager
    configManager: ConfigManager
    depManager: DependencyManager
    k8Factory: K8Factory
    leaseManager: LockManager
    localConfig: LocalConfig
    logger?: SoloLogger
    remoteConfigManager: RemoteConfigManager
    COMMAND_NAME: "network" = 'network'

    Methods

    • Run helm install and deploy network components

      Parameters

      • argv: any

      Returns Promise<boolean>

    • Returns { builder: (yargs: any) => any; command: string; desc: string }

    • Prepare the values argument for the helm chart for a given config

      Parameters

      • config: {
            app?: string;
            awsBucket: string;
            awsBucketPrefix: string;
            awsEndpoint: string;
            awsWriteAccessKey: string;
            awsWriteSecrets: string;
            backupBucket: string;
            chartDirectory?: string;
            consensusNodes: ConsensusNode[];
            debugNodeAlias?: `node${number}`;
            domainNamesMapping?: Record<`node${number}`, string>;
            enablePrometheusSvcMonitor?: boolean;
            envoyIpsParsed?: Record<`node${number}`, string>;
            gcsBucket: string;
            gcsBucketPrefix: string;
            gcsEndpoint: string;
            gcsWriteAccessKey: string;
            gcsWriteSecrets: string;
            haproxyIpsParsed?: Record<`node${number}`, string>;
            loadBalancerEnabled: boolean;
            persistentVolumeClaims?: string;
            releaseTag?: string;
            resolvedThrottlesFile: string;
            storageType: StorageType;
            valuesFile?: string;
        }

      Returns Record<string, string>

    • Prepare values args string for each cluster-ref

      Parameters

      • config: {
            app?: string;
            awsBucket: string;
            awsBucketPrefix: string;
            awsEndpoint: string;
            awsWriteAccessKey: string;
            awsWriteSecrets: string;
            backupBucket: string;
            chartDirectory?: string;
            clusterRefs: ClusterReferences;
            consensusNodes: ConsensusNode[];
            debugNodeAlias?: `node${number}`;
            domainNamesMapping?: Record<`node${number}`, string>;
            enablePrometheusSvcMonitor?: boolean;
            envoyIpsParsed?: Record<`node${number}`, string>;
            gcsBucket: string;
            gcsBucketPrefix: string;
            gcsEndpoint: string;
            gcsWriteAccessKey: string;
            gcsWriteSecrets: string;
            haproxyIpsParsed?: Record<`node${number}`, string>;
            loadBalancerEnabled: boolean;
            nodeAliases: string[];
            persistentVolumeClaims?: string;
            releaseTag?: string;
            resolvedThrottlesFile: string;
            storageType: StorageType;
            valuesFile?: string;
        }

      Returns Promise<Record<string, string>>

    • Returns a promise that invokes the shell command

      Parameters

      • cmd: string
      • verbose: boolean = false

      Returns Promise<string[]>

    • Prepare the values files map for each cluster

      Order of precedence:

      1. Chart's default values file (if chartDirectory is set)
      2. Profile values file
      3. User's values file

      Parameters

      • clusterReferences: ClusterReferences
      • OptionalchartDirectory: string

        the chart directory

      • OptionalprofileValuesFile: string

        the profile values file full path

      • OptionalvaluesFileInput: string

        the values file input string

      Returns Record<string, string>

    • Prepare the values files map for each cluster

      Order of precedence:

      1. Chart's default values file (if chartDirectory is set)
      2. Profile values file
      3. User's values file

      Parameters

      • clusterReferences: ClusterReferences
      • OptionalchartDirectory: string

        the chart directory

      • OptionalprofileValuesFile: Record<string, string>

        mapping of clusterRef to the profile values file full path

      • OptionalvaluesFileInput: string

        the values file input string

      Returns Record<string, string>