| Package | Description |
|---|---|
| org.springframework.cloud.deployer.spi.kubernetes |
| Modifier and Type | Method and Description |
|---|---|
RestartPolicy |
KubernetesDeployerProperties.getRestartPolicy()
Obtains the
RestartPolicy to use. |
RestartPolicy |
KubernetesSchedulerProperties.getRestartPolicy()
Deprecated.
Obtains the
RestartPolicy to use. |
RestartPolicy |
KubernetesTaskLauncherProperties.getRestartPolicy()
Obtains the
RestartPolicy to use. |
protected RestartPolicy |
KubernetesTaskLauncher.getRestartPolicy(org.springframework.cloud.deployer.spi.core.AppDeploymentRequest request)
Get the RestartPolicy setting for the deployment request.
|
static RestartPolicy |
RestartPolicy.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RestartPolicy[] |
RestartPolicy.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
void |
KubernetesDeployerProperties.setRestartPolicy(RestartPolicy restartPolicy)
Sets the
RestartPolicy to use. |
void |
KubernetesSchedulerProperties.setRestartPolicy(RestartPolicy restartPolicy)
Deprecated.
Sets the
RestartPolicy to use. |
void |
KubernetesTaskLauncherProperties.setRestartPolicy(RestartPolicy restartPolicy)
Sets the
RestartPolicy to use. |
Copyright © 2023 Pivotal Software, Inc.. All rights reserved.