Skip navigation links
A B C D E F G H I J M N P R S T U V 

A

address() - Method in interface com.spotify.helios.testing.HeliosDeployment
Returns the host and port information that the deployment is available at.
address() - Method in class com.spotify.helios.testing.HeliosSoloDeployment
 
address(String) - Method in class com.spotify.helios.testing.TemporaryJob
Returns a HostAndPort for a registered port.
addresses(String) - Method in class com.spotify.helios.testing.TemporaryJob
Returns a HostAndPort object for a registered port, for each host the job has been deployed to.
after() - Method in class com.spotify.helios.testing.HeliosDeploymentResource
 
after() - Method in class com.spotify.helios.testing.TemporaryJobs
Perform teardown.
APP_CONFIG_FILE - Static variable in class com.spotify.helios.testing.HeliosConfig
 
apply(Statement, Description) - Method in class com.spotify.helios.testing.TemporaryJobs
 

B

BASE_CONFIG_FILE - Static variable in class com.spotify.helios.testing.HeliosConfig
 
before() - Method in class com.spotify.helios.testing.HeliosDeploymentResource
Ensure that the HeliosDeployment is up.
before() - Method in class com.spotify.helios.testing.TemporaryJobs
Perform setup.
BOOT2DOCKER_SIGNATURE - Static variable in class com.spotify.helios.testing.HeliosSoloDeployment
 
build() - Method in class com.spotify.helios.testing.HeliosSoloDeployment.Builder
Configures, deploys, and returns a HeliosSoloDeployment using the as specified by this Builder.
build() - Method in class com.spotify.helios.testing.TemporaryJobs.Builder
 
builder() - Static method in class com.spotify.helios.testing.HeliosSoloDeployment
 
builder(String) - Static method in class com.spotify.helios.testing.HeliosSoloDeployment
 
builder() - Static method in class com.spotify.helios.testing.TemporaryJobs
 
builder(String) - Static method in class com.spotify.helios.testing.TemporaryJobs
 

C

checkForNewImages(boolean) - Method in class com.spotify.helios.testing.HeliosSoloDeployment.Builder
By default, the HeliosSoloDeployment.Builder.heliosSoloImage will be checked for updates before creating a container by doing a "docker pull".
client() - Method in interface com.spotify.helios.testing.HeliosDeployment
 
client() - Method in class com.spotify.helios.testing.HeliosDeploymentResource
 
client() - Method in class com.spotify.helios.testing.HeliosSoloDeployment
 
client(HeliosClient) - Method in class com.spotify.helios.testing.TemporaryJobs.Builder
 
client() - Method in class com.spotify.helios.testing.TemporaryJobs
 
close() - Method in interface com.spotify.helios.testing.HeliosDeployment
Undeploy (shut down) this Helios deployment.
close() - Method in class com.spotify.helios.testing.HeliosSoloDeployment
Undeploy (shut down) this HeliosSoloDeployment.
close() - Method in class com.spotify.helios.testing.TemporaryJobReports.ReportWriter
 
com.spotify.helios.testing - package com.spotify.helios.testing
 
com.spotify.helios.testing.descriptors - package com.spotify.helios.testing.descriptors
 
command(List<String>) - Method in class com.spotify.helios.testing.TemporaryJobBuilder
 
command(String...) - Method in class com.spotify.helios.testing.TemporaryJobBuilder
 
containerDockerHost(DockerHost) - Method in class com.spotify.helios.testing.HeliosSoloDeployment.Builder
Optionally specify a DockerHost (i.e.
create() - Static method in class com.spotify.helios.testing.TemporaryJobs
Creates a new instance of TemporaryJobs.
create(HeliosClient) - Static method in class com.spotify.helios.testing.TemporaryJobs
 
create(String) - Static method in class com.spotify.helios.testing.TemporaryJobs
 
createFromProfile(String) - Static method in class com.spotify.helios.testing.TemporaryJobs
 

D

DefaultDeployer - Class in com.spotify.helios.testing
 
DefaultDeployer(HeliosClient, List<TemporaryJob>, HostPickingStrategy, String, long) - Constructor for class com.spotify.helios.testing.DefaultDeployer
 
deploy(Job, String, Set<String>, Prober, TemporaryJobReports.ReportWriter) - Method in class com.spotify.helios.testing.DefaultDeployer
 
deploy(Job, List<String>, Set<String>, Prober, TemporaryJobReports.ReportWriter) - Method in class com.spotify.helios.testing.DefaultDeployer
 
deploy(Job, List<String>, Set<String>, Prober, TemporaryJobReports.ReportWriter) - Method in interface com.spotify.helios.testing.Deployer
 
deploy(Job, String, Set<String>, Prober, TemporaryJobReports.ReportWriter) - Method in interface com.spotify.helios.testing.Deployer
 
deploy(String...) - Method in class com.spotify.helios.testing.TemporaryJobBuilder
Deploys the job to the specified hosts.
deploy(List<String>) - Method in class com.spotify.helios.testing.TemporaryJobBuilder
Deploys the job to the specified hosts.
Deployer - Interface in com.spotify.helios.testing
 
deployer(Deployer) - Method in class com.spotify.helios.testing.TemporaryJobs.Builder
 
deployTimeoutMillis(long) - Method in class com.spotify.helios.testing.TemporaryJobs.Builder
 
deterministic(String) - Static method in class com.spotify.helios.testing.HostPickingStrategies
For any given invocation returns a random host, but running the same test with the same key should put jobs on the same hosts as they were the last time.
deterministicOneHost(String) - Static method in class com.spotify.helios.testing.HostPickingStrategies
Deterministically, choose a single host for all jobs in the test.
disablePrivateRegistrationDomain() - Method in class com.spotify.helios.testing.TemporaryJobBuilder
 
dockerClient(DockerClient) - Method in class com.spotify.helios.testing.HeliosSoloDeployment.Builder
Specify a Docker client to be used for this Helios Solo deployment.
dockerHost(DockerHost) - Method in class com.spotify.helios.testing.HeliosSoloDeployment.Builder
Optionally specify a DockerHost (i.e.
domain(String) - Method in class com.spotify.helios.testing.TemporaryJobs.Builder
 

E

endpoints(String...) - Method in class com.spotify.helios.testing.TemporaryJobs.Builder
 
endpoints(URI...) - Method in class com.spotify.helios.testing.TemporaryJobs.Builder
 
endpoints(List<URI>) - Method in class com.spotify.helios.testing.TemporaryJobs.Builder
 
endpointStrings(List<String>) - Method in class com.spotify.helios.testing.TemporaryJobs.Builder
 
env(String, Object) - Method in class com.spotify.helios.testing.HeliosSoloDeployment.Builder
Optionally specify an environment variable to be set inside the Helios solo container.
env(String, Object) - Method in class com.spotify.helios.testing.TemporaryJobBuilder
 
expires(Date) - Method in class com.spotify.helios.testing.TemporaryJobBuilder
The Helios master will undeploy and delete the job at the specified date, if it has not already been removed.

F

finish() - Method in class com.spotify.helios.testing.TemporaryJobReports.Step
 
fromEnv() - Static method in class com.spotify.helios.testing.HeliosSoloDeployment
 
fromEnv(String) - Static method in class com.spotify.helios.testing.HeliosSoloDeployment
 

G

getDuration() - Method in class com.spotify.helios.testing.descriptors.TemporaryJobEvent
 
getStep() - Method in class com.spotify.helios.testing.descriptors.TemporaryJobEvent
 
getTags() - Method in class com.spotify.helios.testing.descriptors.TemporaryJobEvent
 
getTestClassName() - Method in class com.spotify.helios.testing.descriptors.TemporaryJobEvent
 
getTestName() - Method in class com.spotify.helios.testing.descriptors.TemporaryJobEvent
 
getTimestamp() - Method in class com.spotify.helios.testing.descriptors.TemporaryJobEvent
 
getWriterForStream(OutputStream) - Method in class com.spotify.helios.testing.TemporaryJobReports
 
getWriterForTest(Description) - Method in class com.spotify.helios.testing.TemporaryJobReports
 

H

healthCheck(HealthCheck) - Method in class com.spotify.helios.testing.TemporaryJobBuilder
 
HELIOS_CONTAINER_PREFIX - Static variable in class com.spotify.helios.testing.HeliosSoloDeployment
 
HELIOS_ID_SUFFIX - Static variable in class com.spotify.helios.testing.HeliosSoloDeployment
 
HELIOS_MASTER_PORT - Static variable in class com.spotify.helios.testing.HeliosSoloDeployment
 
HELIOS_NAME_SUFFIX - Static variable in class com.spotify.helios.testing.HeliosSoloDeployment
 
HELIOS_SOLO_PROFILE - Static variable in class com.spotify.helios.testing.HeliosSoloDeployment
 
HELIOS_SOLO_PROFILES - Static variable in class com.spotify.helios.testing.HeliosSoloDeployment
 
heliosClient(HeliosClient) - Method in class com.spotify.helios.testing.HeliosSoloDeployment.Builder
Optionally specify a HeliosClient.
HeliosConfig - Class in com.spotify.helios.testing
 
HeliosConfig() - Constructor for class com.spotify.helios.testing.HeliosConfig
 
heliosContainerId() - Method in class com.spotify.helios.testing.HeliosSoloDeployment
 
HeliosDeployment - Interface in com.spotify.helios.testing
A HeliosDeployment represents a collection of Helios masters and agents upon which jobs may be run.
HeliosDeploymentException - Exception in com.spotify.helios.testing
 
HeliosDeploymentException(String) - Constructor for exception com.spotify.helios.testing.HeliosDeploymentException
 
HeliosDeploymentException(Throwable) - Constructor for exception com.spotify.helios.testing.HeliosDeploymentException
 
HeliosDeploymentException(String, Throwable) - Constructor for exception com.spotify.helios.testing.HeliosDeploymentException
 
HeliosDeploymentResource - Class in com.spotify.helios.testing
A HeliosDeploymentResource makes the supplied HeliosDeployment available to a JUnit test, and guarantees to tear it down afterward.
HeliosDeploymentResource(HeliosDeployment) - Constructor for class com.spotify.helios.testing.HeliosDeploymentResource
 
HeliosSoloDeployment - Class in com.spotify.helios.testing
A HeliosSoloDeployment represents a deployment of Helios Solo, which is to say one Helios master and one Helios agent deployed in Docker.
HeliosSoloDeployment.Builder - Class in com.spotify.helios.testing
 
heliosSoloImage(String) - Method in class com.spotify.helios.testing.HeliosSoloDeployment.Builder
Customize the image used for helios-solo.
heliosUsername(String) - Method in class com.spotify.helios.testing.HeliosSoloDeployment.Builder
Optionally specify the username to be used by the HeliosClient connected to the HeliosSoloDeployment created with this Builder.
host(String) - Method in class com.spotify.helios.testing.TemporaryJobBuilder
 
hostFilter(String) - Method in class com.spotify.helios.testing.TemporaryJobBuilder
 
hostFilter(String) - Method in class com.spotify.helios.testing.TemporaryJobs.Builder
 
HostPickingStrategies - Class in com.spotify.helios.testing
 
HostPickingStrategies() - Constructor for class com.spotify.helios.testing.HostPickingStrategies
 
HostPickingStrategy - Interface in com.spotify.helios.testing
 
hostPickingStrategy(HostPickingStrategy) - Method in class com.spotify.helios.testing.TemporaryJobs.Builder
 
hosts() - Method in class com.spotify.helios.testing.TemporaryJob
 
httpHealthCheck(String, String) - Method in class com.spotify.helios.testing.TemporaryJobBuilder
 

I

image(String) - Method in class com.spotify.helios.testing.TemporaryJobBuilder
 
imageFromBuild() - Method in class com.spotify.helios.testing.TemporaryJobBuilder
Set the TemporaryJobBuilder.image(String) field for the Docker image to use in this job from the output of docker-maven-plugin (image_info.json on classpath) or dockerfile-maven-plugin (docker/image-name on classpath)
imageFromInfoFile(Path) - Method in class com.spotify.helios.testing.TemporaryJobBuilder
 
imageFromInfoFile(String) - Method in class com.spotify.helios.testing.TemporaryJobBuilder
 
imageFromInfoFile(File) - Method in class com.spotify.helios.testing.TemporaryJobBuilder
 
isSuccess() - Method in class com.spotify.helios.testing.descriptors.TemporaryJobEvent
 

J

job() - Method in class com.spotify.helios.testing.TemporaryJob
 
job() - Method in class com.spotify.helios.testing.TemporaryJobs
 
jobDeployedMessageFormat(String) - Method in class com.spotify.helios.testing.TemporaryJobs.Builder
 
jobPrefix(String) - Method in class com.spotify.helios.testing.TemporaryJobs.Builder
 
jobPrefixFile() - Method in class com.spotify.helios.testing.TemporaryJobs
 
jobUndeployWaitSeconds(int) - Method in class com.spotify.helios.testing.HeliosSoloDeployment.Builder
Set the number of seconds Helios solo will wait for jobs to be undeployed and, as a result, their associated Docker containers to stop running before shutting itself down.
jobWithConfig(String) - Method in class com.spotify.helios.testing.TemporaryJobs
 

M

markSuccess() - Method in class com.spotify.helios.testing.TemporaryJobReports.Step
 

N

namespace(String) - Method in class com.spotify.helios.testing.HeliosSoloDeployment.Builder
Optionally specify a unique namespace for the Helios solo agent and Docker container names.

P

pickHost(List<String>) - Method in interface com.spotify.helios.testing.HostPickingStrategy
 
port(String, String) - Method in class com.spotify.helios.testing.TemporaryJob
Returns the port that a job can be reached at given the host and name of registered port.
port(String, int) - Method in class com.spotify.helios.testing.TemporaryJobBuilder
 
port(String, int, boolean) - Method in class com.spotify.helios.testing.TemporaryJobBuilder
 
port(String, int, Integer) - Method in class com.spotify.helios.testing.TemporaryJobBuilder
 
port(String, int, Integer, boolean) - Method in class com.spotify.helios.testing.TemporaryJobBuilder
 
port(String, int, String) - Method in class com.spotify.helios.testing.TemporaryJobBuilder
 
port(String, int, Integer, String) - Method in class com.spotify.helios.testing.TemporaryJobBuilder
 
prefix() - Method in class com.spotify.helios.testing.TemporaryJobs
 
prefixDirectory(String) - Method in class com.spotify.helios.testing.TemporaryJobs.Builder
 
probe(String, PortMapping) - Method in interface com.spotify.helios.testing.Prober
 
PROBE_IMAGE - Static variable in class com.spotify.helios.testing.HeliosSoloDeployment
 
Prober - Interface in com.spotify.helios.testing
 
prober(Prober) - Method in class com.spotify.helios.testing.TemporaryJobBuilder
This will override the default prober provided by TemporaryJobs to the constructor.
prober(Prober) - Method in class com.spotify.helios.testing.TemporaryJobs.Builder
 

R

random() - Static method in class com.spotify.helios.testing.HostPickingStrategies
For any given invocation returns a random host
randomOneHost() - Static method in class com.spotify.helios.testing.HostPickingStrategies
Pick a single host and use that for all jobs to be deployed in the tests used by this strategy.
readyToDeploy() - Method in class com.spotify.helios.testing.DefaultDeployer
 
readyToDeploy() - Method in interface com.spotify.helios.testing.Deployer
 
registration(ServiceEndpoint, ServicePorts) - Method in class com.spotify.helios.testing.TemporaryJobBuilder
 
registration(String, String, String...) - Method in class com.spotify.helios.testing.TemporaryJobBuilder
 
registration(Map<ServiceEndpoint, ServicePorts>) - Method in class com.spotify.helios.testing.TemporaryJobBuilder
 
registrationDomain(String) - Method in class com.spotify.helios.testing.TemporaryJobBuilder
 
removeHeliosSoloOnExit(boolean) - Method in class com.spotify.helios.testing.HeliosSoloDeployment.Builder
By default the container running helios-solo is removed when HeliosSoloDeployment.close() is called.

S

statuses() - Method in class com.spotify.helios.testing.TemporaryJob
 
step(String) - Method in class com.spotify.helios.testing.TemporaryJobReports.ReportWriter
 

T

tag(String, Object) - Method in class com.spotify.helios.testing.TemporaryJobReports.Step
 
tcpHealthCheck(String) - Method in class com.spotify.helios.testing.TemporaryJobBuilder
 
TemporaryJob - Class in com.spotify.helios.testing
 
TemporaryJobBuilder - Class in com.spotify.helios.testing
 
TemporaryJobBuilder(Deployer, String, Prober, Map<String, String>, TemporaryJobReports.ReportWriter, Job.Builder) - Constructor for class com.spotify.helios.testing.TemporaryJobBuilder
 
TemporaryJobEvent - Class in com.spotify.helios.testing.descriptors
Represents an event that will be collected for logging purposes.
TemporaryJobEvent(double, double, String, String, String, Boolean, Map<String, Object>) - Constructor for class com.spotify.helios.testing.descriptors.TemporaryJobEvent
 
TemporaryJobReports - Class in com.spotify.helios.testing
Reports a stream of TemporaryJobEvent events to a JSON file.
TemporaryJobReports.ReportWriter - Class in com.spotify.helios.testing
 
TemporaryJobReports.Step - Class in com.spotify.helios.testing
 
TemporaryJobs - Class in com.spotify.helios.testing
 
TemporaryJobs.Builder - Class in com.spotify.helios.testing
 
testReportDirectory(String) - Method in class com.spotify.helios.testing.TemporaryJobs.Builder
 
toString() - Method in class com.spotify.helios.testing.descriptors.TemporaryJobEvent
 
toString() - Method in class com.spotify.helios.testing.HeliosSoloDeployment
 

U

undeploy() - Method in class com.spotify.helios.testing.TemporaryJob
Undeploys and removes this TemporaryJob from the Helios cluster.
undeployLeftoverJobs() - Method in class com.spotify.helios.testing.HeliosSoloDeployment
Undeploy jobs left over by TemporaryJobs.
user(String) - Method in class com.spotify.helios.testing.TemporaryJobs.Builder
 

V

version(String) - Method in class com.spotify.helios.testing.TemporaryJobBuilder
 
volume(String, String) - Method in class com.spotify.helios.testing.TemporaryJobBuilder
 
A B C D E F G H I J M N P R S T U V 
Skip navigation links

Copyright © 2016. All rights reserved.