Package io.etcd.jetcd.launcher
Class EtcdClusterImpl
java.lang.Object
io.etcd.jetcd.launcher.EtcdClusterImpl
- All Implemented Interfaces:
EtcdCluster,AutoCloseable,org.testcontainers.lifecycle.Startable
-
Constructor Summary
ConstructorsConstructorDescriptionEtcdClusterImpl(String image, String clusterName, String prefix, int nodes, boolean ssl, boolean debug, Collection<String> additionalArgs, org.testcontainers.containers.Network network, boolean shouldMountDataDirectory) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.etcd.jetcd.launcher.EtcdCluster
restartMethods inherited from interface org.testcontainers.lifecycle.Startable
getDependencies
-
Constructor Details
-
EtcdClusterImpl
public EtcdClusterImpl(String image, String clusterName, String prefix, int nodes, boolean ssl, boolean debug, Collection<String> additionalArgs, org.testcontainers.containers.Network network, boolean shouldMountDataDirectory)
-
-
Method Details
-
start
public void start()- Specified by:
startin interfaceorg.testcontainers.lifecycle.Startable
-
stop
public void stop()- Specified by:
stopin interfaceorg.testcontainers.lifecycle.Startable
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceorg.testcontainers.lifecycle.Startable
-
clusterName
- Specified by:
clusterNamein interfaceEtcdCluster
-
clientEndpoints
- Specified by:
clientEndpointsin interfaceEtcdCluster
-
peerEndpoints
- Specified by:
peerEndpointsin interfaceEtcdCluster
-
containers
- Specified by:
containersin interfaceEtcdCluster
-