public class KubernetesAppDeployer extends AbstractKubernetesDeployer implements org.springframework.cloud.deployer.spi.app.AppDeployer
logger, SPRING_APP_KEY, SPRING_DEPLOYMENT_KEY, SPRING_GROUP_KEY, SPRING_MARKER_KEY, SPRING_MARKER_VALUE
Constructor and Description |
---|
KubernetesAppDeployer(KubernetesDeployerProperties properties,
io.fabric8.kubernetes.client.KubernetesClient client) |
KubernetesAppDeployer(KubernetesDeployerProperties properties,
io.fabric8.kubernetes.client.KubernetesClient client,
ContainerFactory containerFactory) |
Modifier and Type | Method and Description |
---|---|
String |
deploy(org.springframework.cloud.deployer.spi.core.AppDeploymentRequest request) |
org.springframework.cloud.deployer.spi.app.AppStatus |
status(String appId) |
void |
undeploy(String appId) |
@Autowired public KubernetesAppDeployer(KubernetesDeployerProperties properties, io.fabric8.kubernetes.client.KubernetesClient client)
@Autowired public KubernetesAppDeployer(KubernetesDeployerProperties properties, io.fabric8.kubernetes.client.KubernetesClient client, ContainerFactory containerFactory)
public String deploy(org.springframework.cloud.deployer.spi.core.AppDeploymentRequest request)
deploy
in interface org.springframework.cloud.deployer.spi.app.AppDeployer
public void undeploy(String appId)
undeploy
in interface org.springframework.cloud.deployer.spi.app.AppDeployer
public org.springframework.cloud.deployer.spi.app.AppStatus status(String appId)
status
in interface org.springframework.cloud.deployer.spi.app.AppDeployer
Copyright © 2016 Pivotal Software, Inc.. All rights reserved.