| Modifier and Type | Field and Description |
|---|---|
protected io.fabric8.maven.docker.util.Logger |
log |
| Constructor and Description |
|---|
BaseEnricher(EnricherContext buildContext) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
asBoolean(String value) |
protected int |
asInt(String value) |
void |
enrich(io.fabric8.kubernetes.api.model.KubernetesListBuilder builder)
Final customization of the overall resource
descriptor
|
Map<String,String> |
getAnnotations(Kind kind)
Return annotations to add
|
protected EnricherContext |
getBuildContext() |
protected String |
getConfig(EnricherConfiguration.ConfigKey key) |
protected String |
getConfig(EnricherConfiguration.ConfigKey key,
String defaultVal) |
protected List<io.fabric8.maven.docker.config.ImageConfiguration> |
getImages() |
Map<String,String> |
getLabels(Kind kind)
Get labels to add too objects
|
protected org.apache.maven.project.MavenProject |
getProject() |
Map<String,String> |
getSelector(Kind kind)
Get the selector for a service or replica set / replication controller
|
public BaseEnricher(EnricherContext buildContext)
protected org.apache.maven.project.MavenProject getProject()
protected List<io.fabric8.maven.docker.config.ImageConfiguration> getImages()
protected String getConfig(EnricherConfiguration.ConfigKey key)
protected String getConfig(EnricherConfiguration.ConfigKey key, String defaultVal)
protected int asInt(String value)
protected boolean asBoolean(String value)
protected EnricherContext getBuildContext()
public Map<String,String> getLabels(Kind kind)
Enricherpublic Map<String,String> getAnnotations(Kind kind)
EnrichergetAnnotations in interface Enricherkind - the kind of object to addpublic void enrich(io.fabric8.kubernetes.api.model.KubernetesListBuilder builder)
EnricherCopyright © 2016. All rights reserved.