Documentation ¶
Index ¶
Constants ¶
View Source
const (
TestConfigFilePathEnv = "TEST_CONFIG_PATH"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Chain ¶
type Chain struct { Name string `mapstructure:"name"` Environment string `mapstructure:"environment"` ChainConfig chains.ChainConfig `mapstructure:"chain_config"` URL string `mapstructure:"url"` NID string `mapstructure:"nid"` KeystoreFile string `mapstructure:"keystore_file"` KeystorePassword string `mapstructure:"keystore_password"` Contracts map[string]string `mapstructure:"contracts"` RPCUri string `mapstructure:"rpc_uri"` GRPCUri string `mapstructure:"grpc_uri"` WebsocketUrl string `mapstructure:"websocket_uri"` RelayWalletAddress string `mapstructure:"relay_wallet"` ContractsPath string `mapstructure:"contracts_path"` ConfigPath string `mapstructure:"config_path"` CertPath string `mapstructure:"cert_path"` // contains filtered or unexported fields }
type ChainOptionConfiguration ¶
type ChainOptionConfiguration func(options *ChainOptions)
ChainOptionConfiguration enables arbitrary configuration of ChainOptions.
type ChainOptions ¶
type ChainOptions struct {
ChainConfig *[]Chain
}
func DefaultChainOptions ¶
func DefaultChainOptions() (*ChainOptions, error)
DefaultChainOptions returns the default configuration for the chains. These options can be configured by passing configuration functions to E2ETestSuite.GetChains.
type DebugConfig ¶
type DebugConfig struct { // DumpLogs forces the logs to be collected before removing test containers. DumpLogs bool `yaml:"dumpLogs"` }
type TestConfig ¶
type TestConfig struct { // ChainConfigs holds configuration values related to the chains used in the tests. ChainConfigs []Chain `mapstructure:"chains"` // RelayerConfig holds configuration for the relayer to be used. RelayerConfig interchaintest.Config `mapstructure:"relayer"` }
func New ¶
func New() (*TestConfig, error)
Click to show internal directories.
Click to hide internal directories.