Interface TesterCloud
-
- All Known Implementing Classes:
MockTesterCloud
public interface TesterCloudAllows running some predefined tests -- typically remotely.- Author:
- jonmv
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classTesterCloud.Statusstatic classTesterCloud.Suite
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<LogEntry>getLog(DeploymentId deploymentId, long after)Returns the log entries from the tester with ids after the given threshold.TesterCloud.StatusgetStatus(DeploymentId deploymentId)Returns the current status of the tester.booleanready(java.net.URI endpointUrl)Returns whether the container is ready to serve.java.util.Optional<com.yahoo.config.provision.HostName>resolveCname(com.yahoo.config.provision.HostName hostName)Returns the host name of the given CNAME, if any.java.util.Optional<java.lang.String>resolveHostName(com.yahoo.config.provision.HostName hostname)Returns the IP address of the given host name, if any.voidstartTests(DeploymentId deploymentId, TesterCloud.Suite suite, byte[] config)Signals the tester to run its tests.booleantesterReady(DeploymentId deploymentId)Returns whether the test container is ready to serve
-
-
-
Method Detail
-
startTests
void startTests(DeploymentId deploymentId, TesterCloud.Suite suite, byte[] config)
Signals the tester to run its tests.
-
getLog
java.util.List<LogEntry> getLog(DeploymentId deploymentId, long after)
Returns the log entries from the tester with ids after the given threshold.
-
getStatus
TesterCloud.Status getStatus(DeploymentId deploymentId)
Returns the current status of the tester.
-
ready
boolean ready(java.net.URI endpointUrl)
Returns whether the container is ready to serve.
-
testerReady
boolean testerReady(DeploymentId deploymentId)
Returns whether the test container is ready to serve
-
resolveHostName
java.util.Optional<java.lang.String> resolveHostName(com.yahoo.config.provision.HostName hostname)
Returns the IP address of the given host name, if any.
-
resolveCname
java.util.Optional<com.yahoo.config.provision.HostName> resolveCname(com.yahoo.config.provision.HostName hostName)
Returns the host name of the given CNAME, if any.
-
-