Struct mx_tester::Config [−][src]
pub struct Config {
pub name: String,
pub modules: Vec<ModuleConfig>,
pub homeserver_config: HomeserverConfig,
pub up: Option<Script>,
pub run: Option<Script>,
pub down: Option<DownScript>,
pub docker_config: DockerConfig,
pub users: Vec<User>,
}Expand description
The contents of a mx-tester.yaml
Fields
name: StringA name for this test.
modules: Vec<ModuleConfig>Modules to install in Synapse.
homeserver_config: HomeserverConfigValues to pass through into the homeserver.yaml for this synapse.
up: Option<Script>A script to run at the end of the setup phase.
run: Option<Script>The testing script to run.
down: Option<DownScript>A script to run at the start of the teardown phase.
docker_config: DockerConfigConfiguration for the docker network.
users: Vec<User>Any users to register and make available
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more