cs-codex-dist-tests/ProjectPlugins/GethPlugin/GethDeployment.cs

26 lines
740 B
C#
Raw Normal View History

2023-09-21 08:56:48 +00:00
using Core;
using KubernetesWorkflow;
2023-09-15 10:36:35 +00:00
2023-09-19 09:51:59 +00:00
namespace GethPlugin
{
2023-09-21 08:56:48 +00:00
public class GethDeployment : IHasContainer
2023-09-19 09:51:59 +00:00
{
2023-10-23 11:36:20 +00:00
public GethDeployment(RunningContainer container, Port discoveryPort, Port httpPort, Port wsPort, GethAccount account, string pubKey)
2023-09-19 09:51:59 +00:00
{
2023-09-21 12:39:41 +00:00
Container = container;
2023-09-19 09:51:59 +00:00
DiscoveryPort = discoveryPort;
HttpPort = httpPort;
WsPort = wsPort;
2023-10-23 11:36:20 +00:00
Account = account;
2023-09-19 09:51:59 +00:00
PubKey = pubKey;
}
2023-09-21 08:56:48 +00:00
public RunningContainer Container { get; }
2023-09-19 09:51:59 +00:00
public Port DiscoveryPort { get; }
public Port HttpPort { get; }
public Port WsPort { get; }
2023-10-23 11:36:20 +00:00
public GethAccount Account { get; }
2023-09-19 09:51:59 +00:00
public string PubKey { get; }
}
}