public class MetadataEnricher extends BaseEnricher implements Enricher
Modifier and Type | Class and Description |
---|---|
static class |
MetadataEnricher.Type |
log
Constructor and Description |
---|
MetadataEnricher(EnricherContext context,
MetadataEnricher.Type type,
MetaDataConfig config) |
Modifier and Type | Method and Description |
---|---|
void |
adapt(io.fabric8.kubernetes.api.model.KubernetesListBuilder builder) |
Map<String,String> |
getAnnotations(Kind kind) |
Map<String,String> |
getLabels(Kind kind) |
addMissingResources, getConfig, getConfig, getContext, getImages, getLog, getName, getProject, getSelector, hasImageConfiguration, isOpenShiftMode
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addMissingResources, getSelector
public MetadataEnricher(EnricherContext context, MetadataEnricher.Type type, MetaDataConfig config)
public Map<String,String> getLabels(Kind kind)
getLabels
in interface Enricher
getLabels
in class BaseEnricher
public Map<String,String> getAnnotations(Kind kind)
getAnnotations
in interface Enricher
getAnnotations
in class BaseEnricher
public void adapt(io.fabric8.kubernetes.api.model.KubernetesListBuilder builder)
adapt
in interface Enricher
adapt
in class BaseEnricher
Copyright © 2018. All rights reserved.