| Modifier and Type | Field and Description |
|---|---|
protected EnricherContext |
enricherContext |
protected io.fabric8.maven.docker.util.Logger |
log |
| Constructor and Description |
|---|
BaseEnricher(EnricherContext enricherContext,
String name) |
| Modifier and Type | Method and Description |
|---|---|
void |
create(PlatformMode platformMode,
io.fabric8.kubernetes.api.model.KubernetesListBuilder builder)
Add default resources when they are missing.
|
void |
enrich(PlatformMode platformMode,
io.fabric8.kubernetes.api.model.KubernetesListBuilder builder)
Final customization of the overall resource descriptor.
|
protected String |
getConfig(Configs.Key key) |
protected String |
getConfig(Configs.Key key,
String defaultVal) |
protected Configuration |
getConfiguration() |
protected EnricherContext |
getContext() |
protected Optional<List<io.fabric8.maven.docker.config.ImageConfiguration>> |
getImages() |
protected io.fabric8.maven.docker.util.Logger |
getLog() |
String |
getName() |
protected Map<String,String> |
getRawConfig() |
protected boolean |
hasConfig(Configs.Key key) |
protected boolean |
hasImageConfiguration() |
protected boolean |
isOpenShiftMode()
Returns true if we are in OpenShift S2I binary building mode
|
protected EnricherContext enricherContext
protected io.fabric8.maven.docker.util.Logger log
public BaseEnricher(EnricherContext enricherContext, String name)
public void enrich(PlatformMode platformMode, io.fabric8.kubernetes.api.model.KubernetesListBuilder builder)
Enricherpublic void create(PlatformMode platformMode, io.fabric8.kubernetes.api.model.KubernetesListBuilder builder)
Enricherprotected io.fabric8.maven.docker.util.Logger getLog()
protected boolean hasImageConfiguration()
protected Configuration getConfiguration()
protected String getConfig(Configs.Key key)
protected boolean hasConfig(Configs.Key key)
protected String getConfig(Configs.Key key, String defaultVal)
protected EnricherContext getContext()
protected boolean isOpenShiftMode()
Copyright © 2019. All rights reserved.