public interface MasterModel
void deregisterHost(String host) throws HostNotFoundException, HostStillInUseException
com.spotify.helios.common.descriptors.HostStatus getHostStatus(String host)
Map<String,String> getHostLabels(String host)
host. Returns an empty map for hosts not found in the store.boolean isHostUp(String host)
com.spotify.helios.common.descriptors.AgentInfo getAgentInfo(String host)
void addJob(com.spotify.helios.common.descriptors.Job job) throws JobExistsException
JobExistsExceptioncom.spotify.helios.common.descriptors.Job getJob(com.spotify.helios.common.descriptors.JobId jobId)
Map<com.spotify.helios.common.descriptors.JobId,com.spotify.helios.common.descriptors.Job> getJobs()
com.spotify.helios.common.descriptors.JobStatus getJobStatus(com.spotify.helios.common.descriptors.JobId jobId)
com.spotify.helios.common.descriptors.Job removeJob(com.spotify.helios.common.descriptors.JobId jobId) throws JobDoesNotExistException, JobStillDeployedException
com.spotify.helios.common.descriptors.Job removeJob(com.spotify.helios.common.descriptors.JobId jobId, String token) throws JobDoesNotExistException, JobStillDeployedException, TokenVerificationException
void deployJob(String host, com.spotify.helios.common.descriptors.Deployment job) throws HostNotFoundException, JobAlreadyDeployedException, JobDoesNotExistException, JobPortAllocationConflictException
void deployJob(String host, com.spotify.helios.common.descriptors.Deployment job, String token) throws HostNotFoundException, JobAlreadyDeployedException, JobDoesNotExistException, JobPortAllocationConflictException, TokenVerificationException
com.spotify.helios.common.descriptors.Deployment getDeployment(String host, com.spotify.helios.common.descriptors.JobId jobId)
com.spotify.helios.common.descriptors.Deployment undeployJob(String host, com.spotify.helios.common.descriptors.JobId jobId) throws HostNotFoundException, JobNotDeployedException
com.spotify.helios.common.descriptors.Deployment undeployJob(String host, com.spotify.helios.common.descriptors.JobId jobId, String token) throws HostNotFoundException, JobNotDeployedException, TokenVerificationException
void updateDeployment(String host, com.spotify.helios.common.descriptors.Deployment deployment) throws HostNotFoundException, JobNotDeployedException
void updateDeployment(String host, com.spotify.helios.common.descriptors.Deployment deployment, String token) throws HostNotFoundException, JobNotDeployedException, TokenVerificationException
List<com.spotify.helios.common.descriptors.TaskStatusEvent> getJobHistory(com.spotify.helios.common.descriptors.JobId jobId) throws JobDoesNotExistException
JobDoesNotExistExceptionList<com.spotify.helios.common.descriptors.TaskStatusEvent> getJobHistory(com.spotify.helios.common.descriptors.JobId jobId, String host) throws JobDoesNotExistException
JobDoesNotExistExceptionvoid addDeploymentGroup(com.spotify.helios.common.descriptors.DeploymentGroup deploymentGroup) throws DeploymentGroupExistsException
DeploymentGroupExistsExceptioncom.spotify.helios.common.descriptors.DeploymentGroup getDeploymentGroup(String name) throws DeploymentGroupDoesNotExistException
Map<String,com.spotify.helios.common.descriptors.DeploymentGroup> getDeploymentGroups()
List<String> getDeploymentGroupHosts(String name) throws DeploymentGroupDoesNotExistException
void updateDeploymentGroupHosts(String groupName, List<String> hosts) throws DeploymentGroupDoesNotExistException
com.spotify.helios.common.descriptors.DeploymentGroupStatus getDeploymentGroupStatus(String name) throws DeploymentGroupDoesNotExistException
void removeDeploymentGroup(String name) throws DeploymentGroupDoesNotExistException
void rollingUpdate(com.spotify.helios.common.descriptors.DeploymentGroup deploymentGroup, com.spotify.helios.common.descriptors.JobId jobId, com.spotify.helios.common.descriptors.RolloutOptions options) throws DeploymentGroupDoesNotExistException, JobDoesNotExistException
void rollingUpdateStep()
void stopDeploymentGroup(String deploymentGroupName) throws DeploymentGroupDoesNotExistException
Copyright © 2017. All rights reserved.