Documentation ¶
Index ¶
- Constants
- Variables
- func GetArchiveFallback(network string) interface{}
- func GetP2PTable(network string) interface{}
- func GetSuiClientClusterDef(cfg SuiConfigOpts) zeus_cluster_config_drivers.ClusterDefinition
- func GetSuiClientNetworkConfigBase(cfg SuiConfigOpts) zeus_cluster_config_drivers.ComponentBaseDefinition
- func GetSuiConfig(cfg SuiConfigOpts) map[string]zeus_cluster_config_drivers.ComponentBaseDefinition
- func OverrideNodeConfigDataDir(dataDir string, cfg SuiConfigOpts) string
- type SuiConfigOpts
Constants ¶
View Source
const ( Sui = "sui" Full = "full" Validator = "validator" SuiIngress = "suiIngress" SuiServiceMonitor = "suiServiceMonitor" )
View Source
const ( SuiRpcPortName = "http-rpc" DownloadMainnet = "downloadMainnetNode" )
Variables ¶
View Source
var ( SuiMasterChartPath = filepaths.Path{ PackageName: "", DirIn: "./sui/node/infra", DirOut: "./sui/output", FnIn: Sui, FnOut: "", Env: "", } SuiIngressChartPath = filepaths.Path{ PackageName: "", DirIn: "./sui/node/ingress", DirOut: "./sui/output", FnIn: SuiIngress, FnOut: "", Env: "", } SuiServiceMonitorChartPath = filepaths.Path{ PackageName: "", DirIn: "./sui/node/servicemonitor", DirOut: "./sui/output", FnIn: SuiServiceMonitor, Env: "", } RootPath = "." )
Functions ¶
func GetArchiveFallback ¶
func GetArchiveFallback(network string) interface{}
func GetP2PTable ¶
func GetP2PTable(network string) interface{}
func GetSuiClientClusterDef ¶
func GetSuiClientClusterDef(cfg SuiConfigOpts) zeus_cluster_config_drivers.ClusterDefinition
func GetSuiClientNetworkConfigBase ¶
func GetSuiClientNetworkConfigBase(cfg SuiConfigOpts) zeus_cluster_config_drivers.ComponentBaseDefinition
func GetSuiConfig ¶
func GetSuiConfig(cfg SuiConfigOpts) map[string]zeus_cluster_config_drivers.ComponentBaseDefinition
func OverrideNodeConfigDataDir ¶
func OverrideNodeConfigDataDir(dataDir string, cfg SuiConfigOpts) string
Types ¶
type SuiConfigOpts ¶
type SuiConfigOpts struct { DownloadSnapshot bool `json:"downloadSnapshot"` Network string `json:"network"` CloudProvider string `json:"cloudProvider"` WithLocalNvme bool `json:"withLocalNvme"` WithIngress bool `json:"withIngress"` WithServiceMonitor bool `json:"withServiceMonitor"` WithArchivalFallback bool `json:"withArchivalFallback"` WithHercules bool `json:"withHercules"` }
Click to show internal directories.
Click to hide internal directories.