public abstract class AbstractKubernetesProfileEnvironmentPostProcessor extends Object implements org.springframework.boot.env.EnvironmentPostProcessor, org.springframework.core.Ordered
Modifier and Type | Field and Description |
---|---|
static String |
KUBERNETES_PROFILE
Profile name.
|
protected static String |
NAMESPACE_PROPERTY |
Constructor and Description |
---|
AbstractKubernetesProfileEnvironmentPostProcessor() |
Modifier and Type | Method and Description |
---|---|
int |
getOrder() |
protected abstract boolean |
isInsideKubernetes(org.springframework.core.env.Environment environment) |
void |
postProcessEnvironment(org.springframework.core.env.ConfigurableEnvironment environment,
org.springframework.boot.SpringApplication application) |
protected static final String NAMESPACE_PROPERTY
public static final String KUBERNETES_PROFILE
public AbstractKubernetesProfileEnvironmentPostProcessor()
public void postProcessEnvironment(org.springframework.core.env.ConfigurableEnvironment environment, org.springframework.boot.SpringApplication application)
postProcessEnvironment
in interface org.springframework.boot.env.EnvironmentPostProcessor
protected abstract boolean isInsideKubernetes(org.springframework.core.env.Environment environment)
public int getOrder()
getOrder
in interface org.springframework.core.Ordered
Copyright © 2017–2021 Pivotal Software, Inc.. All rights reserved.