public class ContainerConfiguration extends Object
| Constructor and Description |
|---|
ContainerConfiguration(String appId,
org.springframework.cloud.deployer.spi.core.AppDeploymentRequest appDeploymentRequest) |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.cloud.deployer.spi.core.AppDeploymentRequest |
getAppDeploymentRequest() |
String |
getAppId() |
Integer |
getExternalPort() |
io.fabric8.kubernetes.api.model.Secret |
getProbeCredentialsSecret() |
boolean |
isHostNetwork() |
ContainerConfiguration |
withExternalPort(Integer externalPort) |
ContainerConfiguration |
withHostNetwork(boolean isHostNetwork) |
ContainerConfiguration |
withProbeCredentialsSecret(io.fabric8.kubernetes.api.model.Secret probeCredentialsSecret) |
public ContainerConfiguration(String appId, org.springframework.cloud.deployer.spi.core.AppDeploymentRequest appDeploymentRequest)
public org.springframework.cloud.deployer.spi.core.AppDeploymentRequest getAppDeploymentRequest()
public String getAppId()
public boolean isHostNetwork()
public ContainerConfiguration withHostNetwork(boolean isHostNetwork)
public ContainerConfiguration withExternalPort(Integer externalPort)
public Integer getExternalPort()
public ContainerConfiguration withProbeCredentialsSecret(io.fabric8.kubernetes.api.model.Secret probeCredentialsSecret)
public io.fabric8.kubernetes.api.model.Secret getProbeCredentialsSecret()
Copyright © 2020 Pivotal Software, Inc.. All rights reserved.