forked from testcontainers/testcontainers-dotnet
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathToxiproxyConfiguration.cs
More file actions
53 lines (48 loc) · 2.13 KB
/
Copy pathToxiproxyConfiguration.cs
File metadata and controls
53 lines (48 loc) · 2.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
namespace Testcontainers.Toxiproxy;
/// <inheritdoc cref="ContainerConfiguration" />
[PublicAPI]
public sealed class ToxiproxyConfiguration : ContainerConfiguration
{
/// <summary>
/// Initializes a new instance of the <see cref="ToxiproxyConfiguration" /> class.
/// </summary>
public ToxiproxyConfiguration()
{
}
/// <summary>
/// Initializes a new instance of the <see cref="ToxiproxyConfiguration" /> class.
/// </summary>
/// <param name="resourceConfiguration">The Docker resource configuration.</param>
public ToxiproxyConfiguration(IResourceConfiguration<CreateContainerParameters> resourceConfiguration)
: base(resourceConfiguration)
{
// Passes the configuration upwards to the base implementations to create an updated immutable copy.
}
/// <summary>
/// Initializes a new instance of the <see cref="ToxiproxyConfiguration" /> class.
/// </summary>
/// <param name="resourceConfiguration">The Docker resource configuration.</param>
public ToxiproxyConfiguration(IContainerConfiguration resourceConfiguration)
: base(resourceConfiguration)
{
// Passes the configuration upwards to the base implementations to create an updated immutable copy.
}
/// <summary>
/// Initializes a new instance of the <see cref="ToxiproxyConfiguration" /> class.
/// </summary>
/// <param name="resourceConfiguration">The Docker resource configuration.</param>
public ToxiproxyConfiguration(ToxiproxyConfiguration resourceConfiguration)
: this(new ToxiproxyConfiguration(), resourceConfiguration)
{
// Passes the configuration upwards to the base implementations to create an updated immutable copy.
}
/// <summary>
/// Initializes a new instance of the <see cref="ToxiproxyConfiguration" /> class.
/// </summary>
/// <param name="oldValue">The old Docker resource configuration.</param>
/// <param name="newValue">The new Docker resource configuration.</param>
public ToxiproxyConfiguration(ToxiproxyConfiguration oldValue, ToxiproxyConfiguration newValue)
: base(oldValue, newValue)
{
}
}