public class EtcdContainer extends Object implements AutoCloseable
| Modifier and Type | Field and Description |
|---|---|
static String |
ETCD_DOCKER_IMAGE_NAME |
| Constructor and Description |
|---|
EtcdContainer(org.testcontainers.containers.Network network,
io.etcd.jetcd.launcher.EtcdContainer.LifecycleListener listener,
boolean ssl,
String clusterName,
String endpoint,
List<String> endpoints,
String image,
List<String> additionalArgs) |
| Modifier and Type | Method and Description |
|---|---|
URI |
clientEndpoint() |
void |
close() |
URI |
peerEndpoint() |
void |
restart() |
void |
start() |
public static final String ETCD_DOCKER_IMAGE_NAME
public void start()
public void restart()
public void close()
close in interface AutoCloseablepublic URI clientEndpoint()
public URI peerEndpoint()
Copyright © 2021. All rights reserved.