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 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.Optional<TestReport>getTestReport(DeploymentId deploymentId)Returns the test report as JSON if availablebooleanready(URI endpointUrl)Returns whether the container is ready to serve.Optional<com.yahoo.config.provision.HostName>resolveCname(com.yahoo.config.provision.HostName hostName)Returns the host name of the given CNAME, if any.Optional<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
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(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
Optional<String> resolveHostName(com.yahoo.config.provision.HostName hostname)
Returns the IP address of the given host name, if any.
-
resolveCname
Optional<com.yahoo.config.provision.HostName> resolveCname(com.yahoo.config.provision.HostName hostName)
Returns the host name of the given CNAME, if any.
-
getTestReport
Optional<TestReport> getTestReport(DeploymentId deploymentId)
Returns the test report as JSON if available
-
-