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-09-21 12:39:41 +00:00
|
|
|
|
public GethDeployment(RunningContainer container, Port discoveryPort, Port httpPort, Port wsPort, AllGethAccounts allAccounts, 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;
|
|
|
|
|
AllAccounts = allAccounts;
|
|
|
|
|
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; }
|
|
|
|
|
public AllGethAccounts AllAccounts { get; }
|
|
|
|
|
public string PubKey { get; }
|
|
|
|
|
}
|
|
|
|
|
}
|