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: String

A name for this test.

modules: Vec<ModuleConfig>

Modules to install in Synapse.

homeserver_config: HomeserverConfig

Values 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: DockerConfig

Configuration for the docker network.

users: Vec<User>

Any users to register and make available

Trait Implementations

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Deserialize this value from the given Serde deserializer. Read more

The type returned in the event of a conversion error.

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.