Documentation ¶
Index ¶
- func AssertConfigCompatibleWithRuntime(conf *viper.Viper) error
- func GetConfigurationFileBytes(chainId, moniker, seeds string, chainImageName string, useDataContainer bool, ...) ([]byte, error)
- func GetExampleConfigFileBytes() ([]byte, error)
- func ReadViperConfig(configBytes []byte) (*viper.Viper, error)
- func ViperSubConfig(conf *viper.Viper, configSubtreePath string) (subConfig *viper.Viper, err error)
- type ConfigChainGeneral
- type ConfigChainModule
- type ConfigServiceGeneral
- type ConfigTendermint
- type ModuleConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssertConfigCompatibleWithRuntime ¶ added in v0.17.0
func GetConfigurationFileBytes ¶ added in v0.16.0
func GetConfigurationFileBytes(chainId, moniker, seeds string, chainImageName string, useDataContainer bool, exportedPortsString, containerEntrypoint string) ([]byte, error)
NOTE: [ben] for 0.12.0-rc3 we only have a single configuration path with Tendermint in-process as the consensus engine and BurrowMint in-process as the application manager, so we hard-code the few parameters that are already templated. Let's learn to walk before we can run.
func GetExampleConfigFileBytes ¶ added in v0.16.0
func ReadViperConfig ¶ added in v0.17.0
Read in TOML Viper config from bytes
Types ¶
type ConfigChainGeneral ¶ added in v0.16.0
type ConfigChainGeneral struct { AssertChainId string BurrowMajorVersion uint8 BurrowMinorVersion uint8 GenesisRelativePath string }
TODO: [ben] increase the configurability upon need
type ConfigChainModule ¶ added in v0.16.0
type ConfigServiceGeneral ¶ added in v0.16.0
type ConfigTendermint ¶ added in v0.16.0
Click to show internal directories.
Click to hide internal directories.