Hierarchy (View Summary)

Constructors

Properties

_configMaps: Map<string, any> = ...
chartManager: ChartManager
configManager: ConfigManager
depManager: DependencyManager
helm: Helm
k8Factory: K8Factory
leaseManager: LeaseManager
localConfig: LocalConfig
logger?: SoloLogger
remoteConfigManager: RemoteConfigManager

Accessors

Methods

  • Adds the relay component to remote config.

    Returns ListrTask<any, any, any>

  • Dynamically builds a class with properties from the provided list of flags and extra properties, will keep track of which properties are used. Call getUnusedConfigs() to get an array of unused properties.

    Parameters

    • configName: string
    • flags: CommandFlag[]
    • extraProperties: string[] = []

    Returns object

  • Gets a list of distinct contexts from the consensus nodes

    Returns string[]

    an array of context strings

    use one inside remote config

  • Get the list of unused configurations that were not accessed

    Parameters

    • configName: string

    Returns string[]

    an array of unused configurations

  • Parameters

    • chartDir: string
    • chartRepo: string
    • chartReleaseName: string

    Returns Promise<string>

  • created a json string to represent the map between the node keys and their ids output example '{"node-1": "0.0.3", "node-2": "0.004"}'

    Parameters

    Returns Promise<string>

  • Parameters

    • valuesFile: string
    • nodeAliases: NodeAliases
    • chainID: string
    • relayRelease: string
    • replicaCount: number
    • operatorID: string
    • operatorKey: string
    • namespace: NamespaceName
    • Optionalcontext: string

    Returns Promise<string>

  • Remove the relay component from remote config.

    Returns ListrTask<any, any, any>

  • 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

    • clusterRefs: ClusterRefs

      the map of cluster references

    • OptionalchartDirectory: string

      the chart directory

    • OptionalprofileValuesFile: string

      the profile values file

    • OptionalvaluesFileInput: string

      the values file input string

    Returns Record<string, string>