-
-
Notifications
You must be signed in to change notification settings - Fork 309
/
Copy pathICustomConfiguration.cs
105 lines (93 loc) · 3.77 KB
/
ICustomConfiguration.cs
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
namespace DotNet.Testcontainers.Configurations
{
using System;
using System.Text.Json;
using DotNet.Testcontainers.Images;
using JetBrains.Annotations;
/// <summary>
/// A Testcontainers custom configuration.
/// </summary>
internal interface ICustomConfiguration
{
/// <summary>
/// Gets the Docker config custom configuration.
/// </summary>
/// <returns>The Docker config custom configuration.</returns>
/// <remarks>https://dotnet.testcontainers.org/custom_configuration/.</remarks>
[CanBeNull]
string GetDockerConfig();
/// <summary>
/// Gets the Docker host custom configuration.
/// </summary>
/// <returns>The Docker host custom configuration.</returns>
/// <remarks>https://dotnet.testcontainers.org/custom_configuration/.</remarks>
[CanBeNull]
Uri GetDockerHost();
/// <summary>
/// Gets the Docker host override custom configuration.
/// </summary>
/// <returns>The Docker host override custom configuration.</returns>
/// <remarks>https://dotnet.testcontainers.org/custom_configuration/.</remarks>
[CanBeNull]
string GetDockerHostOverride();
/// <summary>
/// Gets the Docker socket override custom configuration.
/// </summary>
/// <returns>The Docker socket override custom configuration.</returns>
/// <remarks>https://dotnet.testcontainers.org/custom_configuration/.</remarks>
[CanBeNull]
string GetDockerSocketOverride();
/// <summary>
/// Gets the Docker registry authentication custom configuration.
/// </summary>
/// <returns>The Docker authentication custom configuration.</returns>
/// <remarks>https://dotnet.testcontainers.org/custom_configuration/.</remarks>
[CanBeNull]
JsonDocument GetDockerAuthConfig();
/// <summary>
/// Gets the Docker certificates path custom configuration.
/// </summary>
/// <returns>The Docker certificates path custom configuration.</returns>
/// <remarks>https://dotnet.testcontainers.org/custom_configuration/.</remarks>
[CanBeNull]
string GetDockerCertPath();
/// <summary>
/// Gets the Docker TLS custom configuration.
/// </summary>
/// <returns>The Docker TLS custom configuration.</returns>
/// <remarks>https://dotnet.testcontainers.org/custom_configuration/.</remarks>
bool GetDockerTls();
/// <summary>
/// Gets the Docker TLS verify custom configuration.
/// </summary>
/// <returns>The Docker TLS verify custom configuration.</returns>
/// <remarks>https://dotnet.testcontainers.org/custom_configuration/.</remarks>
bool GetDockerTlsVerify();
/// <summary>
/// Gets the Ryuk disabled custom configuration.
/// </summary>
/// <returns>The Ryuk disabled custom configuration.</returns>
/// <remarks>https://dotnet.testcontainers.org/custom_configuration/.</remarks>
bool GetRyukDisabled();
/// <summary>
/// Gets the Ryuk container privileged custom configuration.
/// </summary>
/// <returns>The Ryuk container privileged custom configuration.</returns>
/// <remarks>https://dotnet.testcontainers.org/custom_configuration/.</remarks>
bool GetRyukContainerPrivileged();
/// <summary>
/// Gets the Ryuk container image custom configuration.
/// </summary>
/// <returns>The Ryuk container image custom configuration.</returns>
/// <remarks>https://dotnet.testcontainers.org/custom_configuration/.</remarks>
[CanBeNull]
IImage GetRyukContainerImage();
/// <summary>
/// Gets the Docker Hub image name prefix custom configuration.
/// </summary>
/// <returns>The Docker Hub image name prefix custom configuration.</returns>
/// <remarks>https://dotnet.testcontainers.org/custom_configuration/.</remarks>
[CanBeNull]
string GetHubImageNamePrefix();
}
}