public class KubernetesTaskLauncher extends AbstractKubernetesDeployer implements org.springframework.cloud.deployer.spi.task.TaskLauncher
logger, SPRING_APP_KEY, SPRING_DEPLOYMENT_KEY, SPRING_GROUP_KEY, SPRING_MARKER_KEY, SPRING_MARKER_VALUE
Constructor and Description |
---|
KubernetesTaskLauncher(KubernetesDeployerProperties properties,
io.fabric8.kubernetes.client.KubernetesClient client) |
KubernetesTaskLauncher(KubernetesDeployerProperties properties,
io.fabric8.kubernetes.client.KubernetesClient client,
ContainerFactory containerFactory) |
Modifier and Type | Method and Description |
---|---|
void |
cancel(String id) |
void |
delete(String id) |
String |
launch(org.springframework.cloud.deployer.spi.core.AppDeploymentRequest request) |
org.springframework.cloud.deployer.spi.task.TaskStatus |
status(String id) |
@Autowired public KubernetesTaskLauncher(KubernetesDeployerProperties properties, io.fabric8.kubernetes.client.KubernetesClient client)
@Autowired public KubernetesTaskLauncher(KubernetesDeployerProperties properties, io.fabric8.kubernetes.client.KubernetesClient client, ContainerFactory containerFactory)
public String launch(org.springframework.cloud.deployer.spi.core.AppDeploymentRequest request)
launch
in interface org.springframework.cloud.deployer.spi.task.TaskLauncher
public void cancel(String id)
cancel
in interface org.springframework.cloud.deployer.spi.task.TaskLauncher
public void delete(String id)
public org.springframework.cloud.deployer.spi.task.TaskStatus status(String id)
status
in interface org.springframework.cloud.deployer.spi.task.TaskLauncher
Copyright © 2016 Pivotal Software, Inc.. All rights reserved.