Preparing search index...
The search index is not available
@hashgraph/solo
@hashgraph/solo
src/core/config/local_config
LocalConfig
Class LocalConfig
Implements
LocalConfigData
Index
Constructors
constructor
Properties
cluster
Context
Mapping
current
Deployment
Name
deployments
user
Email
Address
Methods
config
File
Exists
get
Current
Deployment
prompt
Local
Config
Task
set
Cluster
Context
Mapping
set
Current
Deployment
set
Deployments
set
User
Email
Address
write
Constructors
constructor
new
LocalConfig
(
filePath
?:
string
,
logger
?:
SoloLogger
,
configManager
?:
ConfigManager
,
)
:
LocalConfig
Parameters
Optional
filePath
:
string
Optional
logger
:
SoloLogger
Optional
configManager
:
ConfigManager
Returns
LocalConfig
Properties
cluster
Context
Mapping
clusterContextMapping
:
ClusterContextMapping
= {}
current
Deployment
Name
currentDeploymentName
:
string
deployments
deployments
:
Deployments
user
Email
Address
userEmailAddress
:
`
${
string
}
@
${
string
}
.
${
string
}
`
Methods
config
File
Exists
configFileExists
()
:
boolean
Returns
boolean
get
Current
Deployment
getCurrentDeployment
()
:
DeploymentStructure
Returns
DeploymentStructure
prompt
Local
Config
Task
promptLocalConfigTask
(
k8
:
K8
)
:
SoloListrTask
Parameters
k8
:
K8
Returns
SoloListrTask
set
Cluster
Context
Mapping
setClusterContextMapping
(
clusterContextMapping
:
ClusterContextMapping
)
:
this
Parameters
clusterContextMapping
:
ClusterContextMapping
Returns
this
set
Current
Deployment
setCurrentDeployment
(
deploymentName
:
string
)
:
this
Parameters
deploymentName
:
string
Returns
this
set
Deployments
setDeployments
(
deployments
:
Deployments
)
:
this
Parameters
deployments
:
Deployments
Returns
this
set
User
Email
Address
setUserEmailAddress
(
emailAddress
:
`
${
string
}
@
${
string
}
.
${
string
}
`
)
:
this
Parameters
emailAddress
:
`
${
string
}
@
${
string
}
.
${
string
}
`
Returns
this
write
write
()
:
Promise
<
void
>
Returns
Promise
<
void
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
cluster
Context
Mapping
current
Deployment
Name
deployments
user
Email
Address
Methods
config
File
Exists
get
Current
Deployment
prompt
Local
Config
Task
set
Cluster
Context
Mapping
set
Current
Deployment
set
Deployments
set
User
Email
Address
write
@hashgraph/solo
Loading...